This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ant wsimport task... how to reference remote wsdlLocation for service?

 
Karl Krasnowsky
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So I'm trying to use the wsimport ant task to grab the wsdl from the server and build the client classes. Simple enough... However...
In the resulting Service information the wsdlLocation is referencing the local file that I generate, e.g.,:


when what I want is the wsdl location as it is on the server, e.g.:


so there's no dependency on a local file reference.

I thought I could accomplish this through the use of a catalog file but I can't seem to make it work. Any pointers on how to adjust this?

thanks,
Karl
 
Karl Krasnowsky
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never mind... figured it out. Needed to use both the wsdl and wsdllocation specifiers. Easy fix.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic