[midPoint] objectTemplate account create base on account fail

HAQUET Serge shaquet at cirb.brussels
Wed Nov 8 12:43:46 CET 2017


I get this example from midpoint git and it didn't work , look like missing something to validate  the xml

<mapping>
        <strength>strong</strength>
        <expression>
            <value>
                <assignment>
                    <construction>
                        <resourceRef oid="0e70c40e-d952-45ee-9780-10845afdc126" type="ResourceType"/>
                    </construction>
                </assignment>
            </value>
        </expression>
        <target>
            <path>assignment</path>
        </target>
    </mapping>

Midpoint version : 3.6

Goal : when create new user , create a new account an link it base on the some resources

Actions:

  *   using the Complex User Template , from the midpoint git.
  *   only use the account create part.
  *   import the file in midpoint
  *   create new user

Error (see file) : Message
Item {http://midpoint.evolveum.com/xml/ns/public/common/common-3}assignment has no definition (in container value CTD ({.../common/common-3}AssignmentType))while parsing ( {...common/common-3}assignment => ( {...common/common-3}construction => ( {...common/common-3}resourceRef => ( oid => parser ValueParser(DOMa, oid: 0e70c40e-d952-45ee-9780-10845afdc126) type => parser ValueParser(DOMa, type: ResourceType) ) ) ) )

When : trying to create user




  [cid:cirb_48ee021e-930c-4d9c-b9ae-589a94eea2ab.png]

Serge HAQUET
Project Analyst
Operations - Project Analyst
Avenue des Arts 21, 1000 Bruxelles - cirb.brussels<http://cirb.brussels/> - disclaimer<http://cirb.brussels/disclaimer-1>
T +32 2 801 12 41 | G +32 497 44 44 99 | Helpdesk +32 2 801 00 00
Be green, leave it on the screen !                                                       <https://www.linkedin.com/company/user_name_here> [cid:linkedIn_391f8333-965b-4b73-9dbc-f68a4356657b.png] <https://www.linkedin.com/company/cirb_cibg> <http://www.linkedin.com/company/cirb_cibg>  [cid:twitter_a7266c6c-f7c1-4a59-bfea-6e55a9e45977.png] <https://twitter.com/CIRB_CIBG>  [cid:logo_eco_mail2_ea9ebf7c-274d-4f6f-a7e5-3a2b8d3efa28.jpg] <http://www.environnement.brussels/thematiques/ville-durable/le-label-entreprise-ecodynamique>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20171108/137ed096/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cirb_48ee021e-930c-4d9c-b9ae-589a94eea2ab.png
Type: image/png
Size: 17152 bytes
Desc: cirb_48ee021e-930c-4d9c-b9ae-589a94eea2ab.png
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20171108/137ed096/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linkedIn_391f8333-965b-4b73-9dbc-f68a4356657b.png
Type: image/png
Size: 537 bytes
Desc: linkedIn_391f8333-965b-4b73-9dbc-f68a4356657b.png
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20171108/137ed096/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: twitter_a7266c6c-f7c1-4a59-bfea-6e55a9e45977.png
Type: image/png
Size: 658 bytes
Desc: twitter_a7266c6c-f7c1-4a59-bfea-6e55a9e45977.png
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20171108/137ed096/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo_eco_mail2_ea9ebf7c-274d-4f6f-a7e5-3a2b8d3efa28.jpg
Type: image/jpeg
Size: 1336 bytes
Desc: logo_eco_mail2_ea9ebf7c-274d-4f6f-a7e5-3a2b8d3efa28.jpg
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20171108/137ed096/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: result
Type: application/octet-stream
Size: 19002 bytes
Desc: result
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20171108/137ed096/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.xml
Type: application/xml
Size: 3732 bytes
Desc: test.xml
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20171108/137ed096/attachment.xml>


More information about the midPoint mailing list