Highlighted

Query LDAP to XML

Ryan_Lunka

15-08-2008

I am having trouble using the Query Multiple LDAP to XML component. I have it configured right(?) in the workflow. I am trying to retrieve a couple of attributes about the user who is logged in. For now, I have a text box with an invoke button on my form to simulate the action of getting the logged in user.



In my process, if I hardcode a user in or if I invoke the process via the Components label it runs fine and returns the correct XML. If I try to invoke the web service via my form, I receive an "error attempting to read from file".



I have never queried the LDAP before and I am a little confused. Could anyone offer some help?

Replies

Highlighted

pguerett

18-08-2008

Senthil's response is only applicable if you are using Acrobat. Security is on by default for all web services calls in LC. If you are using Acro9 then it will display a dialog to allow you to enter credentials. If you are using version 8 or less then you will have to disable security for that wsdl. This is done in the adminui....applications and services.
Highlighted

Ryan_Lunka

18-08-2008

I have actually disabled the security for that service. I am thinking the problem is that the LDAP server has some sort of block on web service calls. Could that be the issue? All of my other web services (configured the same exact way) function just fine, and running the query in LiveCycle Workbench works fine. That leads me to believe that something is stopping the WSDL connection.
Highlighted

pguerett

18-08-2008

The workbench is making a web service call as well so it cannot be that. Is there anything in the server log? Are you using Reader or Acrobat?
Highlighted

Ryan_Lunka

18-08-2008

Acrobat 8 Pro. Yes, there is a server log error...



2008-08-18 10:46:15,908 INFO [STDOUT] ALC-DSC-213-000: com.adobe.idp.dsc.DSCException: No Credential or Context set



If you need the entire entry from the log, I can send it to you.
Highlighted

Ryan_Lunka

18-08-2008

We've tried it on 8.0 and 8.2 and it did not work on either. We are in the process of getting everything up to 8.2 now.
Highlighted

pguerett

18-08-2008

In 8.0 you will also have to diabale security on the LDAP service in 8.2 you can do a RunAs - System and it should now work.