2011-06-14 Nightly
Using the explicit namespace (commented out below) gets the desired result, using the "default" namespace does not.
Here is the first part of the response:
Using the explicit namespace (commented out below) gets the desired result, using the "default" namespace does not.
Code:
var msgDs = isc.DataSource .create({ ID : "msgDs", serviceNamespace : ecNamespace, xmlNamespaces: {ecgrid:"http://ecgridos.net/"}, recordName : "ParcelIDInfo", recordXPath : "//service:ParcelIDInfo", fields : [ { name : "InterchangeID", // valueXPath : "ecgrid:Interchanges/ecgrid:InterchangeIDInfo/ecgrid:InterchangeID" valueXPath : "default:Interchanges/default:InterchangeIDInfo/default:InterchangeID" },
Here is the first part of the response:
Code:
<?xml version="1.0" encoding="utf-8"?><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><ParcelOutBoxArchiveResponse xmlns="http://ecgridos.net/"><ParcelOutBoxArchiveResult><ParcelIDInfo><ParcelID>111436402</ParcelID><ParcelBytes>400</ParcelBytes><ParcelDate>2011-06-13T02:38:00</ParcelDate><NetworkIDFrom>99</NetworkIDFrom><NetworkNameFrom>ECGridOS Developer Network</NetworkNameFrom><NetworkIDTo>11</NetworkIDTo><NetworkNameTo>ECGrid Router PDX 11</NetworkNameTo><FileName>file1</FileName><MailbagControlID /><StatusDate>2011-06-13T02:38:33.35</StatusDate><StatusCode>M2400</StatusCode><StatusMessage>ECGRID-IN: Parcel Completed</StatusMessage><LocalStatus>0</LocalStatus><Valid>Valid</Valid><Direction>OutBox</Direction><Interchanges><InterchangeIDInfo><InterchangeID>46299824</InterchangeID><InterchangeProcessDate>2011-06-13T02:38:33.227</InterchangeProcessDate><NetworkIDFrom>99</NetworkIDFrom><NetworkIDTo>99</NetworkIDTo><Standard>X12</Standard><Bytes>400</Bytes><InterchangeControlID>000065264</InterchangeControlID><InterchangeDateTime>2002-05-
Comment