[midPoint] Add complex type element to user type

Dmitriy Berezkin berezkin.dmitriy at gmail.com
Wed Feb 22 18:49:54 CET 2017


Hi!

Could you tell me how I can extend UserType with complexType object?

I tried to add <xsd:complexType> under <xsd:sequence> of my custom xsd but got error:
> org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositoryFactory': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.evolveum.midpoint.prism.PrismContext com.evolveum.midpoint.init.RepositoryFactory.prismContext; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prismContext' defined in class path resource [ctx-configuration.xml]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.evolveum.midpoint.prism.PrismContext]: Factory method 'createInitializedPrismContext' threw exception; nested exception is com.evolveum.midpoint.util.exception.SchemaException: XML error during XSD schema parsing: Unexpected <xsd:complexType> appears at line 65 column 42(embedded exception null) in file C:\midpoint\schema\test1.xsd

Do you have any example of using complexType attribute with UserExtensionType?

---
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170222/c06a9e73/attachment.htm>


More information about the midPoint mailing list