axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sagara Gunathunga (JIRA)" <>
Subject [jira] [Commented] (AXIS2-5297) -ns2p is not working fine. files are generating under wrong package.
Date Tue, 24 Apr 2012 07:57:46 GMT


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=""/> "

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] - 
> -ns2p is not working fine. files are generating under wrong package. 
> ---------------------------------------------------------------------
>                 Key: AXIS2-5297
>                 URL:
>             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=""/>
>         </java>
>     </target>
> files are generated under 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:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message