File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSDL2Java package problem" Watch "WSDL2Java package problem" New topic
Author

WSDL2Java package problem

shankar vembu
Ranch Hand

Joined: May 10, 2001
Posts: 309
Hi,
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??
regards,
shankar
Garandi Garandi
Ranch Hand

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

where
(.) 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
Garandi
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WSDL2Java package problem