[
https://issues.apache.org/jira/browse/SYNAPSE-811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13152775#comment-13152775
]
dushan abeyruwan commented on SYNAPSE-811:
------------------------------------------
Need to run the following patch to complete,
Index:
dependencies/synapse/2.1.0-wso2v5/repository/conf/sample/synapse_sample_440.xml
===================================================================
---
dependencies/synapse/2.1.0-wso2v5/repository/conf/sample/synapse_sample_440.xml
(revision 115666)
+++
dependencies/synapse/2.1.0-wso2v5/repository/conf/sample/synapse_sample_440.xml
(working copy)
@@ -23,7 +23,7 @@
<proxy name="JSONProxy" transports="http https">
<target>
<endpoint>
- <address
uri="http://localhost:9000/services/SimpleStockQuoteService"/>
+ <address
uri="http://localhost:9000/services/SimpleStockQuoteService" format="soap11"/>
</endpoint>
<inSequence>
<log level="full"/>
> 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
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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]