This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes WSDL2Java package problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSDL2Java package problem" Watch "WSDL2Java package problem" New topic

WSDL2Java package problem

shankar vembu
Ranch Hand

Joined: May 10, 2001
Posts: 309
I am using axis for my web services.
When I run the WSDL2Java tool to generate client stubs, the classes are getting created under the following hierarchy _1\_0\_0\_127\axis\services\MyServiceName\....
how do i avoid this. I dont want my client to use this package hierarchy when is trying to consume my service.
Do i have control over the location where the client stubs are created??
Garandi Garandi
Ranch Hand

Joined: Jan 07, 2003
Posts: 192
Use the following command

(.) is base output dir
packageStructure is the packe to place the code (p1.p2.p3)
Are you using simple type like String, int etc or you have some custom type too?
Thank you
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: WSDL2Java package problem
Similar Threads
Unable to understand EJB exception
Web Services jargon
Digital signature in SOAP XML
Axis client stub compatibility