Kirk:
I’m a newbie to webMethods 6 also, so…
At the VERY simplest level (one directory entry returned, single-valued attribute), what works for me is to create a document that contains a string variable with the name of the attribute, and then, in the pipeline, just connect the ldapsearchresults output to that document - and webMethods automagically does the mapping.
So, in your case, you would need a document with a string variable named “erpid”. And from there, you can do additional processing
It gets more complicated from there (which is what I’m working with now)
- multivalued attributes are returned in string lists, not strings
- multiple directory entries are returned in multiple documents (since ldapSearchResults is a document lists)
- error handling
Best of luck!
#Flow-and-Java-services#webMethods#Integration-Server-and-ESB