You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "maomaode (JIRA)" <ji...@apache.org> on 2007/03/28 06:00:32 UTC

[jira] Commented: (CXF-492) EndpointReferenceType class in the generated code is in the incorrect namespace

    [ https://issues.apache.org/jira/browse/CXF-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484696 ] 

maomaode commented on CXF-492:
------------------------------

there is a locator.wsdl in testutils which use the namespace http://www.w3.org/2005/08/addressing, but the wsdl2java generated the EndpointReferenceType in org.apache.cxf.ws.addressing.
This is caused by the default namespace2packge.cfg in tools. 
You can also specify the mapping rules through the cmd line arguments.

I don't know which one is not correct, can you please provider information.

> EndpointReferenceType class in the generated code is in the incorrect namespace
> -------------------------------------------------------------------------------
>
>                 Key: CXF-492
>                 URL: https://issues.apache.org/jira/browse/CXF-492
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.0-RC
>            Reporter: Balaji Ravi
>             Fix For: 2.0-RC
>
>
> The EndpointReferenceType class that is generated is in the org.w3._2005._08.addressing.EndpointReferenceType but the class is actually in org.apache.cxf.ws.addressing. It looks like the wsdl2java tool is skipping the namespace2package configuration which mentions this mapping... Also, it is not generating code in the other namespace because of exclusion of this namespace thereby resulting in a compilation error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.