How you do get the fault response InStream (or for that sake, file) from the HttpWebRequest, without modifying C1297?
NAV is posting to a webservice that returns status 422, which means that there are errors in the data supplied. I'm trying to find a way to get this information for further processing. Right now I just get the status "422 Unprocessable Entity", but not the response body.
It seems that SetTraceLogEnabled actually does this, but I'm unable to get the file name, and I'd prefer a stream anyhow.
0
Answers
DotNetExceptionHandler: COD1291
Find other types in COD1299.GetWebResponseError
I.e. I don't have to think about scopes, parameters, references or anything like that. Confusing!