var
oListURL = "http://localhost:3612/WebSite18/Service.asmx?WSDL";
var
e;
try
{
xfa.host.messageBox("starting List Retrieval.");
var
service = SOAP.connect(oListURL);
if
(typeof service != "object")
{
xfa.host.messageBox("Couldn't get List object.");
}
if
(service.getAllServiceNames == "undefined") {
xfa.host.messageBox("Couldn't get getAllServiceNames Call.");
}
var
oItems = service.getAllServiceNames();
if
(oItems == null) {
xfa.host.messageBox("List empty.");
}
var
ncount = 0;
var
nLimit = 10;
for
(var nItemCount in oItems)
{
for
(var nItemNode in oItems[nItemCount])
{
if
(nItemNode == "name")
DropDownList1.addItem(oItems[nItemCount][nItemNode]);
}
if
(++nCount >= nLimit)
break
;
}
}
catch
(e)
{
xfa.host.messageBox("Problem with list Call: "
+ e);
}
I keep getting an error of
getAllServiceNames is not a function here is my code is straight out of the book. im basically trying to do a webservice call to and get the info via a webservice. any help would be appreciated.
what im i doing wrong?
Views
Replies
Total Likes
bump any ideas anyone?
Views
Replies
Total Likes
Please repost this to the LiveCycle Designer ES forum.
Steve
Views
Replies
Total Likes