cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Diephouse (JIRA)" <>
Subject [jira] Created: (CXF-303) Tools generates @WebParam/@WebResult in wrong namespace
Date Mon, 11 Dec 2006 10:41:20 GMT
Tools generates @WebParam/@WebResult in wrong namespace

                 Key: CXF-303
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.0-M1
            Reporter: Dan Diephouse
             Fix For: 2.0-RC

If you look at the LocatorService class you'll see that the signature for the queryEndpoints
method is like this:

    @ResponseWrapper(targetNamespace = "", className = "org.apache.cxf.testutils.locator.QueryEndpointsResponse",
localName = "queryEndpointsResponse")
    @RequestWrapper(targetNamespace = "", className = "org.apache.cxf.testutils.locator.QueryEndpoints",
localName = "queryEndpoints")
    @WebResult(targetNamespace = "", name = "endpoint")
    @WebMethod(operationName = "queryEndpoints")
    public java.util.List<org.apache.cxf.testutils.locator.QueryEndpointsResponse.Endpoint>
        @WebParam(targetNamespace = "", name = "select")
        org.apache.cxf.testutils.locator.QuerySelectType select

Looking at the schema schema you'll see that the <element name="select"> is actually
in the namespace. The @WebParam should use this namespace
instead I think. The @WebParam should be in that namespace too I think.

I ran into this while doing some refactoring. I will probably disable the LocatorServiceTest
in the short term while we get this fixed.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message