Quantcast
Channel: SCN: Message List - SAP Manufacturing Integration and Intelligence (SAP MII)
Viewing all articles
Browse latest Browse all 4841

Can't get anything out of my MII/OData request

$
0
0

Hello everyone,

 

I've created a "FixedQueryWithOutpu" with a simple SELECT query for test reasons. I want to get a valid OData request out of MII.

The query is stored in the project examples, in the folder "Tests", containing the same folder "Tests" and finally in the folder "Reports".

 

Examples/Tests/Tests/Reports/TestData

 

I've used this path to request the OData:

 

 

http://hostname:10000/XMII/IlluminatorOData?QueryTemplate=Examples%2FTests%2FTests%2FReports%2FTestData

 

However, I get this response (what isn't too bad actually ):

 

This XML file does not appear to have any style information associated with it. The document tree is shown below.

 

<service xmlns="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app" xml:base="http://hostname:10000/XMII/IlluminatorOData/">

  <workspace>

    <atom:title>Default</atom:title>

      <collection href="Rowsets">

        <atom:title>Rowsets</atom:title>

      </collection>

      <collection href="Column">

        <atom:title>Column</atom:title>

      </collection>

      <collection href="Row">

        <atom:title>Row</atom:title>

      </collection>

      <collection href="Rowset">

        <atom:title>Rowset</atom:title>

      </collection>

      <collection href="Messages">

        <atom:title>Messages</atom:title>

      </collection>

  </workspace>

</service>

 

Following this post, I've use this path to gather information from my request (rowsets or something):

 

<protocol>:<server>:<port>/XMII/IlluminatorOData/Rowset(‘<QueryTemplateName>’)/Rowset

http://myServer:10000/XMII/IlluminatorOData/Rowsets(‘MyProject/MyFolder/MyQuery’)/Rowset

 

In reality:

http://hostname:10000/XMII/IlluminatorOData/Rowsets(‘Examples/Tests/Tests/Reports/TestData’)/Rowset

 

However, what I've got is just an error message of the server:

 

This XML file does not appear to have any style information associated with it. The document tree is shown below.

  <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">

    <code>ServerErrorException</code>

    <message lang="en-US">Internal Server Error</message>

  </error>

 

What am I doing wrong? I'm stuck with this OData topic for weeks now. I really don't get why it's that hard to get data out of this "panacea" of backend service.
A colleague is working on OData with Olingo and he doesn't really seem to be convinced that there may exist a OData request without a valid ".svc" url. Why don't we have such?

 

Many thanks and kind regards,

(a slightly bugged) Kai


Viewing all articles
Browse latest Browse all 4841

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>