This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSDL2Java package problem

 
shankar vembu
Ranch Hand
Posts: 309
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic