[Users] Component Development : LDAP Component
cdeneux
petals-components at ebmwebsourcing.com
Wed Mar 16 10:27:26 CET 2011
I think you problem is a misunderstood of the DOM API. Sure, the method "getChildNodes" returns the childs of a node. But according to the node on which it is called you can have element (XML tags) or element content (content of XML tag).
For exemple with the following XML:
Code:
<myDoc>
<login>aaaa</login>
<password>bbbb</password>
</myDoc>
if you call "getChildNodes" on element "<myDoc>", you get elements "<login>" and "<password>", not their content,
if you call "getChildNodes" on element "<login>", you get content element "aaaa".
So, I think that your message is not correctly send because the received message seems to be something like:
Code:
<login>aaaa</login>
Can you check you sent ?
------------------------
Christophe DENEUX / Capgemini Sud / Méditerranée
Integration Architect / OW2 PEtALS Comitter
www.capgemini.com
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice / FRANCE
Join the Collaborative Business Experience
_______________________________________________________________________________
-------------------- m2f --------------------
Read this forum topic online here:
http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=502#502
-------------------- m2f --------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20110316/bd0629c6/attachment.htm>
More information about the Users
mailing list