cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member605254
Discoverer
0 Kudos

<?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?

Accepted Solutions (0)

Answers (1)

Answers (1)

daniel_paulsen
Active Contributor
0 Kudos

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

former_member605254
Discoverer
0 Kudos

I still get the same error