Hi Gayan,
Thanks for the help, this solved my problem.
Thanks.
Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd
On Tue, Aug 5, 2014 at 4:57 PM, Gayan Yalpathwala wrote:
> Hi Sandamal,
>
> According to the offline chat I had with you, this should already be
> solved right? Give
Hi Sandamal,
According to the offline chat I had with you, this should already be solved
right? Given solution should perfectly work for the given case.
Thanks,
On Tue, Aug 5, 2014 at 2:47 PM, Sandamal Weerasinghe
wrote:
> Hi Gayan,
>
>
> This is the body of the Soap envelope that I need copi
Hi Gayan,
This is the body of the Soap envelope that I need copied.
http://schemas.xmlsoap.org/soap/envelope/";>
http://services.samples";>
http://services.samples/xsd";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:type="ax23:GetQuoteResponse">
-2.6118882540227526
Hi Sandamal,
You can use org.apache.synapse.util.PayloadHelper class for all such
utility methods. Following is an example for your case.
PayloadHelper.setXMLPayload(envelope2,
envelope1.getBody().getFirstElement().cloneOMElement());
Hope this helps. Thanks,
On Tue, Aug 5, 2014 at 12:08 PM, Sa
Hi,
I need to copy the SOAPBody of one SOAP Envelope and replace the SOAPBody
of another using it. Does anyone know a fast mechanism to achieve this?
Thanks.
Sandamal Weerasinghe | Software Engineer | WSO2 Lanka (Pvt) Ltd
___
Dev mailing list
Dev@wso2.