I am newbie to web services.
I created a web service class with the necessary
SOAP annotations and a few web methods within, and generated .wsdl from it using axis -
ant build. Now I generated the client code from the .wsdl again using the axis build. Deployed my web service class as a web project in my
jboss with the necessary web.xml and the communication to the web service methods works just fine.
Now my aim is to send HTTP POST and GET using SOAP. How do i do this? I checked the xml that goes to and fro whenever i make the web service call... There is nothing in it to state it as a GET or POST...
Googling showed that the SOAP requests over HTTP will have header something like below, which my guys doesnt :
POST /jwsbook/BookQuote HTTP/1.1
Host: www.xxxxx.com
Content-Type: text/xml; charset="utf-8"
Content-Length: 295
SOAPAction=""
How do I make my requests have a header like this??
Is there anything to be specified in the web service class or in my java2wsdl axis build, so that the wsdl file created from it shows support for GET/POST..
Thanks