Hi, I've deployed a web service using Eclipse WTP. What libraries should I choose in order to write a Swing Application to consume those web services. I have been trying this for a couple of days and came across a few code samples that use SOAP and Glue. But they don't seem very clear and I suppose they are out date. Could someone give me a rough idea on this.
Consuming a web service has nothing to do with the kind of GUI that the consuming application might have. So you could use java.net.URLConnection, or Apache HttpClient, or the client-side libraries of Jersey or Axis2 or Metro - whichever suits your service best.
The usual approach would be to have whatever SOAP toolkit you're using to generate code that accesses the service from the WSDL. All major toolkits have tools for that; for example, Axis2 has wsdl2java.
I would advise against generating the SOAP sort of "manually" in your code.