This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Web Services and the fly likes Building WS client using Ant Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Building WS client using Ant" Watch "Building WS client using Ant" New topic

Building WS client using Ant

Amirtharaj Chinnaraj
Ranch Hand

Joined: Sep 28, 2006
Posts: 231
I am trying to create client for a Web Service using Ant. our Web Service is deployed in HTTPS. we have setup the certificate and we are able to download the WSDL throught the browser.

we used the following Ant script to build the Client.

we are able to create the Clint using Ant ,However we are not able to create the using eclipse. Please advice me how can i generate the web service client using eclipse.

Though i have pointed the download path of wsdl in the Eclipse.


Ulf Dittmer

Joined: Mar 22, 2005
Posts: 39578
What does "not able to" mean? You've been around the Ranch long enough to know that this does not help us help you. TellTheDetails, because ItDoesntWorkIsUseless.

Ping & DNS - updated with new look and Ping home screen widget
Amirtharaj Chinnaraj
Ranch Hand

Joined: Sep 28, 2006
Posts: 231
Hi Ulf,

Thanks for pointing me. I found that the issue is i missed out the XSD.

I agree. Here's the link:
subject: Building WS client using Ant
Similar Threads
Beginner needs help with web service endpoint name
Eclipse 3.3, Glassfish, WebServices and wsimport
How to use wstools in ant
Odd exception with Axis 1.4 and ant taskdef
Java2WsdlAntTask cannot be found using the classloader AntClassLoader