WSDL2Java "-p" option generating wrong package structure
--------------------------------------------------------
Key: AXIS2-890
URL: http://issues.apache.org/jira/browse/AXIS2-890
Project: Apache Axis 2.0 (Axis2)
Type: Bug
Components: wsdl, Tools
Versions: 1.0
Environment: Axis2, Tomcat5.5.17, Eclipse3.2, Windows 2000, Ant, Jdk1.6 (Beta).
Reporter: Amit Singh Rathore
Priority: Critical
I have used "org.apache.axis2.wsdl.WSDL2Java" command line option inside
build.xml to generate stubs or skeletons etc.
My understanding about "-p" option is that it is used to generate stubs or
skeletons into given package structure, if this option and its value is not
specifed then Axis2 should consider the package structure given in
targetNamespace attribute of the WSDL, if there is not targetNamespace (which
is rare) then the default package structure is used, i.e. org.apache.axis2.
I have specified package structure to targetNamespace in my WSDL's and I am not
passing -p option to my Ant target for WSDL2Java, .
But the stubs are generated in org.apache.axis2 package structure, which is the
default package structure. Though java files are generated for complex objects
specified in xsd file and the package structure is picked from targetNamespace
specified in xsd file.
Kindly fix this issue ASAP as I will soon be migrating my entire project to
Axis2 and this issue is really critical in that context.
--
Amit Singh Rathore
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.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]