Hi,
I'm using axis on Tomcat and I'm trying to deploy a web service.
I'm very new to axis and I need to have some things straightened out.
1. When I follow the instructions on xml.apache.org/axis about how to
build wsdl from java (java2wsdl) I manage to create the file wp.wsdl and
also the bindings. When I use this command:
java org.apache.axis.wsdl.WSDL2Java -o . -d Session -s -S true
-Nurn:Example6 samples.userguide.example6 wp.wsdl
the files listed on xml.apache.org/axis are created. But later on the
instructions tell me to do the following:
"You will need to modify the *SoapBindingImpl file to add your
implementation (see
../samples/userguide/example6/WidgetPriceSoapBindingImpl.java )".
The example code that this link displays is identical to the one in my
axis directory and I don't know how to modify the code. Do you know how
to do?
2. When I follow the instructions on http://xml.apache.org/axis about
how to deploy the
WidgetPrice (the example where I use the java2wsdl tool) it seems to
work fine, but when I browse to
http://localhost:8080/axis/servlet/AxisServlet neither the previous
deployed services nor the one I try to deploy is showing. But when I
undeploy the WidgetPrice service everything goes back to normal i e the
previously deployed services are shown again.
How can that be?
Except for this strange problem, it works fine to deploy and use already
deployed services. Undeploy works without problems too. Now I want to
try this with my own web service, but I get stuck.
3. I have created the following files: server.java, client.java and a
wsdl file. Now I wonder how these files are related and in which
directory to put them to be able to deploy them on Tomcat. Do I need a
wsdd file too, maybe? If so, could you please tell me how to do.
Thanks in advance,
Rebecca