Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6784

StockQuote example does not work because the web service is no more available

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 7.16.0, 8.8.0, 9.0.0
    • 7.17.0, 9.0.0, 8.9.0
    • wicket-examples
    • None

    Description

      Wicket Examples' Stock Quote example fails with:

      java.io.FileNotFoundException: http://webservicex.online/stockquote.asmx
      	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1915)
      	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1515)
      	at org.apache.wicket.examples.stockquote.StockQuote.readResult(StockQuote.java:188)
      	at org.apache.wicket.examples.stockquote.StockQuote.getSOAPQuote(StockQuote.java:128)
      	at org.apache.wicket.examples.stockquote.StockQuote.getQuote(StockQuote.java:89)
      	at org.apache.wicket.examples.stockquote.StockQuoteLabel.onComponentTagBody(StockQuoteLabel.java:77)
      	at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:70)
      ...
      

      We need to change to another web service.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: