Friday, February 21, 2003

Doh! Query programs work so much better when you tell them what, exactly, you are querying. I had harvested the CHLReferenceNumber from the request response:

try{
CHLReferenceNumber = node.Attributes["CHLReferenceNumber"].Value;
} catch( Exception e){
throw new Exception(" get error: "+e.Message);
}

But I forgot to put the CHLReferenceNumber in my Response query. It's in there now:

node = xml.DocumentElement.SelectSingleNode("//EQUAL_RESPONSE_QUERY");
try {
node.Attributes["CHLReferenceNumber"].Value = CHLReferenceNumber;
} catch (Exception){
throw new Exception(" set error");
}

Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?