Skip to Content
avatar image
Former Member

Restful sample with Java for getting WebI report info in 4.1

Hi All

Can anyone give me a sample code in JAVA for getting WebI  report information using Restful services in 4.1 SP1 Version

Thanks In Advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 07, 2015 at 12:32 PM

    Hi All

    Im unable to execute the below URLs and getting error

    /documents/{documentId}/reports/{reportId}/elements/{elementId}/properties

    /documents/{documentId}/reports/{reportId}/elements/{elementId}/datapaths

    /documents/{documentId}/reports/{reportId}/elements/{elementId}/dataset

    /documents/{documentId}/reports/{reportId}/elements/{elementId}/axes/

    /documents/{documentId}/reports/{reportId}/pages

    /documents/{documentId}/reports/{reportId}/inputcontrols

    /documents/{documentId}/reports/{reportId}/

    Errors:

    Not found. (RWS 00056)

    Not acceptable, (RWS 00058)

    Any Suggestion Please.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Alochious,

      If you don't need additional help on this question, please could you consider to tag it at "Answered"?

      Best regards,

      Anthony

  • Jan 06, 2015 at 05:41 PM

    here's a Java sample that exports a webi report.  it should point you in the right direction for just getting the details of the webi document.

    http://scn.sap.com/docs/DOC-46367

    and another Java sample that changes the data provider: http://scn.sap.com/docs/DOC-45986

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 06, 2015 at 05:40 PM

    Will this be of help?

    http://scn.sap.com/community/restful-sdk/blog/2015/01/05/my-tests-with-restful-api-javascript--1

    - Ludek

    Senior Support Engineer AGS Product Support, Global Support Center Canada

    Follow us on Twitter

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 07, 2015 at 04:38 AM

    Thanks for your reply

    when i try to hit the URL in the browser

    http://<host>:<port>/biprws/raylight/v1/documents

    its asking for username and password. When I give the login that I used for CMC, the same dialog prompted agains. Am I missing anything here?

    Add comment
    10|10000 characters needed characters exceeded