web-services - 如何为仅通过 Mule ESB 的 HTTPS 公开的远程 WSDL 指定 SSL 证书详细信息?

标签 web-services ssl mule

我想创建一个远程 Web 服务的代理,该服务仅通过 HTTPS 公开其 WSDL。我有证书的详细信息,在使用 SOAP UI 时我得到了肯定的响应。但是我不想为 keystore 和 trustore 设置 JVM -D 参数并且需要 Mule SOAP 服务器代理来定义它们。下面是我用于不安全访问远程服务的片段。

<flow name="remoteProxy" doc:name="remoteProxy">
    <http:inbound-endpoint address="http"
        doc:name="HTTP" />
    <cxf:proxy-service payload="envelope"
        wsdlLocation="http://remoteserver.com/service/service26?wsdl" service="ServiceName"
        namespace="http://remoteserver.com/provider/service/2012/" port="Port"
        doc:name="SOAP">
    </cxf:proxy-service>
    <https:outbound-endpoint address="http://remoteserver.com/service/service26"
        method="POST" doc:name="HTTPTo26" 
        exchange-pattern="request-response"/>
<cxf:proxy-client payload="envelope" doc:name="SOAP" />

</flow>

出于合规原因,我没有为 WSDL 和端点添加任何具体细节。在上面的 cxf:proxy-service wsdlLocation 将是 HTTPS 而不是 HTTP。

最佳答案

关于web-services - 如何为仅通过 Mule ESB 的 HTTPS 公开的远程 WSDL 指定 SSL 证书详细信息?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19304228/

相关文章:

JAVA多次读取属性文件进行属性更改

mule - 在 Mule ESB Canvas 上使用 HTTP 时出现错误

c# - ASMX Web 服务的基类 - 从基类本身调用派生方法

java - 更改Web服务中的包名称?

javascript - window.open 和 .Net Web 服务

c# - 启动 Contract First WCF 或 Web 服务的最佳方式?

java - 在 keystore 文件中查找别名

web-services - 如何获取证书信息

ssl - OpenSSL 在 LetsEncrypt-Certificate 上使用 -CAFile

java - 如何在启动 mule 时自动运行一次流程?