You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "jimma (JIRA)" <ji...@apache.org> on 2007/05/10 12:58:15 UTC

[jira] Created: (CXF-640) default namespace mapping does not take effect when -p flag used

default namespace mapping does not take effect when -p flag used
----------------------------------------------------------------

                 Key: CXF-640
                 URL: https://issues.apache.org/jira/browse/CXF-640
             Project: CXF
          Issue Type: Bug
          Components: Tooling
            Reporter: jimma


If you use the -p flag to generate a classes in a particular package, then tools will create all classes in this package even WS-A EPRs. For example if you take the callback demo and add a package it will no longer compile since the EndpointReferenceUtils will be have the wrong signature:
    <target name="generate.code">
        <echo level="info" message="Generating code using wsdl2java..."/>
        <wsdl2java file="basic_callback.wsdl" servicename.arg="-sn CallbackService" package="org.cxf"/>
  <wsdl2java file="basic_callback.wsdl" servicename.arg="-sn SOAPService"/>
    </target> 

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


[jira] Resolved: (CXF-640) default namespace mapping does not take effect when -p flag used

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

jimma resolved CXF-640.
-----------------------

    Resolution: Fixed

> default namespace mapping does not take effect when -p flag used
> ----------------------------------------------------------------
>
>                 Key: CXF-640
>                 URL: https://issues.apache.org/jira/browse/CXF-640
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>            Reporter: jimma
>         Assigned To: jimma
>
> If you use the -p flag to generate a classes in a particular package, then tools will create all classes in this package even WS-A EPRs. For example if you take the callback demo and add a package it will no longer compile since the EndpointReferenceUtils will be have the wrong signature:
>     <target name="generate.code">
>         <echo level="info" message="Generating code using wsdl2java..."/>
>         <wsdl2java file="basic_callback.wsdl" servicename.arg="-sn CallbackService" package="org.cxf"/>
>   <wsdl2java file="basic_callback.wsdl" servicename.arg="-sn SOAPService"/>
>     </target> 

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


[jira] Assigned: (CXF-640) default namespace mapping does not take effect when -p flag used

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

jimma reassigned CXF-640:
-------------------------

    Assignee: jimma

> default namespace mapping does not take effect when -p flag used
> ----------------------------------------------------------------
>
>                 Key: CXF-640
>                 URL: https://issues.apache.org/jira/browse/CXF-640
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>            Reporter: jimma
>         Assigned To: jimma
>
> If you use the -p flag to generate a classes in a particular package, then tools will create all classes in this package even WS-A EPRs. For example if you take the callback demo and add a package it will no longer compile since the EndpointReferenceUtils will be have the wrong signature:
>     <target name="generate.code">
>         <echo level="info" message="Generating code using wsdl2java..."/>
>         <wsdl2java file="basic_callback.wsdl" servicename.arg="-sn CallbackService" package="org.cxf"/>
>   <wsdl2java file="basic_callback.wsdl" servicename.arg="-sn SOAPService"/>
>     </target> 

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