JSON Sample is broken on ESB 4
------------------------------
Key: SYNAPSE-811
URL: https://issues.apache.org/jira/browse/SYNAPSE-811
Project: Synapse
Issue Type: Bug
Affects Versions: 2.1
Environment: unix
Reporter: dushan abeyruwan
Fix For: FUTURE
Got the following error when the client is executed. The workaround is to use
format=soap11.
[java] [2011-10-20 02:09:58,609] INFO - MailTransportSender MAILTO Sender
started
[java] [2011-10-20 02:09:58,651] INFO - JMSSender JMS Sender started
[java] [2011-10-20 02:09:58,653] INFO - JMSSender JMS Transport Sender
initialized...
[java] java.lang.Exception: Unexpected response :
<Envelope><Body><getQuoteResponse><return><change>3.878964846147419</change><earnings>-9.120318491317256</earnings><high>-82.00323551695467</high><last>83.83084297832919</last><lastTradeTimestamp>Thu
Oct 20 02:09:58 IST
2011</lastTradeTimestamp><low>-82.99378325027742</low><marketCap>4.442053937215374E7</marketCap><name>IBM
Company</name><open>-82.24591358385804</open><peRatio>23.086735319761647</peRatio><percentageChange>-4.652674196282836</percentageChange><prevClose>-83.37065271508679</prevClose><symbol>IBM</symbol><volume>16234</volume></return></getQuoteResponse></Body></Envelope>
[java] at samples.userguide.JSONClient.executeClient(Unknown Source)
[java] at samples.userguide.JSONClient.main(Unknown Source)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]