xmlsearch soap body
Hi,
When I try to do xmlsearch on the soap body, I got this error message: "An error occured while Searching an XML document. Prefix must resolve to a namespace:". Basically I need to pull out MsgText and MsgLevel values for error checking and verifying. Thanks
Here is the SOAP/XML structure
<?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>
<UpdateObjectResponse xmlns="http://website.com/">
<UpdateObjectResult>
<xs:schema id="Test" xmlns="" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element msdata:IsDataSet="true" msdata:UseCurrentLocale="true" name="Test">
<xs:complexType>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element name="Messages">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="MsgText" type="xs:string"/>
<xs:element minOccurs="0" name="MsgLevel" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
<diffgr:diffgram xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<Test xmlns="">
<Messages diffgr:hasChanges="inserted" diffgr:id="Messages1" msdata:rowOrder="0">
<MsgText> An Error Occurred Creating Transaction was rolled back</MsgText>
<MsgLevel>100</MsgLevel>
</Messages>
</Test>
</diffgr:diffgram>
<UpdateObjectResult>
</UpdateObjectResponse>
</soap:Body>
</soap:Envelope>
