Monday, March 16, 2015

If wso2 esb proxy service have operations more than one



If a service have more than one operations, we have to add additional entry to the proxy service,

For more information reffer this link,

<parameter name="disableOperationValidation">true</parameter>

It should be put like below,
<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
       name="xxxxxxxxx"
       transports="xxxxx"
       statistics="enable"
       trace="enable"
       startOnLoad="true">
   <target>
      <inSequence>
         <log/>
      </inSequence>
      <outSequence>
         <log/>
         <send/>
      </outSequence>
      <endpoint>
         <address uri="http://xxx.xxx.xxx.xxx:xxxx/xxxxxservice"
                  format="soap11"/>
      </endpoint>
   </target>
   <publishWSDL uri="http://xxx.xxx.xxx.xxx:xxxx/xxxxxservice?wsdl"/>
   <parameter name="disableOperationValidation">true</parameter>
   <description/>
</proxy>

No comments:

Post a Comment