我编辑了这个问题,它变得过于复杂。我禁用了Web服务的SSL要求,将其作为一个关注点去除。不能用骡呼叫网络服务
我只是试图从Mule调用本地Web服务。当我通过出站http端点(通过正确的用户名和密码)调用它时,出现以下错误。
Failed to route event via endpoint:
DefaultOutboundEndpoint{
endpointUri=http://myUsername:<password>@localhost/WebServices3/apfmlead, connector=HttpConnector
{
name=connector.http.mule.default
lifecycle=start
this=6cb6a34
numberOfConcurrentTransactedReceivers=4
createMultipleTransactedReceivers=true
connected=true
supportedProtocols=[http]
serviceOverrides=<none>
},
name='endpoint.http.localhost.80.WebServices3.apfmlead', mep=REQUEST_RESPONSE,
properties={followRedirects=true, http.method=GET},
transactionConfig=Transaction{factory=null, action=INDIFFERENT, timeout=0},
deleteUnacceptedMessages=false, initialState=started, responseTimeout=10000,
endpointEncoding=UTF-8, disableTransportTransformer=false}. Message payload is of type: GetMethod
如果我的endpointUri复制到浏览器,并与实际密码正确替换“<密码>”,服务功能。
我试图在没有运气的情况下创建并引用keystore.jks。我现在再试一次,请检查编辑我的问题。感谢您的建议。我觉得我真的很亲密。 – caltrop
如果您没有在您创建的密钥库中导入证书,它将不起作用。 – Seba