Managed to solve this problem through adding a Payload Factory mediator
with the following format:
<payloadFactory media-type="xml">
<format>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header></soapenv:Header>
<soapenv:Body>
<root>
<key1>$1</key1>
<key2>$2</key2>
</root>
</soapenv:Body>
</soapenv:Envelope>
</format>
<args>
<arg expression="get-property('uri.var.key1')" />
<arg expression="get-property('uri.var.key2')" />
</args>
</payloadFactory>
<property name="messageType" value="application/x-www-form-urlencoded"
scope="axis2" />
Thanks.
On Wed, Jan 22, 2014 at 6:39 PM, Chanaka Fernando <[email protected]> wrote:
> Hi Ramindu,
>
> Please attach your configurations with the mail.
>
> Thanks,
> Chanaka
>
>
>
>
--
Au revoir!
Ramindu Deshapriya.
Member - Sahana Software Foundation http://sahanafoundation.org
http://rdeshapriya.com
<http://www.facebook.com/rdeshapriya> <http://twitter.com/#%21/rami_desh>
<https://plus.google.com/113801459480978566130>
<http://www.linkedin.com/profile/view?id=84017607&trk=tab_pro>
<http://rdeshapriya.com> <http://lmakuthan.blogspot.com>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev