Supporting LDAP Server Entries Through Data Services This page last changed on Jan 01, 2009.
Authors | Scott Cranton, John Jerney
Version | Oracle Data Service Integrator 10gR3
# How To Support LDAP Server Entries Through Data Services
| Prefer all related topics on a single page? Click here.
Oracle Data Service Integrator enables you to create physical data services based on Java functions. The example described in this topic focuses on creating a physical data service based on a set of functions that can access and update entries in an LDAP server. Specifically, the example: Shows how to build and test a sample application configured to work, by default, with the LDAP server embedded in WebLogic server. Provides step-by-step instructions for creating the physical data service based on the Java functions. Shows how to create an operation in a logical data service to test the physical data service against the embedded LDAP server. #### Topic Map Exploring the Sample Application Working with the Sample Application Related Topics ### Exploring the Sample Application The sample application, located in the `DspLdapWrapper.java` file, contains the following Java functions that you can use to create corresponding operations in a physical data service:
Java Function | Description
--- | ---
`createPerson()` | Create an entity for a person on the LDAP server.
`deletePerson()` | Remove a person from the LDAP server.
`getAllPersons()` | Retrieve all persons in the LDAP server.
`getPersonByUserId()` | Retrieve a record from the LDAP server identified by the specific ID.
`updatePersonSDO()` | Update a record on the LDAP service using SDO.
`updatePersonXMLBean()` | Update a record on the LDAP service using XMLBeans.
1. ### Working with the Sample Application Working with the sample application to create the physical data service involves the following steps: Create the sample application. This involves setting up your Ant environment, editing the `build.properties` file, configuring the WebLogic embedded LDAP server, and building the Java application.
   | See Building a Java LDAP Application for step-by-step instructions on how to create the sample application.
2. Create the physical data service based on the Java functions in the sample application.
   | See Creating the Physical Data Service for the LDAP Sample for details about how to create the physical data service using the sample application.
### Related Topics ##### How Tos Building a Java LDAP Application Creating the Physical Data Service for the LDAP Sample Testing an LDAP-Based Operation Create a Physical Data Service from a Java Function (general description)

Document generated by Confluence on Jan 13, 2009 15:16