Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Integration / Customization
IPA/ProcessFlow
Web Service NOde - Detect EOF marker
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Jeffin Joy
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
4988
People Online:
Visitors:
44
Members:
0
Total:
44
Online Now:
New Topics
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1377
Roger French
1315
mark.cook
1244
Chris Martin
825
Forums
Filtered Topics
Unanswered
Unresolved
Active Topics
Most Liked
Most Replies
Search Forums
Advanced Search
Prev
Next
Forums
Integration / Customization
IPA/ProcessFlow
Web Service NOde - Detect EOF marker
Please
login
to post a reply.
1 Replies
0
Subscribed to this topic
53 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
TomD
Basic Member
Posts: 7
7/26/2010 6:49 PM
I'm using the Web Service Node in the PFI. My WS returns one or more records in the XML data stream. How do I detect the last record or EOF so I know when to stop processing. In PFI WS node, you can access each data element from WS using the array (0). Is there a max array counter that the PFI tool provides for us to use?
thanks,
Tom.
TomD
Basic Member
Posts: 7
8/3/2010 1:38 PM
Split
I found the answer I needed it. WS returns a XML Object with one or multiple elements. To find out how many elements in the returned xmlOject, you would need to use the length() function. for example: xmlOject.length()
This will return the max number of elements in your Oject. You would then create a JavaScript routine to loop through these elements to access your xml data fields returned from the WS. e.g. xmlOject::dataElement(x).
Please
login
to post a reply.