[Users] Component Development : LDAP Component

Carine OB petals-components at ebmwebsourcing.com
Wed Mar 16 10:27:22 CET 2011


Thanks Adrien,

I can now retrieve the login element from my soap message :


Code:

getLogger().info("getLength >" + inputDocument.getChildNodes().getLength() + "<");
Node node = inputDocument.getChildNodes().item(0);
String userLogin = node.getTextContent();
getLogger().info("userLogin >" + userLogin + "<");




This code return :
[petals.container.components.openbridge-bc-ldap]-INFO 2009-02-12 18:09:50,978 getLength >1<
[petals.container.components.openbridge-bc-ldap]-INFO 2009-02-12 18:09:50,979 userLogin >openbridge<


But, I don't retrieve the password. I don't understand why inputDocument.getChildNodes().getLength() return 1 and not 2...

Thanks,
Carine.




-------------------- m2f --------------------

Read this forum topic online here:
http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=501#501

-------------------- m2f --------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20110316/b2bce824/attachment.htm>


More information about the Users mailing list