[jbossws-issues] [JBoss JIRA] Updated: (JBWS-1689) Add support for SwaRef

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Sat Jun 2 10:09:09 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBWS-1689?page=all ]

Thomas Diesler updated JBWS-1689:
---------------------------------

    Description: 
16:08:32,622 INFO  [ServiceBean] Exposing service with name {http://swaref.samples.jaxws.ws.test.jboss.org}BareEndpointImpl
16:08:32,639 INFO  [ServiceBean] Exposing service with name {http://swaref.samples.jaxws.ws.test.jboss.org}RpcLitEndpointImpl
16:08:32,675 INFO  [ServiceBean] Exposing service with name {http://swaref.samples.jaxws.ws.test.jboss.org}WrappedEndpointImpl
16:08:32,680 ERROR [XFireServletController] Couldn't invoke servlet request.
org.jdom.IllegalNameException: The name "" is not legal for JDOM/XML namespaces: Namespace URIs must be non-null and non-empty Strings.
        at org.jdom.Namespace.getNamespace(Namespace.java:164)
        at org.codehaus.xfire.util.NamespaceHelper.getUniquePrefix(NamespaceHelper.java:58)
        at org.codehaus.xfire.wsdl.AbstractWSDL.getNamespacePrefix(AbstractWSDL.java:291)
        at org.codehaus.xfire.wsdl11.builder.WSDLBuilder.writeParameters(WSDLBuilder.java:564)
        at org.codehaus.xfire.wsdl11.builder.WSDLBuilder.createInputParts(WSDLBuilder.java:548)
        at org.codehaus.xfire.wsdl11.builder.WSDLBuilder.createInputMessage(WSDLBuilder.java:373)
        at org.codehaus.xfire.wsdl11.builder.WSDLBuilder.createAbstractInterface(WSDLBuilder.java:234)
        at org.codehaus.xfire.wsdl11.builder.WSDLBuilder.write(WSDLBuilder.java:161)
        at org.codehaus.xfire.wsdl11.builder.WSDLBuilderAdapter.write(WSDLBuilderAdapter.java:40)
        at org.codehaus.xfire.DefaultXFire.generateWSDL(DefaultXFire.java:104)
        at org.jboss.wsf.stack.xfire.XFireServletControllerExt.generateWSDL(XFireServletControllerExt.java:85)
        at org.codehaus.xfire.transport.http.XFireServletController.doService(XFireServletController.java:125)
        at org.jboss.wsf.stack.xfire.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:59)
        at org.jboss.wsf.stack.xfire.XFireConfigurableServletExt.service(XFireConfigurableServletExt.java:147)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:695)


  was:
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 at 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)



> Add support for SwaRef
> ----------------------
>
>                 Key: JBWS-1689
>                 URL: http://jira.jboss.com/jira/browse/JBWS-1689
>             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
>
>
> 16:08:32,622 INFO  [ServiceBean] Exposing service with name {http://swaref.samples.jaxws.ws.test.jboss.org}BareEndpointImpl
> 16:08:32,639 INFO  [ServiceBean] Exposing service with name {http://swaref.samples.jaxws.ws.test.jboss.org}RpcLitEndpointImpl
> 16:08:32,675 INFO  [ServiceBean] Exposing service with name {http://swaref.samples.jaxws.ws.test.jboss.org}WrappedEndpointImpl
> 16:08:32,680 ERROR [XFireServletController] Couldn't invoke servlet request.
> org.jdom.IllegalNameException: The name "" is not legal for JDOM/XML namespaces: Namespace URIs must be non-null and non-empty Strings.
>         at org.jdom.Namespace.getNamespace(Namespace.java:164)
>         at org.codehaus.xfire.util.NamespaceHelper.getUniquePrefix(NamespaceHelper.java:58)
>         at org.codehaus.xfire.wsdl.AbstractWSDL.getNamespacePrefix(AbstractWSDL.java:291)
>         at org.codehaus.xfire.wsdl11.builder.WSDLBuilder.writeParameters(WSDLBuilder.java:564)
>         at org.codehaus.xfire.wsdl11.builder.WSDLBuilder.createInputParts(WSDLBuilder.java:548)
>         at org.codehaus.xfire.wsdl11.builder.WSDLBuilder.createInputMessage(WSDLBuilder.java:373)
>         at org.codehaus.xfire.wsdl11.builder.WSDLBuilder.createAbstractInterface(WSDLBuilder.java:234)
>         at org.codehaus.xfire.wsdl11.builder.WSDLBuilder.write(WSDLBuilder.java:161)
>         at org.codehaus.xfire.wsdl11.builder.WSDLBuilderAdapter.write(WSDLBuilderAdapter.java:40)
>         at org.codehaus.xfire.DefaultXFire.generateWSDL(DefaultXFire.java:104)
>         at org.jboss.wsf.stack.xfire.XFireServletControllerExt.generateWSDL(XFireServletControllerExt.java:85)
>         at org.codehaus.xfire.transport.http.XFireServletController.doService(XFireServletController.java:125)
>         at org.jboss.wsf.stack.xfire.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:59)
>         at org.jboss.wsf.stack.xfire.XFireConfigurableServletExt.service(XFireConfigurableServletExt.java:147)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:695)

-- 
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

        



More information about the jbossws-issues mailing list