XML Webservice
Estou tentando consumir o XML, porém, utilizando o XML Document não consigo pegar as informações contidas na TAG response, algúem já passou por isso?
Cadu Zenor
Curtidas 0
Mais Respostas
Raylan Zibel
05/05/2016
Já debugou pra ver o real conteúdo do retorno?
GOSTEI 0
Cadu Zenor
05/05/2016
Ainda não, deixa eu mostrar o código.
<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> <ns1:getCardInfoByPanVasExternalResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://webservices.client.smartware.nch.it"> <getCardInfoByPanVasExternalReturn xsi:type="xsd:string"><![CDATA[<response> <idSessione>935101368158209280</idSessione> <esitoOperazione>0000</esitoOperazione> <content> <nome>B</nome> <cognome>A</cognome> <cards> <card> <numeroCarta>000000000000055</numeroCarta> <statoCarta>B</statoCarta> </card> </cards> </content> </response>]]></getCardInfoByPanVasExternalReturn> </ns1:getCardInfoByPanVasExternalResponse> </soapenv:Body> </soapenv:Envelope>
GOSTEI 0