Hi,

I'm also new to this mess of understanding!

I've been following (and re-following) the Axis User Guide docs, and am a little bewildered.

I've written my own test webservice and interface, used Java2WSDL on the interface to get the wsdl file, then used WSDL2Java to obtain the stubs and (un)deploy wsdd files.

In the command-line options I have the location of the webservice as "http://localhost:8080/jason/AxisTest";.

I have created the directory /var/tomcat4/webapps/jason/WEB-INF/classes/my/pkg/name wherein lies the classes, both written and created, for my webservice.

The axis and other necessary jars are all in /var/tomcat4/common/lib/

When I run the admin client on my deploy.wsdd the service gets deployed into the Axis engine (this I can see as it is listed @ http://localhost:8080/axis/servlet/AxisServlet) but the wsdl from this has the line:

<wsdlsoap:address location="http://localhost:8080/axis/services/AxisTest"/>

which is clearly not: "http://localhost:8080/jason/AxisTest";.

Consequently, when I try and run my test client I get:

(404)/jason/AxisTest

which is a tad frustrating to say the least.

People are doing all sorts of weird and wonderful things with web services, so someone must know what the're up to.

All I want to know is everything.

Failing that, just something would do.

For example: do all webservices have to be deployed under the axis directory of the server (Tomcat or J2EE)?

If not, why does the admin client change the address of my webservice?

What's the difference between context path, webservice address and the actual location of the WEB-INF directory?

Help me axis-users list - you're my only hope.

Jason

Reply via email to