[midPoint] Custom Schema Attribute with type ObjectReferenceType
Martin Marchese
mmarchese at identicum.com
Mon Jul 11 21:48:31 CEST 2016
Hi All,
I'm trying to add a custom attribute to my role objects and I wanted to be
a a reference to another object. I tried using the ObjectReferenceType like
this
*<?xml version="1.0" encoding="UTF-8" standalone="yes"?>*
*<xsd:schema elementFormDefault="qualified"*
*
targetNamespace="http://midpoint.identicum.com/xml/ns/metaPerson
<http://midpoint.identicum.com/xml/ns/metaPerson>"*
* xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3
<http://prism.evolveum.com/xml/ns/public/annotation-3>"*
*
xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3
<http://midpoint.evolveum.com/xml/ns/public/common/common-3>"*
*
xmlns:tns="http://midpoint.evolveum.com/xml/ns/samples/extension-3
<http://midpoint.evolveum.com/xml/ns/samples/extension-3>"*
* xmlns:xsd="http://www.w3.org/2001/XMLSchema
<http://www.w3.org/2001/XMLSchema>">*
* <xsd:complexType name="RoleExtensionType">*
* <xsd:annotation>*
* <xsd:appinfo>*
* <a:extension ref="c:RoleType"/>*
* </xsd:appinfo>*
* </xsd:annotation>*
* <xsd:sequence>*
* <xsd:element name="metaParent" type="xsd:ObjectReferenceType"
minOccurs="0" maxOccurs="1" />*
* </xsd:sequence>*
* </xsd:complexType>*
*</xsd:schema>*
But when restarting midPoint I receive the following error:
XML error during XSD schema parsing: undefined simple or complex type
'xsd:ObjectReferenceType'
Is there a way to do this?
Thanks in Advance
*Ing. MartÃn Marchese*
Identicum S.A.
Anchorena 1357 PB
Tel: +54 (11) 3526.5509
mmarchese at identicum.com
www.identicum.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20160711/ed55451c/attachment.htm>
More information about the midPoint
mailing list