axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ulf Heyder (JIRA)" <>
Subject [jira] Updated: (AXIS2-1609) namespace to package (ns2p) code gen option does not work in Axis2 1.1 RC2
Date Wed, 06 Dec 2006 09:08:25 GMT
     [ ]

Ulf Heyder updated AXIS2-1609:


Thanks to Carlos Riberiro answering my mail in axis-user list:
He wrote:
You probably need to do: "-ns2p".
I wrongly used the option like "-ns2p" having defined xmlns:bar=""

See my new attachment where I changed my wsdl2java call, everything works fine now.

It seems to be important to be precise with the namespace:
-ns2p works
-ns2p doen't work since I defined 

xmlns:tns="" (regard the last slash)

We should change status to "improvement" to extend functionality to use "-ns2p"

> namespace to package (ns2p) code gen option does not work in Axis2 1.1 RC2
> --------------------------------------------------------------------------
>                 Key: AXIS2-1609
>                 URL:
>             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:,, 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"
> -o "C:\Documents and Settings\Charitha\workspace2\servicetest\temp2\packagetest"
> The generated stub was not included in the given package ( 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:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message