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.

Reply via email to