Hello,
I'm trying to call a web service from a Mirth Channel transformer javascript using apache axis library (which it's supposed to be deployed with Mirth). I've tried using the following java script, but it does not work:
/*importPackage(java.net);
importPackage(org.apache.axis.client.Call);
importPackage(org.apache.axis.client.Service);
importPackage(javax.xml.namespace.QName);*/
var endpoint = 'http://tempuri.org/IService1/';
var service = org.apache.axis.client.Service();
var call = service.createCall();
call.setTargetEndpointAddress( new URL(endpoint) );
call.setOperationName(new QName('http://soapinterop.org/', 'SayHello'));
var ret = call.invoke('John Doe');
Any idea?
Thanks.