How to call a web service (described by a wsdl) from java

Viewed 87629

Knowing nothing of web services, I'm just trying to call some "isAlive" service that is described by a wsdl.

This seems to me like something that should take no more than 2-5 lines of code but I can't seem to find anything but huge long examples involving 3rd party packages etc.

Anyone has any ideas? If it is always suppose to be long maybe a good explanation as to why it has to be so complicated will also be appreciated. I'm using Eclipse and the wsdl is SOAP.

4 Answers
Related