That looks good, this should show the calculator service, with it
highlighted containing a link to the wsdl.

http://localhost:8080/services/listServices

On Tue, Dec 10, 2019 at 2:31 AM albert kao <albertk...@gmail.com> wrote:
>
> I did these:
> $ cd $AXIS2_HOME/samples/jaxws-calculator
> $ mvn clean install
>
> Two files were created:
> samples/jaxws-calculator/target/jaxws-calculator-1.7.9.jar
> samples/jaxws-calculator/target/jaxws-calculator-1.7.9-client.jar
>
>
> $ cd $AXIS2_HOME/samples/jaxws-calculator/target/classes
>
>
> java org.apache.axis2.jaxws.calculator.client.AddSEIClient 3 33
> javax.xml.ws.WebServiceException: Failed to access the WSDL at: 
> http://localhost:8080/axis2/services/CalculatorService.CalculatorServicePort?wsdl.
>  It failed with:
> http://localhost:8080/axis2/services/CalculatorService.CalculatorServicePort?wsdl.
> at 
> com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:250)
> at 
> com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:231)
> at 
> com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:194)
> at 
> com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:163)
> at 
> com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:348)
> at 
> com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:306)
> at 
> com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:215)
> at 
> com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:196)
> at 
> com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:192)
> at 
> com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:104)
> at javax.xml.ws.Service.<init>(Service.java:77)
> at 
> org.apache.axis2.jaxws.calculator.client.CalculatorService.<init>(CalculatorService.java:53)
> at 
> org.apache.axis2.jaxws.calculator.client.AddSEIClient.main(AddSEIClient.java:41)
> Caused by: java.io.FileNotFoundException: 
> http://localhost:8080/axis2/services/CalculatorService.CalculatorServicePort?wsdl
> at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1890)
> at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
> at java.net.URL.openStream(URL.java:1045)
> at 
> com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:984)
> at 
> com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:385)
> at 
> com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:216)
> ... 11 more
>
>
>
> The server is tomcat-9.0.8.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to