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 %Persistent and %XML.Adaptor so I guess there should be some simple way to create an instance of EnsLib.EDI.XML.Document out of it?
EnsLib.EDI.XML.
