bonjour,
j'ai écrit une class qui fait un parcour d'un fichier xml et renvoi une chaine de caractère et mnt je veut creer un service web alors j'ai proceder comme
neodante explique dans son video (ca marche pour l'exemple sommer) mais pour le service chercher.jws et lors de l'appel de localhost:8080/axis/chercher.jws :
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