[ http://issues.apache.org/jira/browse/AXIS2-1609?page=all ]
Ulf Heyder updated AXIS2-1609:
------------------------------
Attachment: FehlerWsdl2Java.zip
Hope you don't mind me attaching another example for this bug:
The attached zip contains a test wsdl, testGenerate.bat calling wsdl2java.bat
with the options "-p de.foo.service" and "-ns2p tns=de.foo.service.types" and
all the files created by w2j.
Stub, MessageReceiver, Skeleton and CallbackHandler are placed in
src/de/foo/service, like I pleased w2j to do.
The schema related classes you find in src/org/example/test wich corresponds to
the default namespace package mapping not to the package de.foo.service.types I
asked for.
> 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: FehlerWsdl2Java.zip, MathsService.wsdl
>
>
> 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]