Errors in jaxws-calculator sample --------------------------------- Key: AXIS2-5132 URL: https://issues.apache.org/jira/browse/AXIS2-5132 Project: Axis2 Issue Type: Bug Components: samples Affects Versions: 1.7.0 Environment: jdk 1.6.0_22, axis2-1.7.0-SNAPSHOT Reporter: Pavithra Madurangi
1) When running the client, following error occurs in jaxws-calculator sample javax.xml.ws.soap.SOAPFaultException: javax.xml.bind.JAXBException: org.apache.axis2.jaxws.calculator.GetTicket is not known to this context at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178) at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:111) at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108) at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78) at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:107) at $Proxy30.getTicket(Unknown Source) at org.apache.axis2.jaxws.calculator.client.AddSEIClient.main(AddSEIClient.java:43) 2) If port is not specified, then wsdl is viewable at http://<yourhost>:<yourport>/axis2/services/CalculatorService?wsdl (not http://<yourhost>:<yourport>/axis2/services/CalculatorService.CalculatorServicePort?wsdl). This should be mentioned in README.txt 3) The client run command should be corrected to java -classpath %CLASSPATH% -cp target/classes/ org.apache.axis2.jaxws.calculator.client.AddSEIClient 3 33 instead of java -classpath %CLASSPATH% org.apache.axis2.jaxws.calculator.client.AddSEIClient 3 33 -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org