How to pass string array as parameter to web service method


hi,

have design form in adobe live cycle designer interacts web services.i use javascript coding call web service method. web service method written in asp.net(c#) accepts string array input parameter , returns string output.i able pass simple string parameter method , works fine not able pass string array input parameter method.this code

soap.wiredump = false;
var clisturl = "http://localhost:1738/wbscatalog/service.asmx?wsdl";
var service = soap.connect(clisturl);
if(typeof service != "object")
console.println("couldn't list object");
if(service.getavailableqty == "undefined")
console.println("couldn't getallservicenames call");
var result = service.getavailableqty({"itemnos":itemnostr});

"itemnos" name of string array parameter used in .net webservice method definition , itemnostr actual string array contains values.

please me out.thanks in advance help.



More discussions in LiveCycle pre-ES (6.x and 7.x) discussions


adobe

Comments