[resolved] Can extract soap XML body but not the header?
Hi! I receive a soap response : <soap:Envelope xmlns:soap="" xmlns:xsi="" xmlns:xsd=""> <soap:Header> <ReturnDataHeader xmlns=""> <ReturnDataObject> <ReturnCode>0</ReturnCode> <BrokenBusinessRules/> </ReturnDataObject> </ReturnDataHeader> </soap:Header> <soap:Body> <ReportProductionLibraryResponse xmlns=""> <ReportProductionLibraryResult>Some data here</ReportProductionLibraryResult> </ReportProductionLibraryResponse> </soap:Body> </soap:Envelope>
I can successfully extract the ReportProductionLibraryResult in the body . I have no success in extracting the header and imagine it must be a newbie error of some kind. I have also tried the loop xpath to "/ReturnDataHeader" and the Xpath query to "./ReturnDataObject/ReturnCode" to no avail.