Bonjour à tous,
je suis débutant dans le domaine des services web. j'ai réussi à créer mon premier service (somme de deux entiers), et j'ai pu le déployer. mais au moment du test (quand je tape dans mon navigateur l'expression "http://localhost:8080/axis/sommer.jws?method=getsomme&a=2&b=3", j'obtient :
This XML file does not appear to have any style information associated with it. The document tree is shown below.
si vous avez une idée sur cette erreur prière de me proposer une solution.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Server.userException</faultcode> <faultstring> org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 108; Le type d'élément "amp" doit être suivi des spécifications d'attribut, ">" ou "/>". </faultstring> <detail> <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">hocine-PC</ns1:hostname> </detail> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope>
merci d'avance
Partager