we want to call a web service from a button in the pdf.
While calling this service we want to pass all pdf form fields data in the form XML into the services.
do you have any examples for that?
We tried so many code as given the google and in adobe api reference but it is not connecting.
console.println("");
var myRequest = {Celsius: "50"};
var service;
try
{
service = SOAP.connect( "http://www.w3schools.com/webservices/tempconvert.asmx?WSDL")
app.alert(service );
}
catch(e)
{
app.alert(e);
}
try
{
var response = service.CelsiusToFahrenheit(myRequest);
console.println("value = " + response);
}
catch(e)
{
app.alert(e);
}
While calling this service we want to pass all pdf form fields data in the form XML into the services.
do you have any examples for that?
We tried so many code as given the google and in adobe api reference but it is not connecting.
console.println("");
var myRequest = {Celsius: "50"};
var service;
try
{
service = SOAP.connect( "http://www.w3schools.com/webservices/tempconvert.asmx?WSDL")
app.alert(service );
}
catch(e)
{
app.alert(e);
}
try
{
var response = service.CelsiusToFahrenheit(myRequest);
console.println("value = " + response);
}
catch(e)
{
app.alert(e);
}
Comment