PDA

View Full Version : Axis ??? wsdl 404


texerasmo
10-10-2007, 13:53
faccio questa chiamata ma ho un 404 in risposta

http://localhost:8080/snetoaxis/services/urn:SalutoWS?wsdl


incollo il mio wsdd che si trova sotto WEB-INF

<deployment
xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<service name="urn:SalutoWS" provider="java:RPC">
<parameter name="className" value="miopackage.SalutoWS"/>
<parameter name="allowedMethods" value="saluto"/>
<parameter name="scope" value="Request"/>
</service>
</deployment>


Ho fatto un cliet che richiama La Classe SalutoWs e il metodo saluto e tutto funziona.

Come mai via web ho quel 404?

texerasmo
10-10-2007, 14:33
Questo è l'errore

AXIS error

Could not generate WSDL!

There is no SOAP service at this location


infatti
Note: On Tomcat 4.x and Java1.4, you may need to put libraries that contain java.* or javax.* packages into CATALINA_HOME/common/lib
jaxrpc.jar and saaj.jar are two such libraries.

Note: Even if everything this page probes for is present, there is no guarantee your web service will work, because there are many configuration options that we do not check for. These tests are necessary but not sufficient

ma non so come settare CATALINA_HOME dentro common/lib ho messo le librerie di axis