Web Services

Syndicate content 13 

Hi all

I was just in the process of implementing a custom SOAP web service to receive a message with an embedded base64 encoded HL7 message when I noticed the above-mentioned OOTB service. I've been unable to find any documentation describing its use but it appears to expose a single operation named Send which takes a single parameter (a %Stream.GlobalCharacter) named Input. Does anyone know if this service is indeed useful and if so quite how the HL7 should be passed in? I haven't managed to poke it into doing anything so far and I'm wondering whether to continue developing my own service or whether this OOTB alternative is a better approach. (I've tried sending in the HL7 as text in which case the SAX parser complains, and as base64 encoded in which case I receive an empty response and nothing gets passed through to the router process.)

Thanks

Duncan

Last answer 16 September 2016
0   0 1
0

comments

218

views

0

rating

We can override soap body by using WriteSOAPBodyMethod. Something like:

Method Online(ByRef Obj1 As myClass1, Obj2 As myClass2, Output ObjOutput1 As myClass1Output(XMLNAME="Obj")) [ ..., WebMethod ]

{

              …

              s ..WriteSOAPBodyMethod="override"

              d (..WebMethod("Online","ProcessRequest")).Invoke($this,"Online",.Obj1,.Obj2,. ObjOutput1)

              s ..WriteSOAPBodyMethod=""

              …

}

Method override(proxy As %SOAP.ProxyDescriptor, tag As %String)

{

              …

}

In order to generate soap body, how can one  access  Obj1 and Obj2 from within the override method?

Last answer 13 July 2016
0   0 1
0

comments

165

views

0

rating