Try setting the following property for ESB 4.7.0 or previous versions.
<property action="set" name="enableREST" scope="axis2-client" type="BOOLEAN"
value="true"/>

Make sure to set "enableREST" to false after the Callout mediator.




On Sun, Nov 3, 2013 at 11:37 AM, Isuru Udana <isu...@wso2.com> wrote:

> Hi Nirmal,
>
> In ESB 4.8.0, you can do this by setting the messageType to
> application/xml.
> However IFAIK in previous versions that method won't work.
>
>
> On Sun, Nov 3, 2013 at 2:44 AM, Nirmal Fernando <nir...@wso2.com> wrote:
>
>> Hi All,
>>
>> $Subject. How can I avoid this?
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>
>
> --
> *Isuru Udana*
>  Senior
> * Software Engineer*
> WSO2 Inc.; http://wso2.com
> email: isu...@wso2.com cell: +94 77 3791887
> blog: http://mytecheye.blogspot.com/
> twitter: http://twitter.com/isudana
>



-- 
*Isuru Udana*
Senior
* Software Engineer*
WSO2 Inc.; http://wso2.com
email: isu...@wso2.com cell: +94 77 3791887
blog: http://mytecheye.blogspot.com/
twitter: http://twitter.com/isudana
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to