aspose file tools
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 The Software Craftsman this week in the Agile 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
jQuery in Action, 2nd edition
subject: WSDL2Java package problem