The attributes of the service WSDL element configure LDAP directory security information for the LDAP BC. The attributes specify the connectivity to the LDAP directory address element ldap:address. These attributes specify login information, security protocols, authentication type, and so on.
When you create a WSDL file in the NetBeans IDE, the New WSDL Document Wizard generates the address service definition. You can then edit the attributes of the address service. The following table describes the attributes available for this service.
Table 1 LDAP Address Element Attributes
The following example illustrates the LDAP service element:
<service name="LDAPService"
<wsdl:port name="LDAPPort" binding="tns:LDAPBinding>
<ldap:address location="ldap://ldapServer1:389"
principal = "cn=Manager,dc=sun,dc=com"
credential = "admin"
truststorepassword = "trustadmin"
truststoretype = "JKS"
keystore = "C:\security\ldap\keystore.jks"
keystorepassword = "keystoreadmin"
keystoreusername = "keystore"
keystoretype = "JKS"
tlssecurity = "NO"
ssltype = "Enable SSL"
authentication = "Simple"
truststore = "C:\security\ldap\trust.jks"
protocol = "SSL"
/>
</wsdl:port>
</service>
|