Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Web Service call


Level 2

Hi there,

I am trying to call a web service programmatically from a form but keep getting this error: service has no properties.

Can someone perhaps assist me with what I could be doing wrong?

My code is as follows:


var cURL = “”;

SOAP.wireDump = false;

var service = SOAP.connect(cURL);

var Input = {nFahrenheit:33};

var result = service.FahrenheitToCelcius(Input);;

} catch (e) {“The web service could not be invoked. This may either be because you are running in Reader instead of Acrobat,”

+ ” or you do not have a ReaderEnabled form, or the Web Service is unavailable.Underlying error: ” + e);




1 Reply


Level 10

I just ran the script successfully AFTER fixing the cURL. Try removing the space between ? and WSDL WSDL