> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> 
> 
> Hello,
> 
> I have problems with the LDAP-Transformer on Cocoon 2.0.1 (also on
Cocoon
> 2.0).
> 
> I have download the jndi.jar - file and have then perform ".\build.bat
> -Dinclude.webapp.libs=yes webapp".  With the new cocoon.war - file I
have
> installed the cocoon on Tomcat 4.0.1. Cocoon run fine.
> I don't know, how can I use the LDAP-Transformer.
> 
> I have done the following:
> 
> Entry in the sitemap.xmap - file:
> 
>  <map:match pattern="ldapTest.xml">
>        <map:generate src="ldapTest.xml"/>
>        <map:transform type="ldap"/>
>        <map:serialize/>
>   </map:match>
> 
> 
> ldapTest.xml - file:
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> 
> <page>
>       <execute-query>
>             <serverurl>ldap://servername:389</serverurl>
>
<searchbase>l=Test,c=de,o=Werk,o=AG,cn=Konzern</searchbase>
>             <filter>
> (&amp;(ou=mvd*)(objectClass=organizationalUnit))</filter>
>       </execute-query>
> </page>
> 
> 
> The result is:
> 
> <page>
>       <execute-query>
>             <serverurl>ldap://servername:389</serverurl>
>
<searchbase>l=Test,c=de,o=Werk,o=AG,cn=Konzern</searchbase>
>             <filter>
> (&amp;(ou=mvd*)(objectClass=organizationalUnit))</filter>
>       </execute-query>
> </page>
> 
> 
> I don't find an error message.
> Wath is wrong?

Nothing is wrong. It works as expected - it processes elements in the
its namespace. Unfortunately, you did not specify any of them.

>From the LDAPTransformer.java:

    /** The LDAP namespace ("http://apache.org/cocoon/LDAP/1.0";)**/

Regards,
Vadim

> 
> Thanks in advanced.
> 
> Katrin Seiffert
> 


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to