This might be a very simple rookie question but I'm trying to create couple of web services in Ensemble and using document below as my tutorial, I do manage to do it:
But instead of doing it as described above, where method signature is like this:
Method GetCustomerInfo(ID As %Numeric) As ESOAP.SOAPResponse [WebMethod]
I would like it to be:
Method GetCustomerInfo(valid XML against schema1) As valid XML against schema2 [WebMethod]
because I'm trying to replicate a web service from another non-Intersystems platform and I have schema that web service request should follow and schema that web service response should follow.
I know how to import these schemas in Ensemble and can then use them as source and target types in data transformations but I have no idea how to use these schemas to define format of my web service's request and response?
Any help much appreciated!