Win a copy of Mesos in Action this week in the Cloud/Virtualizaton 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