WrapArray for displaying XML/SOAP response

This is a discussion on "WrapArray for displaying XML/SOAP response" within the JavaScript Forum section. This forum, and the thread "WrapArray for displaying XML/SOAP response are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Nov 17th, 2007, 00:18
New Member
Join Date: Nov 2007
Location: west coast
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
WrapArray for displaying XML/SOAP response

This code should display values being returned in a SOAP/XML array of user names (strings) and their permissions (strings). The debugger/variables tool I am using at breakpoints shows the values are being returned in the XML response, but I can't get them to print in the TDOutput window. The line, "User: undefined" prints for every user in the DB. Any ideas what is wrong here? Thanks for any help.

// call SOAP method : ArrayOf_tns3_IcpUser getUsers ( )
var result2; // Array of String
result2 = soapIcpTransactionAdapterService.getUsers();
result2 = XTools.WrapArray(result2);
for (i = result2.lbound(); i <= result2.ubound(); i++) {
node = result2[i];
TDOutput.Print("User: "+node);
}
Reply With Quote

Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] AJAX - Getting and displaying the response? future448 JavaScript Forum 4 Oct 16th, 2007 19:58
Cant figure out senton and response Foobster ASP.NET Forum 0 Aug 15th, 2007 10:01
chiropractic soap notes Rob Webforumz Cafe 1 Jan 30th, 2007 10:49
whats soap? benbacardi Other Programming Languages 6 Feb 10th, 2005 17:00


All times are GMT. The time now is 09:58.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43