-------------------------------------------------------------------------------------
" &
"#userId#" &
"P" &
"" &
"" &
"3338889" &
"3338890" &
"3213A" &
"789283" &
"" &
"" &
"Alan Shipley" &
"1234 NE Main" &
"Portland" &
"OR" &
"97202" &
"800-555-1212" &
"youremail@yourcompany.com" &
"" &
"" &
"" &
"Albert Cod" &
"1234 NE Main" &
"Portland" &
"OR" &
"97202" &
"" &
"4444.44" &
"" &
"" &
"883885" &
"503.450.6436" &
"web.support@Con-way.com" &
"" &
"- " &
"44" &
"667" &
"widget-arms" &
"775" &
"" &
"N" &
"
" &
"- " &
"11" &
"789" &
"cam-shafts" &
"100" &
"" &
"N" &
"
" &
"GUR" &
"DID" &
"DST" &
"TEST TEST TEST" &
"" &
"" &
"#today#" &
"11:00 am" &
"7:00 pm" &
"Frank" &
"Franklin Arms" &
"(333)444-4321" &
"" &
"" &
"" />
bolStati = XmlSearch(bolResponse,statusTag);
if (ArrayLen(bolStati) EQ 0) bolStati = XmlSearch(bolResponse,errorTag);
bolStatus = bolStati [1].XmlText;
Sample ColdFusion MX for Con-way XML Rating
Sample ColdFusion MX Con-way Bill of Lading
Here is the Bill of Lading Response XML output:
Here is the data extracted from an XML tag: BOL Request Status: #bolStatus#
-------------------------------------------------------------------------------------