Hi all,
I am trying to read an XML file which is basically the output of a SOAP call. The top part of the XML looks like this:
<soap:Envelope xmlns:soap="
http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="
http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ICGetWhseProductListV3Response xmlns="Infor.WS">
<ICGetWhseProductListV3Result>
<errorMessage/>
<moreRecordsFlag>false</moreRecordsFlag>
<arrayWhseprod>
<ICGetWhseProductListV3.output.Whseprod>
<prod>001-5B201-H01</prod>
<whse>CAL</whse>
.
.
.
ICGetWhseProductListV3.output.Whseprod is the element I want to loop on so I tried to set my Loop Xpath query for my tFileInputXML component to this:
"/*/ICGetWhseProductListV3Response/ICGetWhseProductListV3Result/arrayWhseprod/ICGetWhseProductListV3.output.Whseprod"
I've tried a few variations and I keep getting this error:
Error on line 3 of document : The prefix "soap" for element "soap:Envelope" is not bound. Nested exception: The prefix "soap" for element "soap:Envelope" is not bound.
I've probably got something small incorrect. What am I missing?