[ 
https://issues.apache.org/jira/browse/AXIS2-5297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260341#comment-13260341
 ] 

Sagara Gunathunga  commented on AXIS2-5297:
-------------------------------------------

1.) It would be helpful to everyone if you could read relevant documentations, 
user list archives or write to user list before you fill a Blocker JIRA issue 
and ask resolve it ASAP. 

2.) According to reference guide [1] 'ns2p' expect comma separated list of 
namespaces and packages not a file.

"Specifies a comma separated list of namespaces and packages where the given 
package will be used in the place of the auto generated package for the 
relevant namespace. The list will be the format of ns1=pkg1,ns2=pkg2."

According to that your build script is incorrect. 

" <arg value="-ns2p"/>
   <arg file=" http://www.cisco.com=com.axl.client.add"/> "

3.) There is no need to use Java ant task to invoke WSDL2JAVA tool, there is a 
WSDL2JAVA Ant task available [1] and it support for "ns2p" too.  
 

[1] - http://axis.apache.org/axis2/java/core/tools/CodegenToolReference.html 
                
> -ns2p is not working fine. files are generating under wrong package. 
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-5297
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5297
>             Project: Axis2
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.6.1
>         Environment: eclipse , wondows 7 os, jibx1_2_3
>            Reporter: rajat kumar
>            Priority: Blocker
>         Attachments: AXLAPI.wsdl, binding.xml
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> <target name="wsdl2javaclient">
>         <!-- <delete dir="output" /> -->
>         <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
>             <classpath refid="axis.classpath"/>
>             <arg value="-d"/>
>             <arg value="jibx"/>
>             <arg value="-uri"/>
>             <arg file="AXLAPI.wsdl"/>
>             <arg value="-s"/>
>             <arg value="-Ebindingfile"/>
>             <arg file="binding.xml"/>
>             <arg value="-ns2p"/>
>             <arg file=" http://www.cisco.com=com.axl.client.add"/>
>               
>         </java>
>     </target>
> files are generated under com.cisco.www.axlapiservice package.   Please 
> resolve this issue asap.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to