These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

SOAP: Giving Paramters to ASP WebService

mibu1mt
Registered: Mar 3 2011
Posts: 17

Hello,
 
I have a problem with an asp Webservice. I am using soap.connect() method. Like this:
 
var cURL1 = "http://sql/backend-webservice/datei.asmx?wsdl";
var datei_service = SOAP.connect(cURL1);
var succ = datei_service.SetTrimbox("test",1,2);
 
--> succ = false
 
Webservice-Method 'SetTrimbox' does not get any paramters ("test",1,2) from my script. This method should finally write the parameters back to a database. A string and two integers.
 
Do i have to use the request object? Could someone please post a quick example.
 
The Webservice does offer return values - e.g. a simple 'getString' webservice method without any input parameters to it does work.
  
Thank you very much,
Michael
   

My Product Information:
Acrobat Pro 10.0, Windows
mibu1mt
Registered: Mar 3 2011
Posts: 17
Can anyone help with this issue?
mibu1mt
Registered: Mar 3 2011
Posts: 17
found my own solution. in case anyone is interested:

asp webshop method needed an associative array object as input paramteter.
with key defined in webservice and value as string.

it works now.