JBoss Community

how to invoke selective ws service port using jboss-esb

created by jaigates vg in JBoss ESB Development - View the full discussion

have 2 ports defined in my webservice like below...

 

<wsdl:service name="servicename1">

    <wsdl:port name="mywsWSSoap" binding="tns:mywsWSSoap">

        <soap12:address location="http://x.x.x.x:8080/ws1/myws.ws"/>

    </wsdl:port>

    <wsdl:port name="mywsWSSoap12" binding="tns:mywsWSSoap12">

        <soap:address location="http://y.y.y.y:8080/ws1/mywsWS.asmx"/>

    </wsdl:port>

</wsdl:service>

 

 

how to invoke mywsWSSoap tried few options like below, but always it point to mywsWSSoap12. i get clue that soap is preseded over soap12 but how to involke the port i desire???

 

<action name="soapui-client-action" class="org.jboss.soa.esb.actions.soap.SOAPClient">

    <property name="wsdl" value="wsdl url" />

    <property name="responseAsOgnlMap" value="true" />

    <property name="SOAPAction" value="Ping" />

    <property name="SOAPService" value="{xxxxx}servicename1" />   

    <property name="EndPointName" value="mywsWSSoap"/>

    <property name="serviceName" value="mywsWSSoap"/>

    <property name="username" value=""/>

    <property name="password" value=""/>       

</action>

Reply to this message by going to Community

Start a new discussion in JBoss ESB Development at Community