[AXIS/WAS6.0] déployer un ws ?!?
bonjour,
voilà le problème: je veux déployer un ws sur WAS6.0 en remplacement d'un EJB.
Je développe avec Eclipse 3.2 et WTP 1.5.
WTP m'a généré un beau fichier deploy.wsdd, mais je ne sais qu'en foutre.
j'ai tenter de le copier en web-inf/server-conf.wsdd, mais je me prends un targetService is null quand j'essaye d'appeler le service. Si je ne fais pas cette copie, l'url http://monServeur/manApp/services/monService ne répond pas (No service is available at this URL).
qu'est-ce que j'ai raté ?
merci de votre aide !
un gros probleme avec axis
bonjour , j'ais un probleme pour deployer mon service web sous axis , je m'explique:
quand je fais la commande :C:\Tomcat 5.5\webapps\axis\WEB-INF\classes>java org.apache.axis.client.AdminClient deploy.wsdd
j'ais cette reponce:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/clien
t/AdminClient
je ne sais pas d'ou vien le probleme!!! j'ais verifié mes lib, j'ais defini une variable d'environement axis_libs qui contien ces bib:
%CATALINA_HOME%\webapps\axis\WEB-INF\lib\activation.jar;%CATALINA_HOME%\webapps\axis\WEB-INF\lib\axis.jar;%CATALINA_HOME%webapps\axis\WEB-INF\lib\axis-ant.jar;%CATALINA_HOME%webapps\axis\WEB-INF\lib\commons-discovery-0.2.jar;%CATALINA_HOME%webapps\axis\WEB-INF\lib\commons-logging-1.0.4.jar;%CATALINA_HOME%webapps\axis\WEB-INF\lib\jaxrpc.jar;%CATALINA_HOME%webapps\axis\WEB-INF\lib\log4j-1.2.8.jar;%CATALINA_HOME%webapps\axis\WEB-INF\lib\saaj.jar;%CATALINA_HOME%webapps\axis\WEB-INF\lib\servelet.jar;%CATALINA_HOME%webapps\axis\WEB-INF\lib\wsdl4j-1.5.1.jar
et qdj'applique la commande :
java -cp %axis_libs% org.apache.axis.client.AdminClient deploy.wsdd
je recois cette reponce:
Exception in thread "main" java.lang.NoClassDefFoundError: 5/5webapps\axis\WEB-INF\lib\activation/jar;C:\Tomcat
aidez moi SVP je suis perdue:cry:
Pb de deploiement d'un service web
Bonjour,
Lors de deploiement de mon service web j'ai l'erreur suivante:
java.lang.NoClassDefFoundError: deploy/wsdd
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
set OLD_CLASSPATH=%CLASSPATH%
set CLASSPATH=%CLASSPATH%;%CATALINA_HOME%\common\lib\activation.jar
set CLASSPATH=%CLASSPATH%;%CATALINA_HOME%\common\lib\mail.jar
set CLASSPATH=%CLASSPATH%;%AXIS_HOME%
set CLASSPATH=%CLASSPATH%;%AXIS_HOME%\lib\axis.jar
set CLASSPATH=%CLASSPATH%;%AXIS_HOME%\lib\jaxrpc.jar
set CLASSPATH=%CLASSPATH%;%AXIS_HOME%\lib\wsdl4j.jar
set CLASSPATH=%CLASSPATH%;%AXIS_HOME%\lib\commons-discovery.jar
set CLASSPATH=%CLASSPATH%;%AXIS_HOME%\lib\commons-logging.jar
set CLASSPATH=%CLASSPATH%;%AXIS_HOME%\lib\saaj.jar
set CLASSPATH=%CLASSPATH%;%AXIS_HOME%\lib\log4j-1.2.4.jar
set CLASSPATH=%CLASSPATH%;%CATALINA_HOME%\common\lib\xerces.jar
set CLASSPATH=%CLASSPATH%;%CATALINA_HOME%\common\lib\servlet-api.jar
set CLASSPATH=%CLASSPATH%;%CATALINA_HOME%\common\lib\naming-factory.jar
set CLASSPATH="%CLASSPATH%"
java -cp %CLASSPATH% org.apache.axis.client.AdminClient deploy.wsdd
set CLASSPATH=%OLD_CLASSPATH% |
pour mon fichier deploy.wsdd:
Code:
1 2 3 4 5 6 7
| <deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<service name="sommer" style="java:RPC">
<parameter name="className" value="sommer"/>
<parameter name="allowedMethods" value="*"/>
</service>
</deployment> |
je le met dans le repertoire axis avec le fichier sommer.jws
Merci d'avance