I am struggling to find how to map a XML parameter of a service to a C# type.
Currently I have that:
public static void PutWorkOrder(
[ThingworxServiceParameter(name = "WorkOrder", description = "XML document", baseType = "XML")]
But I am not sure that XmlDocument is the right type for mapping . ( Always null when debugging)
Thanks a lot
Solved! Go to Solution.
This looks like a small portion of the code. Is there somewhere else in the code where you loading in the XML document?
Glad you figured it out! Please mark your last response as the Accepted Solution for the benefit of others with the same issue.