You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Dan Diephouse (JIRA)" <ji...@apache.org> on 2006/12/11 11:41:20 UTC

[jira] Created: (CXF-303) Tools generates @WebParam/@WebResult in wrong namespace

Tools generates @WebParam/@WebResult in wrong namespace
-------------------------------------------------------

                 Key: CXF-303
                 URL: http://issues.apache.org/jira/browse/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 = "http://apache.org/locator/types", className = "org.apache.cxf.testutils.locator.QueryEndpointsResponse", localName = "queryEndpointsResponse")
    @RequestWrapper(targetNamespace = "http://apache.org/locator/types", className = "org.apache.cxf.testutils.locator.QueryEndpoints", localName = "queryEndpoints")
    @WebResult(targetNamespace = "http://apache.org/locator/types", name = "endpoint")
    @WebMethod(operationName = "queryEndpoints")
    public java.util.List<org.apache.cxf.testutils.locator.QueryEndpointsResponse.Endpoint> queryEndpoints(
        @WebParam(targetNamespace = "http://apache.org/locator/types", 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 http://apache.org/locator/query 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: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CXF-303) Tools generates @WebParam/@WebResult in wrong namespace

Posted by "Jervis Liu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jervis Liu updated CXF-303:
---------------------------

    Component/s: Tooling

> Tools generates @WebParam/@WebResult in wrong namespace
> -------------------------------------------------------
>
>                 Key: CXF-303
>                 URL: https://issues.apache.org/jira/browse/CXF-303
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    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 = "http://apache.org/locator/types", className = "org.apache.cxf.testutils.locator.QueryEndpointsResponse", localName = "queryEndpointsResponse")
>     @RequestWrapper(targetNamespace = "http://apache.org/locator/types", className = "org.apache.cxf.testutils.locator.QueryEndpoints", localName = "queryEndpoints")
>     @WebResult(targetNamespace = "http://apache.org/locator/types", name = "endpoint")
>     @WebMethod(operationName = "queryEndpoints")
>     public java.util.List<org.apache.cxf.testutils.locator.QueryEndpointsResponse.Endpoint> queryEndpoints(
>         @WebParam(targetNamespace = "http://apache.org/locator/types", 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 http://apache.org/locator/query 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: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (CXF-303) Tools generates @WebParam/@WebResult in wrong namespace

Posted by "jimma (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12483421 ] 

jimma commented on CXF-303:
---------------------------

This issue has been fixed . see : CXF-465 and CXF-443

> Tools generates @WebParam/@WebResult in wrong namespace
> -------------------------------------------------------
>
>                 Key: CXF-303
>                 URL: https://issues.apache.org/jira/browse/CXF-303
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.0-M1
>            Reporter: Dan Diephouse
>         Assigned To: jimma
>             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 = "http://apache.org/locator/types", className = "org.apache.cxf.testutils.locator.QueryEndpointsResponse", localName = "queryEndpointsResponse")
>     @RequestWrapper(targetNamespace = "http://apache.org/locator/types", className = "org.apache.cxf.testutils.locator.QueryEndpoints", localName = "queryEndpoints")
>     @WebResult(targetNamespace = "http://apache.org/locator/types", name = "endpoint")
>     @WebMethod(operationName = "queryEndpoints")
>     public java.util.List<org.apache.cxf.testutils.locator.QueryEndpointsResponse.Endpoint> queryEndpoints(
>         @WebParam(targetNamespace = "http://apache.org/locator/types", 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 http://apache.org/locator/query 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.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CXF-303) Tools generates @WebParam/@WebResult in wrong namespace

Posted by "Bozhong Lin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bozhong Lin reassigned CXF-303:
-------------------------------

    Assignee: jimma

> Tools generates @WebParam/@WebResult in wrong namespace
> -------------------------------------------------------
>
>                 Key: CXF-303
>                 URL: https://issues.apache.org/jira/browse/CXF-303
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.0-M1
>            Reporter: Dan Diephouse
>         Assigned To: jimma
>             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 = "http://apache.org/locator/types", className = "org.apache.cxf.testutils.locator.QueryEndpointsResponse", localName = "queryEndpointsResponse")
>     @RequestWrapper(targetNamespace = "http://apache.org/locator/types", className = "org.apache.cxf.testutils.locator.QueryEndpoints", localName = "queryEndpoints")
>     @WebResult(targetNamespace = "http://apache.org/locator/types", name = "endpoint")
>     @WebMethod(operationName = "queryEndpoints")
>     public java.util.List<org.apache.cxf.testutils.locator.QueryEndpointsResponse.Endpoint> queryEndpoints(
>         @WebParam(targetNamespace = "http://apache.org/locator/types", 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 http://apache.org/locator/query 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.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-303) Tools generates @WebParam/@WebResult in wrong namespace

Posted by "jimma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jimma resolved CXF-303.
-----------------------

    Resolution: Fixed

> Tools generates @WebParam/@WebResult in wrong namespace
> -------------------------------------------------------
>
>                 Key: CXF-303
>                 URL: https://issues.apache.org/jira/browse/CXF-303
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.0-M1
>            Reporter: Dan Diephouse
>         Assigned To: jimma
>             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 = "http://apache.org/locator/types", className = "org.apache.cxf.testutils.locator.QueryEndpointsResponse", localName = "queryEndpointsResponse")
>     @RequestWrapper(targetNamespace = "http://apache.org/locator/types", className = "org.apache.cxf.testutils.locator.QueryEndpoints", localName = "queryEndpoints")
>     @WebResult(targetNamespace = "http://apache.org/locator/types", name = "endpoint")
>     @WebMethod(operationName = "queryEndpoints")
>     public java.util.List<org.apache.cxf.testutils.locator.QueryEndpointsResponse.Endpoint> queryEndpoints(
>         @WebParam(targetNamespace = "http://apache.org/locator/types", 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 http://apache.org/locator/query 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.
-
You can reply to this email to add a comment to the issue online.