[midPoint] Issue while uploading resource xml

Nitin G. Prabhu Nitin.Prabhu at mastek.com
Wed Apr 9 19:47:43 CEST 2014


Thanks Ivan I am importing using import option .i.e using embedded editor.

Still getting below error


Import object
·         Object already exists: Object 'ObjectTemplateType' with oid 'c0c010c0-d34d-b33f-f00d-777111111111' already exists.
·         Context: startLineNumber: 15386
·         Context: progress: 2
·         Context: object: objectTemplate:c0c010c0-d34d-b33f-f00d-777111111111(Default User Template 1)
·         Context: endLineNumber: 15422
·         Cause:
Object 'ObjectTemplateType' with oid 'c0c010c0-d34d-b33f-f00d-777111111111' already exists.


From: midpoint-bounces at lists.evolveum.com [mailto:midpoint-bounces at lists.evolveum.com] On Behalf Of Ivan Noris
Sent: 09 April 2014 18:17
To: midpoint at lists.evolveum.com
Subject: Re: [midPoint] Issue while uploading resource xml

I forgot to ask: are you importing the resource using Configuration - Import object - Import from file? Or some other way?

Rgds
I.

On 04/09/2014 04:20 PM, Nitin G. Prabhu wrote:
Hi,
I am trying to import attached resource xml file into midpoint but I am getting below error.I am unable to understand why I am getting the error is that I have missed any configuration.I am using midpoint version 2.2


 *   Validation error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'resource'. One of '{"http://midpoint.evolveum.com/xml/ns/public/common/common-2a"<http://midpoint.evolveum.com/xml/ns/public/common/common-2a>:object}' is expected.: Validation error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'resource'. One of '{"http://midpoint.evolveum.com/xml/ns/public/common/common-2a"<http://midpoint.evolveum.com/xml/ns/public/common/common-2a>:object}' is expected.


    *   Save resource (Gui)
    *   Collapse all Expand all Export to XML
    *   Schema validation

       *   Validation error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'resource'. One of '{"http://midpoint.evolveum.com/xml/ns/public/common/common-2a"<http://midpoint.evolveum.com/xml/ns/public/common/common-2a>:object}' is expected.
       *   Cause:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'resource'. One of '{"http://midpoint.evolveum.com/xml/ns/public/common/common-2a"<http://midpoint.evolveum.com/xml/ns/public/common/common-2a>:object}' is expected.





--

  Ing. Ivan Noris

  Senior Identity Management Engineer

  evolveum.com

  ___________________________________________

           "Idem per idem - semper idem Vix."
MASTEK LTD.
In the US, we're called MAJESCOMASTEK

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20140409/818a7bb6/attachment.htm>


More information about the midPoint mailing list