I having soap request and response xml in seperate file. i need to parse it and get the data from soap xml file.
using C program
I know it is possible with libxml2.
Is it there any other way to parse ?
Is there any facility available in gsoap to parse?

sample soap response here

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<ns1:muestraHuellaDigitalAvanzadoResponse xmlns:ns1="http://servicio.SMSservicio.secuenzia.com">
<ns2:out xmlns:ns2="http://servicio.SMSservicio.secuenzia.com" xmlns="http://util.SMSmodelo.secuenzia.com">
<codResultado>00</codResultado>
<msgResultado>OK.</msgResultado>
</ns2:out>
</ns1:muestraHuellaDigitalAvanzadoResponse>
</soap:Body>
</soap:Envelope>

I am using liux ubuntu and gcc compliler for developement.
Some one suggest me best way to parse soap xml using C program.
Thanks..

Recommended Answers

All 2 Replies

gsoap not providing any library to parse soap request and response xml. gsoap used to send request and get respose..
Actually my need is. soap request and response xml file alredy generated. i need to parse it with the help of wsdl file.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.