jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nylg <go...@lat-lon.de>
Subject insert multi-valued nodes via WebDAV
Date Tue, 23 Aug 2011 07:37:43 GMT
Hello Everyone, 

I try to insert a multi-valued node in the repository using WebDAV access as
included in the jackrabbit-webapp-2.2.7.jar. Inserting the first node works
fine with the following request:

<?xml version="1.0" encoding="UTF-8"?>
 <sv:node sv:name="jrc:service" xmlns:jcr="http://www.jcp.org/jcr/1.0"
    xmlns:sv="http://www.jcp.org/jcr/sv/1.0">
    <sv:property sv:name="jrc:url" sv:type="String">
        <sv:value>TesTesTesT</sv:value>
    </sv:property>
 </sv:node>

curl --request MKCOL  -H "Content-Type:text/xml" -d @mkcol.xml
http://localhost:8010/jrcportal-baseservice-webapp-simple/server/default/jcr:root/jrc 

I'm wondering how to insert more nodes of the same type. The relevant nodes
are defined as follows:

[jrc:Organisation]
    -jrc:organisationName (string)
     primary
	 < 'jrc','ger'
	+jrc:service (jrc:Service)
    =jrc:Service
	 multiple
	
[jrc:Service]
	-jrc:url (string)
	 mandatory

Does anyone have an idea?

best regards,
nylg



--
View this message in context: http://jackrabbit.510166.n4.nabble.com/insert-multi-valued-nodes-via-WebDAV-tp3762041p3762041.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Mime
View raw message