One of the most common use cases for LiveCycle ES is to provide Services that auto complete field information in forms. For example, an employee’s name and address or manager name etc. This is typically done by authoring an LiveCycle Service that queries your corporate LDAP Server. Then the LiveCycle Service is invoked as a Web Service by the Form in response to a button push or tab transition

In this demo, we look at the basics for authoring a LiveCyce process that uses LDAP to get information you typically need for a Form. Then we look at how that Service is exposed by LiveCycle via a WSDL for binding to the Form. I also show a little bit of Reader Extensions and how to configure secure web services.
Part 1 -Introduction, Start writing a simple LDAP based process: http://my.adobe.acrobat.com/p18043768/
Part 2 -Expand the process to use multiple LDAP searches: http://my.adobe.acrobat.com/p11371597/
Part 3 -Call as a secure Web Service from a Form: http://my.adobe.acrobat.com/p68963614/
If you would like more detail/background on Workbench, check out theĀ Best Practice guide on Adobe Developer Connection and on Greg Wilson’s Blog
Gary, thanks for this, this was a great tutorial. How do I call the process from workspace? I have the form set up, and tried to create a dummy main process that really did nothing, but I’m getting an ALC-WKS-007-040) Error ocurred creating the form.
I created LDAP process GetLDAPUser, then I created a form just like the one you have in the demo. Then I created a process that would take this form as input and really do nothing with it, but I did that so I could create an endpoint for that process so I could use it in workspace.
Please advise, thanks very much!
Elaine
Gary, thanks for this, this was a great tutorial. How do I call the process from workspace? I have the form set up, and tried to create a dummy main process that really did nothing, but I’m getting an ALC-WKS-007-040) Error ocurred creating the form.
the log files says: “malformed pdf or data”.
I created LDAP process GetLDAPUser, then I created a form just like the one you have in the demo. Then I created a process that would take this form as input and really do nothing with it, but I did that so I could create an endpoint for that process so I could use it in workspace.
Please advise, thanks very much!
Elaine
Hi, Elaine,
As with any form/pdf used to start a process in workspace you need to define a “form variable” in a long lived process, point the form variable to your form stored in the LC repository and set it as in input variable. We put together a little guide here: http://www.google.com/url?sa=t&source=web&ct=res&cd=1&url=http%3A%2F%2Fhelp.adobe.com%2Fen_US%2Flivecycle%2Fes%2Fcreatefirstapp.pdf&ei=CXyKSbSjB4TcNPiUiNsP&usg=AFQjCNHKbKqw2F6RjWNygVubKMdNLJJTMw&sig2=ukhxPYfdD-XhrRAY9Op_lA
Also if that does not help, send me your process (export it by right clicking the process in the process tree in workbench) then I can loot at it and send it back.
Thanks Gary. The problem turned out to be that my process used an xdp file and I had to override the default render service (now, that was an effort in itself!).