Re: [Dev] Empty Response from Server when using Payload Factory Mediator

2015-01-12 Thread Pirinthapan Mahendran
Answered in http://stackoverflow.com/questions/27790590/modifying-server-response-payload-json Thanks. Mahendran Pirinthapan Software Engineer | WSO2 Inc. Mobile +94772378732. On Tue, Jan 6, 2015 at 10:33 AM, Shiva Balachandran wrote: > Hi Maz, > > Are you sure the value of the expression in

Re: [Dev] Empty Response from Server when using Payload Factory Mediator

2015-01-05 Thread Shiva Balachandran
Hi Maz, Are you sure the value of the expression in is correct? I think it should be " expression="$.ipAddress" ". Also try initially using "ipAddress" instead of "IP Address" in the above given context. Thank you. Regards Shiva Balachandran On Tue, Jan 6, 2015 at 7:09 AM, Maz Lak

[Dev] Empty Response from Server when using Payload Factory Mediator

2015-01-05 Thread Maz Lakadia
I'm modifying a response sent by a server. To do this I've set up a test API that is meant to just send back the IP, in a format like this:{ "origin": "202.37.75.130" } My unmodified code gives me back what I want.What I wish to do as a test is to change the name of "origin" to "IP Address", ho