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.
|
|
|
|
|
![]() |
||
WrapArray for displaying XML/SOAP response
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
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); } |
|
|
![]() |
| Thread Tools | |
|
|
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 |