Bala
unread,Sep 16, 2011, 4:10:09 AM9/16/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to InterSystems: Ensemble in Healthcare
Hi,
I have build a SOAP Outbound adapter using the SOAP wizard and have
customized it as below:
I have used properties to get the user input for the
WebMethodName,ServiceName,Namespace,TypeNamespace and
CustomCredentials (to be passed in the soap header)
The customized code in the Business Operation is as below:
Set tSC
= ..Adapter.InvokeMethod("MsgRequest",,.any,..WebMethodName,..ServiceName,..Namespace,..TypeNamespace,..CustomCredentials)
Quit:$$$ISERR(tSC) tSC
In the webclient(class extending %SOAP.WebClient), I assign these
parameters passed in InvokeMethod to the parameters declared in the
Webclient.
On using the SOAP adapter to send messages to the target web
service(which is a .net WCF service), I get the following error
(trapped using a try catch block):
<ZSOAP>zInvokeClient+252^%SOAP.WebClient.1
I use 2 instances of this adapter, I get the error in both but, in
once instance the target webservice is able to receive the message all
the time and in the other instance, it does not work.
I tried copying the same user inputs to both instance but, it still
does not work.
Kindly let me what could be the problem.
Thank you,
Bala