Expand my Community achievements bar.

Calling web service.

Avatar

Level 4

Hello,

I have designed a form in Livecycle designer in which I am calling web service of coldfusion using javascript, passing a xml file as parameter, so here is the code but not working. But I want to ask that is this the currect way of calling web service-

var cURL = "http://ad/web_service.cfc?wsdl";

SOAP.wireDump = false;

var service = SOAP.connect(cURL);

var result = service.addXml( sample.xml );

app.alert(result );

Is this the currect way to call a service by passing xml file as parameter?

Thanks,

Debadas Baral.

0 Replies