It is not clear what you are trying to accomplish. Usually people use Axis to build
SOAP web services.
Originally posted by ManikKS Kashikar:
http://localhost:8080/axisT/Calculate.jws?method=hi but what is to be written to acess the add method with input values 2 & 3
That is not the way to access a SOAP Web service. That functionality is only available as a "crude HTTP GET access mechanism" (
Test a SOAP Endpoint) for a quick
test - which explains why there is so little information about it.
You'd be advised to try the Calculator example first (
JWS (Java Web Service) Files - Instant Deployment
) - samples\userguide\example2 already contains a
Java client CalcClient.java.
You may want to re-consider your choice of using JWS files:
Important: JWS web services are intended for simple web services. You cannot use packages in the pages, and as the code is compiled at run time you can not find out about errors until after deployment. Production quality web services should use Java classes with custom deployment.
Try
Creating Web Services with Apache Axis for a good introduction to Axis Web Services.
Then again you might be trying to build a non-SOAP web service with Axis 2.0 - I don't think that is the case.
Originally posted by ManikKS Kashikar:
i'm getting the WSDL file for an empty method call eg Hi()
but for the methods like add(int,int) ,unable to get the desired WSDL file
I suspect you mean "SOAP response message", not "WSDL file". The WSDL file contains the definition for all the methods offered by a Web service.
Originally posted by ManikKS Kashikar:
i need a help if somebody could please send me the steps to folowed to access a web service ,all the steps from customizing web.xml to a pgm which is accessing this web service
Again I�d recommend
Creating Web Services with Apache Axis.