调用worklight适配器时出错

时间:2015-02-11 10:33:50

标签: ibm-mobilefirst worklight-adapters

<displayName>RSSReader</displayName>
<description>RSSReader</description>
<connectivity>
    <connectionPolicy xsi:type="http:HTTPConnectionPolicyType">
        <protocol>http</protocol>
        <domain>www.engadget.com</domain>
        <port>8080</port>
    </connectionPolicy>
    <loadConstraints maxConcurrentConnectionsPerNode="2" />
</connectivity>

<procedure name="getFeeds" />

<procedure name="getFeedsFiltered" />

  

[错误] FWLSE0099E:调用过程时发生错误   [project WorklightAdaptersProject] RSSReader / HttpRequestFWLSE0100E:   参数:[project WorklightAdaptersProject] Http请求失败:   org.apache.http.conn.HttpHostConnectException:连接到   http://www.engadget.com:8080拒绝了FWLSE0101E:引起:[项目   WorklightAdaptersProject] org.apache.http.conn.HttpHostConnectException:   与http://www.engadget.com:8080的连接被拒绝                                                                                                                  com.worklight.common.log.filters.ErrorFilter

1 个答案:

答案 0 :(得分:0)

为什么端口设置为8080
它应该是80。然后它应该工作。

即使尝试使用8080加载网站,也会失败 试试80