I am trying to trouble shoot our Nutrient Analysis Web Service client. However, it is difficult as I cannot seem to get a more detalied error message. I am using this C# line: Console.WriteLine("ResultCode: " + responseHeader.ResultCode);
But I only get a generic "RESULT_INVALID_INPUT" message. How do I get a more detailed messages such as "NUTRIENT_ANALYSIS_INVALID_SAMPLENUMBER" ?
The ResponseHeader holds the overall result of the web service, in the ResultCode, which is what you listed.
It also holds a list of tMessage entries via the Messages property/node, which contain the detailed errors. Each tMessage contains a MessageCode (e.g., "NUTRIENT_ANALYSIS_INVALID_SAMPLENUMBER") and a Description.