Dear Team, I have installed Synapse and written first synapse config file.
1. Have rest full web service running in of the system 2. Created first Synapse config file as attached to invoke the service in step 1 3. Tested the Rest service separately and this is returning data - Rest service response when tested standalone {"id":"0cf65630-5314-11e5-94b5-8366f0ab15e2","fName":"fff","lName":"jjj"} 4. But when I am trying to invoke the service with Synapse config, I am getting only one field instead 3 fields - Synapse response {"id":"0cf65630-5314-11e5-94b5-8366f0ab15e2} And also is there any way to check what rest service is returning to Synapse and what Synapse is returning to end user. Would anybody please help me, is there any thing I am missing here. Thanks. Regards, Rao +91- 77 606 333 11 ________________________________ http://www.mindtree.com/email/disclaimer.html
<definitions xmlns="http://ws.apache.org/ns/synapse"> <api name="testserviceAPI" context="/testservices"> <resource url-template="/*" methods="GET"> <inSequence> <log level="full"> </log> <send> <endpoint> <address uri="http://localhost:8080" format="application/json"/> </endpoint> </send> </inSequence> <outSequence> <property name="messageType" value="application/json" scope="axis2" type="STRING"/> <log level="full"> <property name="################ RESPONSE###################" expression="$body"/> </log> <send></send> </outSequence> </resource> </api> </definitions>
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@synapse.apache.org For additional commands, e-mail: dev-h...@synapse.apache.org