Hi Aman,

You can call the above proxy using SoapUI.
Use the following sample payload.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:tem="http://tempuri.org/";>
   <soapenv:Header/>
   <soapenv:Body>
      <tem:Add>
         <tem:intA>123</tem:intA>
         <tem:intB>123</tem:intB>
      </tem:Add>
   </soapenv:Body>
</soapenv:Envelope>

Thanks,
Lahiru

On Fri, Dec 21, 2018 at 10:46 AM Aman Singh <[email protected]> wrote:

> Hi Devs,
>
> I have a sample WSDL(url below) SOAP service for Calculator, which
> performs simple operations like Add, Subtract, Multiply, Divide.
>
> I want to implement and perform say ADD operation. I have  created a WSDL
> based proxy with required WSDl endpoint, service and port.
>
> Can someone please explain me how to proceed for performing ADD operation,
> I am not getting any idea what to do next.
>
> My WSDL proxy service code:-
>
> <proxy name="SOAP-wsdl" startOnLoad="true" transports="https http" xmlns="
> http://ws.apache.org/ns/synapse";>
>     <target>
>         <endpoint
> name="endpoint_urn_uuid_1FF78996948B9A0B6E14565751214774-1218279313">
>             <wsdl port="CalculatorSoap12" service="Calculator" uri="
> http://www.dneonline.com/calculator.asmx?WSDL"/>
>         </endpoint>
>         <inSequence/>
>         <outSequence>
>             <send/>
>         </outSequence>
>         <faultSequence/>
>     </target>
> </proxy>
>
> WSDL URL:- http://www.dneonline.com/calculator.asmx?WSDL
>
> Help would be appreciated.
>
> Thank you,
> Aman.
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to