mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Mark Craig
11.04.2011 550273af92ba9085594de223f10bc8b6c0e7ad85
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
POST /dsml HTTP/1.1
Host: Foo
Connection: Close
Content-Length: 1525
SOAPAction: "#batchRequest"
 
<?xml version='1.0' encoding='UTF-8'?>
  <soap-env:Envelope
      xmlns:xsd='http://www.w3.org/2001/XMLSchema'
      xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
      xmlns:soap-env='http://schemas.xmlsoap.org/soap/envelope/'>
    <soap-env:Body>
      <batchRequest xmlns="urn:oasis:names:tc:DSML:2:0:core">
        <addRequest dn="uid=foo47, ou=people, o=dsmlfe.com">
        <attr name="mail">
        <value>foo47@airius.com</value>
        </attr>
        <attr name="objectclass">
        <value>top</value>
        <value>person</value>
        <value>organizationalPerson</value>
        <value>inetOrgPerson</value>
        </attr>
        <attr name="givenname">
        <value>foo</value>
        </attr>
        <attr name="telephonenumber">
        <value>+1 408 222 1221</value>
        </attr>
        <attr name="cn">
        <value>foo 47</value>
        </attr>
        <attr name="uid">
        <value>foo47</value>
        </attr>
        <attr name="roomnumber">
        <value>38k</value>
        </attr>
        <attr name="sn">
        <value>47</value>
        </attr>
        <attr name="ou">
        <value>People</value>
        </attr>
        <attr name="seealso">
        <value>cn=Directory Manager</value>
        </attr>
        <attr name="facsimiletelephonenumber">
        <value>+1 408 222 1221</value>
        </attr>
        <attr name="l">
        <value>foobar</value>
        </attr>
        </addRequest>
      </batchRequest>
    </soap-env:Body>
  </soap-env:Envelope>