Proxy WSO2 EBS-WSDL代理-2个端口

Proxy WSO2 EBS-WSDL代理-2个端口,proxy,wsdl,wso2,esb,wso2esb,Proxy,Wsdl,Wso2,Esb,Wso2esb,我们希望在WSO2 ESB上创建WSDL代理。WSDL定义了2个端口,每个端口定义自己的端口 操作。 问题是,当我创建WSDL代理并指定其中一个端口时,与该端口关联的操作不会公开,而与端口2关联的操作会公开。。。看起来无论我指向哪个端口,暴露的操作都不会改变。。 我的问题是如何实现这一点,或者WSO2 ESB不支持WSDL中的多个端口 ...... <wsdl:portType name="IxxxxService"> <wsdl:operation name="xxx

我们希望在WSO2 ESB上创建WSDL代理。WSDL定义了2个端口,每个端口定义自己的端口 操作。 问题是,当我创建WSDL代理并指定其中一个端口时,与该端口关联的操作不会公开,而与端口2关联的操作会公开。。。看起来无论我指向哪个端口,暴露的操作都不会改变。。 我的问题是如何实现这一点,或者WSO2 ESB不支持WSDL中的多个端口

......
<wsdl:portType name="IxxxxService">
    <wsdl:operation name="xxxRecordEntry">
        <wsdl:input
            wsaw:Action="http://tempuri.org/IxxxService/xxxRecordEntry"
            message="tns:IxxxService_xxxRecordEntry_InputMessage" />
        <wsdl:output
            wsaw:Action="http://tempuri.org/IxxxService/xxxRecordEntryResponse"
            message="tns:IxxxService_xxxRecordEntry_OutputMessage" />
    </wsdl:operation>
    <wsdl:operation name="xxxRecord">
        <wsdl:input
            wsaw:Action="http://tempuri.org/IxxxServiceMoniker/xxxRecord"
            message="tns:IxxxServiceMoniker_xxxRecord_InputMessage" />
        <wsdl:output
            wsaw:Action="http://tempuri.org/IxxxServiceMoniker/xxxRecordResponse"
            message="tns:IxxxServiceMoniker_xxxRecord_OutputMessage" />
    </wsdl:operation>
</wsdl:portType>
<wsdl:portType name="IxxxServiceMoniker">
    <wsdl:operation name="xxxRecord">
        <wsdl:input
            wsaw:Action="http://tempuri.org/IxxxMoniker/xxxRecord"
            message="tns:IxxxServiceMoniker_xxxRecord_InputMessage" />
        <wsdl:output
            wsaw:Action="http://tempuri.org/IxxxServiceMoniker/xxxRecordResponse"
            message="tns:IxxxServiceMoniker_xxxRecord_OutputMessage" />
    </wsdl:operation>
</wsdl:portType>
<wsdl:binding name="BasicHttpBinding_IxxxService"
    type="tns:IxxxService">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="xxxRecordEntry">
        <soap:operation
            soapAction="http://tempuri.org/IxxxService/xxxRecordEntry"
            style="document" />
        <wsdl:input>
            <soap:body use="literal" />
        </wsdl:input>
        <wsdl:output>
            <soap:body use="literal" />
        </wsdl:output>
    </wsdl:operation>
</wsdl:binding>
<wsdl:binding name="BasicHttpBinding_IxxxMoniker"
    type="tns:IxxxMoniker">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="xxxRecord">
        <soap:operation
            soapAction="http://tempuri.org/IxxxMoniker/xxxRecord"
            style="document" />
        <wsdl:input>
            <soap:body use="literal" />
        </wsdl:input>
        <wsdl:output>
            <soap:body use="literal" />
        </wsdl:output>
    </wsdl:operation>
</wsdl:binding>
<wsdl:service name="xxxService">
    <wsdl:port name="BasicHttpBinding_IxxxService" binding="tns:BasicHttpBinding_IxxxService">
        <soap:address location="http://aaaaa:pppp/xxxService.xxxService.svc"/>
    </wsdl:port>
    <wsdl:port name="BasicHttpBinding_IxxxServiceMoniker" binding="tns:BasicHttpBinding_IxxxServiceMoniker">
        <soap:address location="http://aaaaa:pppp/xxxService.xxxService.svc/mo"/>
    </wsdl:port>
</wsdl:service>
。。。。。。
代理配置

<proxy xmlns="http://ws.apache.org/ns/synapse" name="testing20" transports="https,http" statistics="disable" trace="disable" startOnLoad="true">
<target>
  <outSequence>
     <send/>
  </outSequence>
  <endpoint>
     <wsdl service="xxxService" port="BasicHttpBinding_IxxxService" uri="http://xxx:ppp/xxxLoggerService.xxxService.svc?wsdl"/>
  </endpoint>
</target>
<publishWSDL uri="http://xxx:ppp/xxxLoggerService.xxxService.svc?wsdl"/>
<parameter name="useOriginalwsdl">true</parameter>
<parameter name="modifyUserWSDLPortAddress">true</parameter>
<description></description>
</proxy>

真的
真的

您的代理配置是什么?哪些操作导致了这个问题? 创建代理时,可以禁用不需要的绑定。也就是说,可以禁用soap11或soap12

eg:<parameter name="disableSOAP12">true</parameter>
eg:true

-在post中添加了代理会话。1.代理指向BasicHttpBinding_IxxxService端口,因此应该能够为相关的xxxRecordEntry操作提供服务。2.当我使用WS-Action作为xxxRecordEntry操作发送webservice请求时,ESB向我显示一个错误,即EPR无效。3.当我在此代理上使用“tryIt”时,显示的操作是xxxRecord,它实际上与我的代理未指向的第二个端口BasicHttpBindingixxServiceMonitor关联。当我在代理中切换端口时,行为是相同的,即它仍然显示xxxRecord作为可用操作