how to parse a soap request to get required data in c

Apargoger

New Member
I am using libxml2 library for parsing the xml files and succeeded to get the required data. But is the same library is sufficient to parse the soap request as shown and get\[code\]<?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"><soapenv:Header><ns1:TransactionID soapenv:mustUnderstand="1" xsi:type="xsd:string" xmlns:ns1="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1- 2">0a00f556419041c08d8479fbaad02a3c</ns1:TransactionID></soapenv:Header><soapenv:Body><SubmitRsp xmlns="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2"><MM7Version>5.3.0</MM7Version><Status><StatusCode xsi:type="ns2:responseStatusType_StatusCode" xmlns:ns2="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2" xmlns="">1000</StatusCode><StatusText xsi:type="ns3:statusTextType" xmlns:ns3="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2" xmlns="">Success</StatusText></Status><MessageID>B08CF7B847DAD89C752334BDEBB69B5B</MessageID></SubmitRsp></soapenv:Body></soapenv:Envelope>\[/code\]and get the messageID transactionId values as soap is also similar to xml file, i have tried to parse the file using libxml2, which resulted in a error. sorry for my ignorance as i am completely new to this web services thingI need to do in only c can someone suggest me how to do it, or which library i have to look into
 
Back
Top