You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Pavithra Madurangi (JIRA)" <ji...@apache.org> on 2011/08/25 07:22:29 UTC
[jira] [Created] (AXIS2-5132) Errors in jaxws-calculator sample
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-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] [Updated] (AXIS2-5132) Errors in jaxws-calculator sample
Posted by "Pavithra Madurangi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-5132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavithra Madurangi updated AXIS2-5132:
--------------------------------------
Attachment: AXIS2-5132.patch
Attaching AXIS2-5132 to fix minor issues 2) and 3)
> 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
> Attachments: AXIS2-5132.patch
>
>
> 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-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org