I'm trying to generate Stub & Skeleton code using the Axis2 wsdl2java command in antscript.
Reading the spec, it states that by default Value:If you don't provide a package name,
the tool will use the target namespace of the source WSDL file to come up with a package name.
For example, if the target namespace is http://pvo.common.sport.tennis.org/xsd, then the
package name will be org.sport.tennis.common.pvo.xsd
I placed the following in my antscript (i.e.within wsdl2java call)
<!-- Package structure for generated classes -->
My Skeleton and Stubs were successfully generated under the package:-
All of the generated vo's and pvo's that are used by the Skeleton and Stubs have
been incorrectly packaged (i.e. xsd name added) as follows:-
I need the generated pvo's and vo's to have the following package names respectively:-
In my wsdl I have noticed that the following has been defined:-
hence probably the reason for my pvo & vo package problem.
Can anybody help me solve this problem. >
Because those who mind don't matter and those who matter don't mind - Seuss. Tiny ad: