Bonjour,
Actuellement je met en place un web service pour cela j'ai généré en Java les classe à partir de l'url :
https://ws.colissimo.fr/pointretrait...ServiceWS?wsdl
(findPointRetraitAcheminementByID)
puis j’appelle une fonction qui me retourne la liste des points relais dans un fichier xml (soap) :
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:findPointRetraitAcheminementByIDResponse xmlns:ns1="http://pointretrait.geopost.com/">
<return>
Web Service SO Livraison
Version 3.3 – juin 2012
29
<errorCode>0</errorCode>
<errorMessage>Code retour OK</errorMessage>
<pointRetraitAcheminement>
<accesPersonneMobiliteReduite>true</accesPersonneMobiliteReduite>
<adresse1>2 RUE DU GENERAL LECLERC</adresse1>
<adresse2></adresse2>
<adresse3></adresse3>
<codePostal>85460</codePostal>
<congesPartiel>false</congesPartiel>
<congesTotal>false</congesTotal>
<coordGeolocalisationLatitude>46.3337</coordGeolocalisationLatitude>
<coordGeolocalisationLongitude>-1.29712</coordGeolocalisationLongitude>
<distanceEnMetre>-1</distanceEnMetre>
<horairesOuvertureDimanche>00:00-00:00 00:00-00:00</horairesOuvertureDimanche>
<horairesOuvertureJeudi>09:00-12:00 14:00-16:30</horairesOuvertureJeudi>
<horairesOuvertureLundi>09:00-12:00 14:00-16:30</horairesOuvertureLundi>
<horairesOuvertureMardi>09:00-12:00 14:00-16:30</horairesOuvertureMardi>
<horairesOuvertureMercredi>09:00-12:00 14:00-16:30</horairesOuvertureMercredi>
<horairesOuvertureSamedi>09:00-12:00 00:00-00:00</horairesOuvertureSamedi>
<horairesOuvertureVendredi>09:00-12:00 14:00-16:30</horairesOuvertureVendredi>
<identifiant>850010</identifiant>
<indiceDeLocalisation/>
<listeConges>
<calendarDeDebut>2009-12-18T00:00:00.000+02:00</calendarDeDebut>
<calendarDeFin>2010-01-04T00:00:00.00+02:00</calendarDeFin>
<numero>1</numero>
</listeConges>
<localite>L AIGUILLON SUR MER</localite>
<nom>BUREAU DE POSTE L AIGUILLON SUR MER BP</nom>
<periodeActiviteHoraireDeb>13/07</periodeActiviteHoraireDeb>
<periodeActiviteHoraireFin>31/12</periodeActiviteHoraireFin>
<poidsMaxi>20000</poidsMaxi>
<typeDePoint>BPR</typeDePoint>
<distributionSort/>
<lotAcheminement/>
<versionPlanTri/>
</pointRetraitAcheminement>
</return>
</ns1:findPointRetraitAcheminementByIDResponse>
</soap:Body>
</soap:Envelope>
je voudrais savoir comment parcourir de ce fichier afin de récupérer chaque valeur de fichier pour les afficher dans mon site web
Partager