Hi,

I want to write a pipeline that will take a file with LDAP ids and lookup the email addresses for each, returning all the addresses at once.....so the input would be something like:

   <email-lookup-request>
       <ldap>id-1</ldap>
       <ldap>id-2</ladap>
       ...
       <ldap>id-n</ladap>
   </email-lookup-request>

and the output something like:

   <email-lookup-result>
       <person>
          <ldap>id1</ldap>
          <email>[EMAIL PROTECTED]</email>
       </person>
       <person>
          <ldap>id2</ldap>
          <email>[EMAIL PROTECTED]</email>
       </person>
       ...
       <person>
          <ldap>idn</ldap>
          <email>[EMAIL PROTECTED]</email>
       </person>
   <email-lookup-/result>

The ldap processor can only do one filter at a time so I started writing this by doing a p:for-each, and looking up each in turn. My problem is that I cant think how to go about aggregating the individual results into the overall result document - how can I do this? I feel like there is going to be a very obvious answer to this, but my mind has gone temporarily blank!

David Sinclair.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to