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

madiot
19.59.2008 f1525316829c9189821c8c88cebfe4e688912e4f
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: 1538
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=foo23, ou=People, o=dsmlfe.com">
        <attr name="description">
        <value>This is a sample description.</value>
        </attr>
        <attr name="mail">
        <value>foo23@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 111 1111</value>
        </attr>
        <attr name="cn">
        <value>foo 23</value>
        </attr>
        <attr name="uid">
        <value>foo23</value>
        </attr>
        <attr name="roomnumber">
        <value>43k</value>
        </attr>
        <attr name="sn">
        <value>23</value>
        </attr>
        <attr name="ou">
        <value>People</value>
        </attr>
        <attr name="facsimiletelephonenumber">
        <value>+1 408 111 1111</value>
        </attr>
        <attr name="l">
        <value>foobar</value>
        </attr>
        </addRequest>
      </batchRequest>
    </soap-env:Body>
  </soap-env:Envelope>