Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-2133

Failed to access the WSDL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • jbossws-metro-3.0.1
    • jbossws-metro
    • None

      tests-run-internal:
      [junit] Running org.jboss.test.ws.jaxws.jbws1813.JBWS1813TestCase
      [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2.68 sec
      [junit] Test org.jboss.test.ws.jaxws.jbws1813.JBWS1813TestCase FAILED

      BUILD SUCCESSFUL
      Total time: 5 seconds
      [tdiesler@tdvaio trunk]$ cat output/tests/reports/TEST-org.jboss.test.ws.jaxws.jbws1813.JBWS1813TestCase.txt
      Testsuite: org.jboss.test.ws.jaxws.jbws1813.JBWS1813TestCase
      Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2.68 sec

      Testcase: testPositive took 1.368 sec
      Caused an ERROR
      Failed to access the WSDL at: http://localhost:8080/test-context?wsdl. It failed with:
      http://localhost:8080/test-context?wsdl.
      javax.xml.ws.WebServiceException: Failed to access the WSDL at: http://localhost:8080/test-context?wsdl. It failed with:
      http://localhost:8080/test-context?wsdl.
      at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:162)
      at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:144)
      at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:263)
      at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:226)
      at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:174)
      at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:104)
      at javax.xml.ws.Service.<init>(Service.java:56)
      at javax.xml.ws.Service.create(Service.java:680)
      at org.jboss.test.ws.jaxws.jbws1813.JBWS1813TestCase.testPositive(JBWS1813TestCase.java:61)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      Caused by: java.io.FileNotFoundException: http://localhost:8080/test-context?wsdl
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1168)
      at java.net.URL.openStream(URL.java:1007)
      at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:805)
      at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:262)
      at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:129)

            rhn-support-asoldano Alessio Soldano
            tdiesler@redhat.com Thomas Diesler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: