[prev in list] [next in list] [prev in thread] [next in thread] 

List:       synapse-dev
Subject:    [jira] [Commented] (SYNAPSE-811) JSON Sample is broken on ESB 4
From:       "dushan abeyruwan (Commented) (JIRA)" <jira () apache ! org>
Date:       2011-11-18 10:54:51
Message-ID: 1218003810.42920.1321613691952.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]


    [ 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><earning \
> s>-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><p \
> ercentageChange>-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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic