Hi devs,

I was trying to run the sample in here [1]. It works fine as mentioned, and
the client gets the response in json like this.

{"Customer":{"id":123,"name":"John"}}

Then I added a  <log level="full"/> in out sequence.

      <outSequence>
         <log level="full"/>
         <send/>
      </outSequence>

Now the response which client gets is like this.

<Customer><id>123</id><name>John</name></Customer>

but the Content-Type header is still *application/json*.

Is this a known bug or am I missing something?

[1]
https://docs.wso2.org/display/ESB460/Using+REST+with+a+Proxy+Service#UsingRESTwithaProxyService-RESTClientandRESTService

Thanks,

-- 
*Bhathiya Jayasekara*
*Software Engineer,*
*WSO2 inc., http://wso2.com <http://wso2.com>*

*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
<http://www.linkedin.com/in/bhathiyaj>*
*Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
*Blog: http://movingaheadblog.blogspot.com
<http://movingaheadblog.blogspot.com/>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to