<div dir="ltr">Hi<div><br></div><div>I am developing a custom connector which will provision a custom object class on openldap.</div><div><br></div><div>I have written the code for connector using conn-id framework and deployed it on midpoint. I am able to see it listed in connectors list in my midpoint server.</div><div><br></div><div>I have written a resource xml for this connector and when i try to import it i am getting an error :</div><div><br></div><div><div><font color="#ff0000">2014-12-08 14:40:21,742 [PROVISIONING] [http-bio-8080-exec-3] ERROR (com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl): Complex run-time properties are not supported: type {<a href="http://www.w3.org/2001/XMLSchema}string">http://www.w3.org/2001/XMLSchema}string</a> from XNode(map:1 entries)</font></div><div><font color="#ff0000">com.evolveum.midpoint.util.exception.SchemaException: Complex run-time properties are not supported: type {<a href="http://www.w3.org/2001/XMLSchema}string">http://www.w3.org/2001/XMLSchema}string</a> from XNode(map:1 entries)</font></div><div><font color="#ff0000"><span class="" style="white-space:pre">       </span>at com.evolveum.midpoint.prism.parser.XNodeProcessor.parsePrismPropertyRealValueFromMap(XNodeProcessor.java:473) ~[prism-3.0.jar:na]</font></div><div><font color="#ff0000"><span class="" style="white-space:pre">    </span>at com.evolveum.midpoint.prism.parser.XNodeProcessor.parsePrismPropertyRealValue(XNodeProcessor.java:395) ~[prism-3.0.jar:na]</font></div><div><font color="#ff0000"><span class="" style="white-space:pre">   </span>at com.evolveum.midpoint.prism.PrismPropertyValue.parseRawElementToNewRealValue(PrismPropertyValue.java:357) ~[prism-3.0.jar:na]</font></div><div><font color="#ff0000"><span class="" style="white-space:pre">        </span>at com.evolveum.midpoint.prism.PrismPropertyValue.applyDefinition(PrismPropertyValue.java:162) ~[prism-3.0.jar:na]</font></div><div><font color="#ff0000">....</font></div></div><div><font color="#ff0000">....</font></div><div><font color="#ff0000"><br></font></div><div><div><font color="#ff0000">Caused by: com.evolveum.midpoint.repo.sql.util.DtoTranslationException: Complex run-time properties are not supported: type {<a href="http://www.w3.org/2001/XMLSchema}string">http://www.w3.org/2001/XMLSchema}string</a> from XNode(map:1 entries)</font></div><div><font color="#ff0000"><span class="" style="white-space:pre">   </span>at com.evolveum.midpoint.repo.sql.data.audit.RAuditEventRecord.toRepo(RAuditEventRecord.java:398) ~[repo-sql-impl-3.0.jar:na]</font></div><div><font color="#ff0000"><span class="" style="white-space:pre">   </span>at com.evolveum.midpoint.repo.sql.SqlAuditServiceImpl.auditAttempt(SqlAuditServiceImpl.java:76) ~[repo-sql-impl-3.0.jar:na]</font></div><div><font color="#ff0000"><span class="" style="white-space:pre">     </span>... 104 common frames omitted</font></div><div><font color="#ff0000">Caused by: com.evolveum.midpoint.repo.sql.util.DtoTranslationException: Complex run-time properties are not supported: type {<a href="http://www.w3.org/2001/XMLSchema}string">http://www.w3.org/2001/XMLSchema}string</a> from XNode(map:1 entries)</font></div><div><font color="#ff0000"><span class="" style="white-space:pre">       </span>at com.evolveum.midpoint.repo.sql.data.audit.RObjectDeltaOperation.toRepo(RObjectDeltaOperation.java:218) ~[repo-sql-impl-3.0.jar:na]</font></div><div><font color="#ff0000"><span class="" style="white-space:pre">   </span>at com.evolveum.midpoint.repo.sql.data.audit.RAuditEventRecord.toRepo(RAuditEventRecord.java:393) ~[repo-sql-impl-3.0.jar:na]</font></div><div><font color="#ff0000"><span class="" style="white-space:pre">   </span>... 105 common frames omitted</font></div><div><font color="#ff0000">Caused by: java.lang.IllegalStateException: Complex run-time properties are not supported: type {<a href="http://www.w3.org/2001/XMLSchema}string">http://www.w3.org/2001/XMLSchema}string</a> from XNode(map:1 entries)</font></div><div><font color="#ff0000"><span class="" style="white-space:pre">   </span>at com.evolveum.midpoint.prism.PrismPropertyValue.getValue(PrismPropertyValue.java:131) ~[prism-3.0.jar:na]</font></div><div><font color="#ff0000"><span class="" style="white-space:pre">     </span>at com.evolveum.midpoint.prism.parser.XNodeSerializer.serializePropertyValue(XNodeSerializer.java:330) ~[prism-3.0.jar:na]</font></div><div><font color="#ff0000"><span class="" style="white-space:pre">      </span>at com.evolveum.midpoint.prism.parser.XNodeSerializer.serializeItemValue(XNodeSerializer.java:208) ~[prism-3.0.jar:na]</font></div><div><font color="#ff0000"><span class="" style="white-space:pre">  </span>at com.evolveum.midpoint.prism.parser.XNodeSerializer.serializeItem(XNodeSerializer.java:115) ~[prism-3.0.jar:na]</font></div></div><div><font color="#ff0000">..............</font></div><div><font color="#ff0000">................</font></div><div><br></div><div><br></div><div>If the connector is displayed in available connectors list i assume that it is bundled correctly and i used my ldap resource xml to write similar xml for my custom resource.</div><div>Can you help me pointing what can be the probable issue. </div><div><br></div><div><br></div><div>Regards</div><div>Dharmendra</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>