[Carbon-jira] [jira] Created: (CARBON-9094) ESB sample 390- WSO2 Registry provider is incorrect when create the proxy from UI(Sample390.xml is working)
Tharinda Liyanage (JIRA)
jira at wso2.org
Thu Mar 17 06:06:24 PDT 2011
ESB sample 390- WSO2 Registry provider is incorrect when create the proxy from UI(Sample390.xml is working)
-----------------------------------------------------------------------------------------------------------
Key: CARBON-9094
URL: https://wso2.org/jira/browse/CARBON-9094
Project: WSO2 Carbon
Issue Type: Bug
Components: Synapse Samples
Affects Versions: 3.2.0
Environment: windows 7, java 1.6.0_24
Reporter: Tharinda Liyanage
Assignee: Supun Kamburugamuva
1. Create the sample 390's synapse configuration from Mgt Console.(Create the StockQuoteProxy using UI)
2. Go to source view
Observe that you get the registry entry as follows:
<registry provider="org.wso2.carbon.mediation.registry.WSO2Registry">
<parameter name="root">file:repository/samples/resources/</parameter>
<parameter name="cachableDuration">15000</parameter>
</registry>
when run the client with above setup, get an error in the client console:
[java] [2011-03-17 18:26:38,687] INFO - JMSSender JMS Transport Sender initialized...
[java] java.lang.Exception: Unexpected response : <ns:getQuoteResponse xmlns:ns="http://services.samples"><ns:return xmlns:ax23="http://services.samples/xsd" xmlns:xsi="http://www.w3.org/2001/XML
3:last><ax23:lastTradeTimestamp>Thu Mar 17 18:26:38 IST 2011</ax23:lastTradeTimestamp><ax23:low>-148.47266271669616</ax23:low><ax23:marketCap>4.4798688933871776E7</ax23:marketCap><ax23:name>IBM Compan
3:symbol>IBM</ax23:symbol><ax23:volume>16947</ax23:volume></ns:return></ns:getQuoteResponse>
[java]
..
3. Correct registry provider should be <registry provider="org.apache.synapse.registry.url.SimpleURLRegistry"> to work this example. Please corret it either way
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the Carbon-jira
mailing list