J'ai écrit un SpringWS qui a fonctionné jusqu'il y a deux jours. Que s'est-il passé il y a deux jours. Comme mon easyEclipseServer commencait à foirer , j'en ai profité pour passer en Eclispe ganymede. Mon SpringWS a été réalisé à partir de mon ancien éclipse.
Le message d'envoi du client via TCPMon est
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
 
POST /hrsearcher/ws/ HTTP/1.0
Host: 127.0.0.1:8088
Content-Type: text/xml; charset=utf-8
Content-Length: 404
SOAPAction: ""
 
<?xml version='1.0' encoding='UTF-8'?>
   <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <SOAP-ENV:Body>
         <MilitaryRequest xmlns="http://127.0.0.1:8080/hrsearcher/schema/hrSearch">
            <matriculation>Rom</matriculation>
         </MilitaryRequest>
      </SOAP-ENV:Body>
   </SOAP-ENV:Envelope>
Maintenant le message de retour que me donne TCPMon
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 
HTTP/1.1 500 Erreur Interne de Servlet
Server: Apache-Coyote/1.1
Accept: text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
SOAPAction: ""
Content-Type: text/xml;charset=utf-8
Content-Length: 453
Date: Thu, 05 Feb 2009 11:04:32 GMT
Connection: close
 
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <SOAP-ENV:Fault>
         <faultcode>SOAP-ENV:Server</faultcode>
         <faultstring xml:lang="en">Could not access envelope: Unable to create envelope from given source: ; nested exception is com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: </faultstring>
      </SOAP-ENV:Fault>
   </SOAP-ENV:Body></SOAP-ENV:Envelope>
Le wsdl ainsi que le .xsd est toujours accessible et correct
Je ne comprend pas ce qu'il c'est passé
Encore une petite chose, J'utilise tomcat 5.5

Merci de votre aide