[ http://issues.apache.org/jira/browse/AXIS2-1609?page=all ]
Amila Chinthaka Suriarachchi updated AXIS2-1609:
------------------------------------------------
Attachment: patch_ns2p.txt
I fix the problem with this patch. Actually for some reason this feature has
not considered when codegenerating and the PackageFinder extension was not
called in order to set the package name in CodeGenConfig.
> namespace to package (ns2p) code gen option does not work in Axis2 1.1 RC2
> --------------------------------------------------------------------------
>
> Key: AXIS2-1609
> URL: http://issues.apache.org/jira/browse/AXIS2-1609
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.1
> Environment: Win XP, JDK 1.5
> Reporter: Charitha Kankanamge
> Priority: Critical
> Attachments: expression.xsd, FehlerWsdl2Java.zip,
> KeinFehlerWsdl2Java.zip, MathsService.wsdl, patch_ns2p.txt, saw-local.wsdl,
> SAWServices.xsd
>
>
> ns2p code gen option does not work in Axis2 1.1 RC2.
> I provided the following code gen option.
> C:\Axis\axis-rc\axis2-1.1\bin>wsdl2java -uri "C:\Documents and
> Settings\Charitha\workspace2\servicetest\temp2\MathsService.wsdl" -ns2p
> http://test.com=my.new
> -o "C:\Documents and
> Settings\Charitha\workspace2\servicetest\temp2\packagetest"
> The generated stub was not included in the given package (my.new). Instead,
> it was included inside the original package (com.test)
> The wsdl file is attached here with.
--
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]