Index Changes

Creating a WSDL Document: Add Operation

In this section, create a WSDL Document using the Add operation. For this example, create AddWSDL.wsdl in the BPEL project. Use the Partner view of the WSDL editor to configure the components of the WSDL Document.

TCWSDLDADDLDAP

To Create a WSDL Document: Add Operation

  1. Expand the BPEL Module project node in the Projects tab.
  2. Right-click the project node or Process Files node.
  3. Select New —> WSDL Document...
    Image shows ...


    The New WSDL Document wizard appears.
  4. Type the File Name in the File Name field.
  5. Select Concrete WSDL Document.
  6. Choose the Binding — LDAP from the drop-down list.
  7. Choose one of the following Types from the drop-down list.
    • From LDAP Server
    • From LDIF File
      Image shows ...


  8. Click Next.
  9. Enter the Root DN and LDAP Server URL.
    Note _ DN is the base object entry search relative to. In the following image the Root DN is dc=sun,dc=com and the format of the LDAP Server URL is ldap://hostname:port.
  10. Click Advanced.

    Image shows ...



    The Advanced Login dialog box appears.
    Image shows ...


  11. Enter values for the fields describe in the following table:

Field Description Required Value
Principal Allows you to specify the principal needed when using an authentication mechanism other than the anonymous log-in (authentication = none). The fully qualified Distinguished Name (DN) of the user.
For example: cn=Administrator,cn=Users,dc=stc,dc=com
Credentials Allows you to enter the credentials needed when using an authentication mechanism other than anonymous log-in (authentication = none). The appropriate credentials, such as valid password.
SSL Connection Type Allows you to specify SSL connection type. Select None, Enable SSL, or TLS On Demand. Enter the desired value as follows:
*    None: No SSL, simple plain connection.
*    Enable SSL: SSL is enabled. All communication to the LDAP server uses a secure communication channel.
Note - If you are using the Enable SSL option, the ProviderURL property must point to a secure LDAP port.
Authentication Allows you to select the method authentication (none or simple). Select the desired authentication as follows:
*    None: No authentication, that is, an anonymous log-on. If you use this setting, ensure that the LDAP server supports anonymous log-ons if you are using this setting.
*    Simple: Authentication is based on a user name and password. Provide the user name and password in the appropriate fields (Use the Principal and Credentials).
Select None or Simple.
The default is None.
TrustStore Specifies the default TrustStore. The TrustStore is used for CA certificate management when establishing SSL connections.
Click Browse to select the trust store file.
A valid TrustStore file.
There is no default value.
TrustStore Type Allows you to specify the TrustStore type of the TrustStore used for CA certificate management while establishing an SSL connection. If the TrustStore type is not specified, the application uses JKS as the default TrustStore Type. A valid TrustStore type.
TrustStore Password Allows you to specify the default TrustStore password. The password is meant to access the TrustStore used for CA certificate management while establishing SSL connections. A valid TrustStore password.
There is no default value.
KeyStore Specifies the default KeyStore file. The keystore is used for key/certificate management while establishing SSL connections.
Click Browse to select the key store file.
A valid package location.
There is no default value.
KeyStore Type Allows you to specify the default KeyStore type. The keystore type is used for key/certificate management when establishing SSL connections. If the KeyStore type is not specified, the default KeyStore type is used. A valid KeyStore type.
KeyStore Username The user name for accessing the keystore used for key/certificate management when establishing SSL connections. A valid KeyStore user name.
KeyStore Password Specifies the default KeyStore password. The password is used to access the KeyStore used for key/certificate management when establishing SSL connections; there is no default. A valid KeyStore password.
There is no default value.
TLS Security Specifies whether TLS security is enabled. The default value is NO


12    Click OK to close the Advanced Login Dialog.
13    Click Next.
         The New WSDL Document — Operation Setting dialog box opens.

Note - You can perform any one of following operations.
  • Search
  • Add
  • Update
  • Delete


14    Click the Add tab.

Image shows ...


       Select the following Object Class:
       *    person
       *    inetOrgPerson
            Click the down arrow to move them from the top-left pane to the bottom-left pane.

Note - The attributes related to the schema are selected.
             Each schema is made up of a set of attributes.


       For example,
       *    person — person.sn and person.cn
       *    inetOrgPerson — inetOrgPerson.uid and inetOrgPerson.mail
            They are represented as follows:
             schemaname.Attributename
             a    sn — Surname
             b    cn — Common Name
             c    uid — Unique id
             d    mail — Email

Note - Use the down arrow to move the selected Object Class or Attributes from the top-left pane to the bottom-left pane. Use this to also move from the top-right pane to the bottom-right pane.

Image shows ...


15    Set any one of the Attributes to Relative Distinguished Name (RDN).
         A Relative Distinguished Name (RDN) is a component of the distinguished name.
         For example, cn=John Doe, ou=People is a RDN relative to the root RDN dc=sun.com.

Image shows ...


         For example, Set inetOrgPerson.uid = RDN
16    Click Finish.
         The illustration is as shown.

Image shows ...


    A tree structure is formed as follows:
       a    AddWSDL.wsdl — Target WSDL
       b    AddWSDLAdd.xsd
       c    LdapBase.xsd


Previous


Next
Create a WSDL Document For Type : SOAP



See Also


Return to Working With the LDAP Binding Component

JSPWiki v2.4.100
[RSS]
« Home Index Changes Prefs
This page (revision-43) was last changed on 15-May-09 11:13 AM, -0700 by CarolT