bonjour,
voila j'ai développé un petit service web (sommer) en utilisant tomcat 5.5 et axis 1.4 et le code sommer.jws que j'ai copier dans le dossier ./apach/webapp/axis et ca marche bien (j'ai le fichier wsdl.."http://localhost:8080/axis/sommer.jws?wsdl").mon problem c'est que je veut appeler un service qui accede a une fichier xml , j'ai une fichier essai.xml et une classe chercher.java et quand je compile avec jcreator ca marche bien (j'utilise jdom ), je rendre l'extension chercher.jws (je sais qu' ici peut etre la faute ) et j'ai copier les 2 fichier essai.xml et chercher.jws dans ./apach/webapp/axis et lors de l'appel http://localhost:8080/axis/chercher.jws m'affiche
There is a Web Service here
Click to see the WSDL
et quand je veut afficher la WSDL m'affiche cette erreur
AXIS error
Sorry, something seems to have gone wrong... here are the details:
Fault - Error while compiling: C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\jwsClasses\chercher.java
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.compileError
faultSubcode:
faultString: Error while compiling: C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\jwsClasses\chercher.java
faultActor:
faultNode:
faultDetail:
{}Errors:Error compiling C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\axis\WEB-INF\jwsClasses\chercher.java:
Line 2, column 0: package org.jdom does not exist
Line 3, column 0: package org.jdom.input does not exist
Line 4, column 0: package org.jdom.filter does not exist
Line 10, column 18: package org.jdom does not exist
Line 11, column -1: cannot find symbol
Line 15, column -1: cannot find symbol
Line 15, column -1: cannot find symbol
Line 0, column 0:
7 errors
quelqu'un a une idée??
merci
Partager