[midPoint] REST query internal error (500)

midpoint at mybtinternet.com midpoint at mybtinternet.com
Wed Jul 15 16:39:25 CEST 2015


Hi Guys,
  Have tried for the first time to use the REST API and am running into internal error with user and account query.
  Am using the xml from the samples (midPoint 3.1.1): query-all-users.xml and query-all-accounts.xml. The former
  is used verbatim and the second I have substituted one of my resource OIDs. Both fails on seemingly the same
  issue ... see below.
# AO: -----------------------------------------------------------------------------------------------#
2015-07-15 14:51:04,386 [] [http-bio-127.0.0.1-8080-exec-207] WARN (org.apache.cxf.phase.PhaseInterceptorChain): Interceptor for {http://impl.model.midpoint.evolveum.com/}ModelRestService has thrown exception, unwinding now
Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
        ... 55 common frames omitted
2015-07-15 14:51:04,387 [] [http-bio-127.0.0.1-8080-exec-207] WARN (org.apache.cxf.phase.PhaseInterceptorChain): Exception in handleFault on interceptor org.apache.cxf.jaxrs.interceptor.JAXRSDefaultFaultOutInterceptor at 30a58fb8
org.apache.cxf.interceptor.Fault: Error parsing XML document Content is not allowed in prolog.
        ... 44 common frames omitted
Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
        ... 55 common frames omitted
org.apache.cxf.interceptor.Fault: Error parsing XML document Content is not allowed in prolog.
        ... 44 common frames omitted
Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
        ... 55 common frames omitted
# AO: -----------------------------------------------------------------------------------------------#
2015-07-15 14:59:57,891 [] [http-bio-127.0.0.1-8080-exec-208] WARN (org.apache.cxf.phase.PhaseInterceptorChain): Interceptor for {http://impl.model.midpoint.evolveum.com/}ModelRestService has thrown exception, unwinding now
Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
        ... 55 common frames omitted
2015-07-15 14:59:57,892 [] [http-bio-127.0.0.1-8080-exec-208] WARN (org.apache.cxf.phase.PhaseInterceptorChain): Exception in handleFault on interceptor org.apache.cxf.jaxrs.interceptor.JAXRSDefaultFaultOutInterceptor at 30a58fb8
org.apache.cxf.interceptor.Fault: Error parsing XML document Content is not allowed in prolog.
        ... 44 common frames omitted
Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
        ... 55 common frames omitted
org.apache.cxf.interceptor.Fault: Error parsing XML document Content is not allowed in prolog.
        ... 44 common frames omitted
Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
        ... 55 common frames omitted
  Have also tried get object and test object REST calls, both works ...
Regards,
  Anton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20150715/4b068ec2/attachment.htm>


More information about the midPoint mailing list