File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Ant wsimport task... how to reference remote wsdlLocation for service? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Ant wsimport task... how to reference remote wsdlLocation for service?" Watch "Ant wsimport task... how to reference remote wsdlLocation for service?" New topic
Author

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

Karl Krasnowsky
Ranch Hand

Joined: Jan 16, 2009
Posts: 97
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

[SCJP 6]
[SCBCD in process]
Karl Krasnowsky
Ranch Hand

Joined: Jan 16, 2009
Posts: 97
Never mind... figured it out. Needed to use both the wsdl and wsdllocation specifiers. Easy fix.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ant wsimport task... how to reference remote wsdlLocation for service?