Sorry Nirmal, I forgot to mention a configuration parameter.
Put following at the callout mediator configuration.

initAxis2ClientOptions="false"


On Mon, Nov 4, 2013 at 2:01 AM, Nirmal Fernando <[email protected]> wrote:

> That didn't work Isuru. Axis2 still wraps the message with a soap envelope.
>
>
> On Sun, Nov 3, 2013 at 10:11 PM, Isuru Udana <[email protected]> wrote:
>
>> 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 <[email protected]> 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 <[email protected]> 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: [email protected] 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: [email protected] cell: +94 77 3791887
>> blog: http://mytecheye.blogspot.com/
>> twitter: http://twitter.com/isudana
>>
>
>
>
> --
>
> 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: [email protected] cell: +94 77 3791887
blog: http://mytecheye.blogspot.com/
twitter: http://twitter.com/isudana
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to