[
http://jira.jboss.com/jira/browse/JBWS-1688?page=all ]
Thomas Diesler updated JBWS-1688:
---------------------------------
Summary: Fix @WebParam, @WebResult handling (was: Fix @WebParam handling)
Fix @WebParam, @WebResult handling
----------------------------------
Key: JBWS-1688
URL:
http://jira.jboss.com/jira/browse/JBWS-1688
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: integration-xfire
Reporter: Thomas Diesler
Assigned To: Thomas Diesler
Fix For: jbossws-2.1.0
Fix various issues with @WebParam. For example the default xmlName when @WebParam is not
specified
There also seems to be some JAXB context issues.
[tdiesler@tdvaio xfire]$ cat
output-tests/reports/TEST-org.jboss.test.ws.jaxws.samples.webparam.WebParamTestCase.txt
Testsuite: org.jboss.test.ws.jaxws.samples.webparam.WebParamTestCase
Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 2.995 sec
Testcase: testEcho took 1.993 sec
Caused an ERROR
Parameter arg0 does not exist!
javax.xml.ws.soap.SOAPFaultException: Parameter arg0 does not exist!
at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:171)
at
com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:94)
at
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:240)
at
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:210)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:103)
at $Proxy25.echo(Unknown Source)
at
org.jboss.test.ws.jaxws.samples.webparam.WebParamTestCase.testEcho(WebParamTestCase.java:69)
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)
Testcase: testPingOneWay took 0.049 sec
Caused an ERROR
Could not unmarshall type : "org.jboss.test.ws.jaxws.samples.webparam" doesnt
contain ObjectFactory.class or jaxb.index
javax.xml.ws.soap.SOAPFaultException: Could not unmarshall type :
"org.jboss.test.ws.jaxws.samples.webparam" doesnt contain ObjectFactory.class or
jaxb.index
at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:171)
at
com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:94)
at
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:240)
at
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:210)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:103)
at $Proxy25.pingOneWay(Unknown Source)
at
org.jboss.test.ws.jaxws.samples.webparam.WebParamTestCase.testPingOneWay(WebParamTestCase.java:77)
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)
Testcase: testPingTwoWay took 0.049 sec
Caused an ERROR
Could not unmarshall type : "org.jboss.test.ws.jaxws.samples.webparam" doesnt
contain ObjectFactory.class or jaxb.index
javax.xml.ws.soap.SOAPFaultException: Could not unmarshall type :
"org.jboss.test.ws.jaxws.samples.webparam" doesnt contain ObjectFactory.class or
jaxb.index
at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:171)
at
com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:94)
at
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:240)
at
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:210)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:103)
at $Proxy25.pingTwoWay(Unknown Source)
at
org.jboss.test.ws.jaxws.samples.webparam.WebParamTestCase.testPingTwoWay(WebParamTestCase.java:86)
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)
Testcase: testSecurePing took 0.065 sec
Caused an ERROR
Could not unmarshall type : "org.jboss.test.ws.jaxws.samples.webparam" doesnt
contain ObjectFactory.class or jaxb.index
javax.xml.ws.soap.SOAPFaultException: Could not unmarshall type :
"org.jboss.test.ws.jaxws.samples.webparam" doesnt contain ObjectFactory.class or
jaxb.index
at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:171)
at
com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:94)
at
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:240)
at
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:210)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:103)
at $Proxy25.securePing(Unknown Source)
at
org.jboss.test.ws.jaxws.samples.webparam.WebParamTestCase.testSecurePing(WebParamTestCase.java:97)
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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira