I want to call a web service in my java application. How do I achieve this? I'm new to web services.
A:
Go to the Apache foundation web site and search for the "AXIS SOAP client"!
This is well documented and the client side consists of a single JAR file.
Also I would thourogly recommend SOAPUI for generating and reading test messages.
James Anderson
2010-09-09 06:59:03
Why Axis? (15chrS)
Bozho
2010-09-09 07:00:54
AXIS mature, bug free, well documented.
James Anderson
2010-09-10 01:08:37
+1
A:
Go through this tutorial.
The basic steps are:
- download (if not already present) a JAX-WS implementation
- generate a java client by importing the wsdl with some tool (see below)
- invoke methods on the generated client code
This article shows how to do it step by step using NetBean's wizards
Bozho
2010-09-09 07:00:38
The tutorial is from 2005. Would a newer version reflect the annotation approach in Java 6?
Thorbjørn Ravn Andersen
2010-09-09 07:27:22