File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
I agree. Here's the link:
subject: WSDL2Java package problem
It's not a secret anymore!