I have used Studio's schema wizard to create classes representing my XML structure as defined in an xsd file and then I use the main class of that set of classes as parameter in my Ensemble web service.
Let's say I have a web method signature like this:
Method myMethod(message As My.Schema) As %String [ WebMethod ]
How do in that method take this message and convert it into a EnsLib.EDI.XML.Document?
My.Schema extends both
EnsLib.EDI.XML.Document has for instance a method ImportFromString so maybe I should somehow first convert that message to string or what should I do?