[midPoint] Add complex type element to user type
Pálos Gustáv
gustav.palos at evolveum.com
Wed Feb 22 19:24:59 CET 2017
Hi Dmitry,
do you checked for example this sample?
https://github.com/Evolveum/midpoint/blob/master/samples/
schema/extension-samples.xsd
best regards,
Gustav
> 2017-02-22 18:49 GMT+01:00 Dmitriy Berezkin <berezkin.dmitriy at gmail.com>:
>
>> 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
>>
>> _______________________________________________
>> midPoint mailing list
>> midPoint at lists.evolveum.com
>> http://lists.evolveum.com/mailman/listinfo/midpoint
>>
>>
>
>
> --
> s pozdravom
>
> Gustáv Pálos
>
--
Gustáv Pálos
Identity Engineer
evolveum.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170222/967a60c5/attachment.htm>
More information about the midPoint
mailing list