You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org> on 2006/07/23 13:15:14 UTC

[jira] Resolved: (AXIS2-890) WSDL2Java "-p" option generating wrong package structure

     [ http://issues.apache.org/jira/browse/AXIS2-890?page=all ]

Ajith Harshana Ranabahu resolved AXIS2-890.
-------------------------------------------

    Resolution: Fixed

This was solved by Dims sometime back. I'k marking this as resolved

> 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)
>          Issue Type: Bug
>          Components: wsdl, Tools
>    Affects 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org