Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[glassfish-dev] webservices13 test failure

All,

 

I am debugging the final class of failure for webservices13 and webservices12 . Basically I have tracked down that the WebService instance when created is looking for the WSDL file in the wrong place within the exploded deployment in the GlassFish domain.

 

e.g. applications/WSWSRefLookupClnt2/WEB-INF/wsdl/EchoService.wsdl

 

however as the webservice is packaged in a war in an ear the actual location is applications/WSWSRefLookupClnt2/WSWSRefLookupClnt2_web_war/WEB-INF/wsdl/EchoService.wsdl

 

 

Does anybody know what change could have introduced this? Alternatively does anybody know where the path is generated?

 

I will continue debugging!

 

 

Full Exception below for reference

 

Caused by: jakarta.xml.ws.WebServiceException: Failed to access the WSDL at: file:/opt/PayaraDev/EE4J/tck-bundle/jakartaeetck/vi/glassfish6/glassfish/domains/domain1/applications/WSWSRefLookupClnt2/WEB-INF/wsdl/EchoService.wsdl. It failed with:

                /opt/PayaraDev/EE4J/tck-bundle/jakartaeetck/vi/glassfish6/glassfish/domains/domain1/applications/WSWSRefLookupClnt2/WEB-INF/wsdl/EchoService.wsdl (No such file or directory).

                at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:235)

                at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:216)

                at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:179)

                at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:148)

                at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:334)

                at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:292)

                at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:201)

                at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:182)

                at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:178)

                at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:89)

                at jakarta.xml.ws.Service.<init>(Service.java:82)

                at com.sun.ts.tests.webservices13.servlet.WSWebServiceRefLookup.client.EchoService.<init>(EchoService.java:54)

                ... 50 more

Caused by: java.io.FileNotFoundException: /opt/PayaraDev/EE4J/tck-bundle/jakartaeetck/vi/glassfish6/glassfish/domains/domain1/applications/WSWSRefLookupClnt2/WEB-INF/wsdl/EchoService.wsdl (No such file or directory)

                at java.io.FileInputStream.open0(Native Method)

                at java.io.FileInputStream.open(FileInputStream.java:195)

                at java.io.FileInputStream.<init>(FileInputStream.java:138)

                at java.io.FileInputStream.<init>(FileInputStream.java:93)

                at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)

                at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)

                at java.net.URL.openStream(URL.java:1068)

                at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:969)

                at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:370)

                at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:201)

                ... 60 more

 

 

 


Back to the top