• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 101
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Never mind... figured it out. Needed to use both the wsdl and wsdllocation specifiers. Easy fix.
reply
    Bookmark Topic Watch Topic
  • New Topic