<div dir="ltr">Thanks Pavol that worked!</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b><span></span><span></span>Ing. Martín Marchese</b><br><img src="http://www.identicum.com/img/favicon.ico">Identicum S.A.<br>Jorge Newbery 3226<br>Tel: +54 (11) 4552-3050<br><a href="mailto:mmarchese@identicum.com" target="_blank">mmarchese@identicum.com</a><br><a href="http://www.identicum.com" target="_blank">www.identicum.com</a></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Nov 15, 2016 at 10:17 AM, Pavol Mederly <span dir="ltr"><<a href="mailto:mederly@evolveum.com" target="_blank">mederly@evolveum.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Martin,</p>
<p>please check if this is not a problem of namespaces.</p>
<p>I.e. change the namespace of metaRelation element to your value
(<a class="m_-1018181423936070317moz-txt-link-freetext" href="http://midpoint.identicum.com/xml/ns/metaAssignment" target="_blank">http://midpoint.identicum.<wbr>com/xml/ns/metaAssignment</a>).</p>
<pre class="m_-1018181423936070317moz-signature" cols="72">Pavol Mederly
Software developer
<a href="http://evolveum.com" target="_blank">evolveum.com</a>
</pre><div><div class="h5">
<div class="m_-1018181423936070317moz-cite-prefix">On 15.11.2016 14:10, Martin Marchese
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<div style="font-size:12.8px">Hi All,</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">We created the metaAssignment.xsd
file within the home/schema directory and restarted tomcat.
The xsd file content is the following:</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">
<div><font size="1"><?xml version="1.0" encoding="UTF-8"
standalone="yes"?></font></div>
<div><font size="1"><xsd:schema
elementFormDefault="qualified"</font></div>
<div><font size="1"> targetNamespace="<a href="http://midpoint.identicum.com/xml/ns/metaAssignment" target="_blank">http://midpoi<wbr>nt.identicum.com/xml/ns/metaAs<wbr>signment</a>"</font></div>
<div><font size="1"> xmlns:a="<a href="http://prism.evolveum.com/xml/ns/public/annotation-3" target="_blank">http://prism.evolveum<wbr>.com/xml/ns/public/annotation-<wbr>3</a>"</font></div>
<div><font size="1"> xmlns:c="<a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3" target="_blank">http://midpoint.evolv<wbr>eum.com/xml/ns/public/common/<wbr>common-3</a>"</font></div>
<div><font size="1"> xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema" target="_blank">http://www.w3.org/2<wbr>001/XMLSchema</a>"></font></div>
<div><font size="1"> <xsd:complexType
name="AssignmentExtensionType"<wbr>></font></div>
<div><font size="1"> <xsd:annotation></font></div>
<div><font size="1">
<xsd:appinfo></font></div>
<div><font size="1">
<a:extension ref="c:AssignmentType"/></font></div>
<div><font size="1">
</xsd:appinfo></font></div>
<div><font size="1"> </xsd:annotation></font></div>
<div><font size="1"> <xsd:sequence></font></div>
<div><font size="1"> <xsd:element
name="metaRelation" type="xsd:string" minOccurs="0"
maxOccurs="1" /></font></div>
<div><font size="1"> </xsd:sequence></font></div>
<div><font size="1"> </xsd:complexType></font></div>
<div><font size="1"></xsd:schema></font></div>
</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">However, seems like the extension
is not being loaded since when we try to add the following
assignment:</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">
<div><font size="1"> <assignment></font></div>
<div><font size="1"> <extension></font></div>
<div><font size="1"> <metaRelation>STUDENT</metaRel<wbr>ation></font></div>
<div><font size="1"> </extension></font></div>
<div><font size="1"> <targetRef
oid="fa18702d-7c44-4b73-82fe-5<wbr>cad153782e5"
type="OrgType"/></font></div>
<div><font size="1"> </assignment></font></div>
</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">We receive the following error:</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px"><font size="1">Item {<a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3%7DmetaRelation" target="_blank">http://midpoint.evolveum.com/<wbr>xml/ns/public/common/common-3}<wbr>metaRelation</a> has
no definition (schema present, in container
PCD:{.../common/common-3}exten<wbr>sion {<a href="http://midpoint.identicum.com/xml/ns/metaAssignment%7DAssignmentExtensionType%5B0,1%5D,dyn,RAM,runtime%29while" target="_blank">http://midpoint.identicum.com<wbr>/xml/ns/metaAssignment}Assignm<wbr>entExtensionType[0,1],dyn,RAM,<wbr>runtime)while</a> parsing
( {.../common/common-3}metaRelat<wbr>ion => parser
ValueParser(DOMe, {.../common/common-3}metaRelat<wbr>ion:
STUDENT</font><br>
</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Are we forgetting about something?
Is there a way to troubleshoot if the schema is being loaded
OK?</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Thanks in Advance</div>
<div style="font-size:12.8px"><br>
</div>
<div>
<div class="m_-1018181423936070317gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr"><b><span></span><span></span>Ing.
Martín Marchese</b><br>
<img src="http://www.identicum.com/img/favicon.ico">Identicum
S.A.<br>
Jorge Newbery 3226<br>
Tel: +54 (11) 4552-3050<br>
<a href="mailto:mmarchese@identicum.com" target="_blank">mmarchese@identicum.com</a><br>
<a href="http://www.identicum.com" target="_blank">www.identicum.com</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="m_-1018181423936070317mimeAttachmentHeader"></fieldset>
<br>
</div></div><pre>______________________________<wbr>_________________
midPoint mailing list
<a class="m_-1018181423936070317moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a>
<a class="m_-1018181423936070317moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
</div>
<br>______________________________<wbr>_________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
<br></blockquote></div><br></div>