[
https://issues.apache.org/jira/browse/TUSCANY-3690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924903#action_12924903
]
Simon Nash commented on TUSCANY-3690:
-------------------------------------
I have added code to the xml-bigbank demo to address these problems as follows.
1. If the currency exchange rate RSS feed at
http://ansuz.sooke.bc.ca/rippy/exchange/ is unavailable, the demo uses local
historical data and displays a message saying this. For now I have retained
the demo code that accesses this feed in case the feed becomes available again
at some time in the future.
2. The demo doesn't attempt to obtain WSDL from
http://www.webservicex.com/stockquote.asmx?WSDL but uses equivalent local WSDL
instead. This is because of the difficulty in recovering from the contribution
load failure that occurs if the remote WSDL isn't available.
3. The demo checks for errors when invoking the service endpoint at
http://www.webservicex.com/stockquote.asmx. If an error occurs, the demo uses
local historical data and displays a message saying this.
4. The demo sets an Axis2 timeout of 8 seconds before invoking the service
endpoint at http://www.webservicex.com/stockquote.asmx. This doesn't seem to be
having the desired effect because the invocation still hangs sometimes.
> demos/xml-bigbank fails because remote services aren't available
> ----------------------------------------------------------------
>
> Key: TUSCANY-3690
> URL: https://issues.apache.org/jira/browse/TUSCANY-3690
> Project: Tuscany
> Issue Type: Bug
> Affects Versions: Java-SCA-1.6
> Reporter: Simon Nash
> Assignee: Simon Nash
> Fix For: Java-SCA-1.6.1
>
>
> The xml-bigbank demo is failing frequently (possibly permanently) because of
> unavailability of the exchange rate RSS feed and the stock quote web service
> that it uses.
> Based on a large number of attempts over the last few days:
> 1. The currency exchange rate RSS feed at
> http://ansuz.sooke.bc.ca/rippy/exchange/ seems to be down permanently. This
> causes a runtime exception when attempting to access the data from this feed.
> 2. The WSDL import from http://www.webservicex.com/stockquote.asmx?WSDL works
> only rarely. This causes a contribution load failure because the
> <binding.ws> element that uses this WSDL definition can't be processed.
> 3. The service endpoint at http://www.webservicex.com/stockquote.asmx works
> only rarely. This causes a runtime exception when attempting to invoke the
> web service.
> This demo isn't useful if it never works. I suspect this has been the case
> for some considerable time, given that no-one has noticed the separate
> databinding problem described by TUSCANY-3689 even though this has been
> broken for over a year.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.