Skip to Content

JAXBException Cannot find declaration of element SAP Business Objects Semantic Layer SDK

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<query dataSourceType="unv" dataSourceId="23086" xmlns='http://myurl/biprws/sl/universe'>

<querySpecification version="1.0">

<queryData>

<resultObjects>

<resultObject path="Hd Ticket|folder\Id|dimension" id="22540"/>

<resultObject path="Hd Ticket|folder\Title|dimension" id="22540"/>

</resultObjects>

</queryData>

</querySpecification>

</query>

The folderId's have been validated and the universe is type "unv".

When trying to post this query I am getting the error:

JAXBException occurred : cvc-elt.1: Cannot find the declaration of element 'query'.. cvc-elt.1: Cannot find the declaration of element 'query'..

Any ideas?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 21 at 08:42 PM

    your Query specification looks fine.

    I assume you are sending a POST to ...biprws/sl/v1/queries ?

    Try removing the first line: "<?xml viersion......?>

    If it still fails, get the details of the universe and compare the name, path and id etc to what you are sending in your POST to create a query.

    GET ...biprws/sl/v1/universes/23086

    Add comment
    10|10000 characters needed characters exceeded