I still have problems generating wsdl for my web services. I am running jboss-3.2.1_tomcat-4.1.24 on OS X 10.3.2 with java build 1.4.1_01-99. "axis-1_1/webapps/axis" works very well. Both happyaxis, EchoHeaders and generating wsdl works.
I have created a minimal project to demonstrate the problem:
./build.xml - "ant war" creates dist/axistest.war
./lib - The libs from "axis-1_1/webapps/axis/WEB-INF/lib/"
./src/axistest/Version.java - My service class. Has only one methode: public String getVersion()
./src/EchoHeaders.jws - copied from "axis-1_1/webapps/axis"
./src/fingerprint.jsp - copied from "axis-1_1/webapps/axis"
./src/happyaxis.jsp - copied from "axis-1_1/webapps/axis"
./WEB-INF/server-config.wsdd - see below
./WEB-INF/web.xml - copied from "axis-1_1/webapps/axis"
This is the server-config.wsdd: <?xml version="1.0" encoding="UTF-8"?> <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <service name="VersionService" provider="java:RPC"> <parameter name="allowedMethods" value="*"/> <parameter name="className" value="axistest.Version"/> </service> </deployment>
The minimal project is 2MB and can be downloaded from: http://www.pvv.ntnu.no/~halset/tmp/axis/axistest.tgz
This project looks very similar to the demo webapp included with axis-1.1, but my version has a problem: It can not generate a wsdl for the "VersionService" and for EchoHeaders.jws. happyaxis seem to by happy.
http://localhost:8080/axistest/services * "And now... Some Services": works
http://localhost:8080/axistest/services/VersionService * "Hi there, this is an AXIS service!": works
http://localhost:8080/axistest/services/VersionService?wsdl * "Could not generate WSDL! There is no SOAP service at this location"
http://localhost:8080/axistest/happyaxis.jsp - seem to be happy
http://localhost:8080/axistest/EchoHeaders.jws
* NPE when axistest.war are deployed as a single war-file
* shows "There is a Web Service here Click to see the WSDL" when deployed as a directory
http://localhost:8080/axistest/EchoHeaders.jws?wsdl * "Could not generate WSDL! There is no SOAP service at this location"
It would be very nice if I could get some help resolving this problem.
Regards, - Tore.
