[
https://issues.apache.org/jira/browse/AXIS2-2461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259152#comment-13259152
]
rajat kumar commented on AXIS2-2461:
------------------------------------
<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.
> -ns2p switch ignored when using wsdl2java with xmlbeans databindings
> --------------------------------------------------------------------
>
> Key: AXIS2-2461
> URL: https://issues.apache.org/jira/browse/AXIS2-2461
> Project: Axis2
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.1.1, 1.2
> Environment: Java 1.5.0_09
> Reporter: Murray Furtado
> Assignee: Amila Chinthaka Suriarachchi
> Priority: Blocker
>
> I want to override the default package my xml beans get generated in.
>
> I issue my wsdl2java command with eg -ns2p http://www.xyx.com=com.abc.efg or
> -ns2p www.xyx.com=com.abc.efg
> When I do so, my classes get generated in a package com.xyx.www.impl
> regardless
--
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]