Webservices (soap,rest,...) - Extraer valores de un XML con soapenv

 
Vista:
sin imagen de perfil

Extraer valores de un XML con soapenv

Publicado por Diego (1 intervención) el 19/05/2016 03:23:22
Amigos, tengo este codigo y necesito extraer el valor SUCCESS... he probado varias formas pero no me resulta, ayuda plis....

1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?xml version="1.0" encoding="UTF-8"?><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" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
 <soapenv:Header>
  <wsa:MessageID soapenv:mustUnderstand="0">uuid:022b9c90-1d5f-11e6-a51b-f1fac5582030</wsa:MessageID>
  <wsa:To soapenv:mustUnderstand="0">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
 </soapenv:Header>
 <soapenv:Body>
  <ns1:esb xmlns:ns1="http://www.col.cl/esb/gps">
   <head dte="2016-05-18 21:14:25.862" nemo="RHH"/>
   <response status="success" xmlns="" xmlns:gps="http://www.col.cl/esb/gps">
    <error/>
   </response>
  </ns1:esb>
 </soapenv:Body>
</soapenv:Envelope>
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder