I've tried a simple example with Apache Axis in Eclipse, but I understand nothing as Eclipse generated all the stuff. Thats why I want to do it manually to understand the details.
Nope. I am not confusing IDE and framework. Let me explain, I want to create a simple web service without using Axis, CXF or any other such framework. This way I will be able to see the details of how a web service actually looks and works.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35258
7
posted
0
It's not hard for a RESTful WS, but SOAP is quite involved - implementing that would be a major undertaking (and more likely than not to be unsuccessful in the end). What do you hope to learn by doing that?
I'd advise to use Axis2, but forgo the IDE. That way you'll get a good understanding of how SOAP and WSDL look like and how they work together. You can also use a tool like SoapUI to monitor SOAP traffic in transit.
Thanks Ulf. I want to know the differences between Axis and Axis2. Can you suggest some good tutorial on Axis2?
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35258
7
posted
1
Axis 1 is obsolete; don't bother investigating it.
The Axis site has many tutorials including Installation Guide, QuickStart Guide and User Guide. Also check out the wiki http://wiki.apache.org/ws/FrontPage/Axis.
Arslan Khan wrote:Nope. I am not confusing IDE and framework. Let me explain, I want to create a simple web service without using Axis, CXF or any other such framework. This way I will be able to see the details of how a web service actually looks and works.
imho it is quite confusing to spot which steps in JAX-WS development (mostly deployment) is done by which component (IDE (Appserver plugin), Jax-WS Framework (Axis, Metro) or Java/Jax-WS Tools (apt, wsgen etc.).
another problem is to find out, which artefacts are required (e.g. webservice.xml and wsdl are both not always required - as running the jax-ws RI examples show).
imho the lowest possible approach for developing (learning) WS is the following: