Hi Indika,
Did a small test with simple JSON payload this what I have observed [2],
anyway please send us your configuration, and also please see any error in
console,if so please do post them,meantime to very just create simple proxy
and try to submit the given request and see whether its getting dispatch
successfully to BE..
<proxy name="FooProxy"
transports="https http"
startOnLoad="true"
trace="disable">
<description/>
<target>
<inSequence>
<payloadFactory media-type="json">
<format>{
"contentType":"linkedin-html",
"body":"update body"
}</format>
<args/>
</payloadFactory>
<property name="messageType" value="application/json"
scope="axis2"/>
<send>
<endpoint>
<address uri="http://localhost:8281/services/jsonService"
format="rest"/>
</endpoint>
</send>
</inSequence>
</target>
</proxy>
TCP mon..
l2]
Accept-Encoding: gzip,deflate
Content-Type: application/json
SOAPAction:
Transfer-Encoding: chunked
Host: 127.0.0.1:8281
Connection: Keep-Alive
User-Agent: Synapse-PT-HttpComponents-NIO
47
{
"contentType":"linkedin-html",
"body":"update body"
}
0
On Wed, Dec 25, 2013 at 8:29 PM, indika prasad <[email protected]> wrote:
> Hi Kasun,
>
> Actually it gives the same JSON output when uri.var is removed. Ignore the
> last post.
>
> Thanks.
>
>
>
> --
> View this message in context:
> http://wso2-oxygen-tank.10903.n7.nabble.com/JSON-string-in-request-being-reformatted-by-ESB-tp90183p90191.html
> Sent from the WSO2 Development mailing list archive at Nabble.com.
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
--
Dushan Abeyruwan | Associate Tech Lead
Integration Technologies Team
PMC Member Apache Synpase
WSO2 Inc. http://wso2.com/
Blog:http://dushansview.blogspot.com/
Mobile:(0094)713942042
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev