I'm trying to prototype integration of a web service into a form in Acrobat X and am having problems getting a parameter to pass. If I call a method that has no parameters, the data is returned correctly. When I call a method that requires a parameter, no data comes back.
Testing the method by URL is successful - url test:(http://192.168.137.50:8080/FgApp/jaxws/LookupServiceImplEndPoint/findLookupByElement?element=State)
The following script "should" do the same, but the response body returned is empty:
var oListURL = "http://sever08dev:8080/FgApp/jaxws/ILookupServiceEndpoint?wsdl";
SOAP.wireDump = true;
var service = SOAP.connect(oListURL);
var Element = "State"
var Input = {element:Element};
var svcResponse = service.loadLookupsByElement(Input);
Is there something I'm doing wrong?
var oListURL = "http://192.168.137.50:8080/FgApp/jaxws/LookupServiceImplEndPoint?wsdl";
SOAP.wireDump = true;
var service = SOAP.connect(oListURL);
var Element = "State"
var Input = {element:Element};
var svcResponse = service.findLookupByElement(Input);