I am using axis wsdl2java task to generate client stubs. But for some reason, when classes are generated, the packages have / instead of . Can anyone advise why it is generating slashes instead of . Proabably because wsdl file is not designed properly.
David Brossard
Ranch Hand
Joined: Jun 03, 2004
Posts: 107
posted
0
What do you mean by
when classes are generated, the packages have / instead of .
?
How do you call wsdl2java?
With Axis 1.x, with an Ant script this is the way to call it:
the mapping element associates a given namespace to a package. An example of a namespace is urn:my.company.com and an example of a package is com.company.my.
No matter what they say in Ohio, we're still first in flight!
Chelis Flores
Greenhorn
Joined: Aug 15, 2006
Posts: 16
posted
0
I think you must to use -p here.some.package (here.some.package is you package) FOr example: java org.apache.axis.wsdl.WSDL2Java -p mx.com.some.package.here http://localhost/axis/SomeWebService.jws?wsdl