cancel
Showing results for 
Search instead for 
Did you mean: 

Restful sample with Java for getting WebI report info in 4.1

Former Member
0 Kudos

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

View Entire Topic
Former Member
0 Kudos

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.

former_member197386
Active Contributor
0 Kudos

Hi Alochious,

If you're not familiar about RESTful APIs maybe you should first learn more about this architecture style and maybe read/post on forums (like stackoverflow.com)?

Best regards

Anthony

former_member197386
Active Contributor
0 Kudos

Anyway, here is Azot source, a tool written in Java which allows to perform HTTP requests, maybe it could inspire you:

https://github.com/AnthonyMullerPlayground/azot/blob/master/src/com/sap/azot/WorkflowEngine.java#L28...

Regards,

Anthony

Former Member
0 Kudos

Thanks much Muller. Will do this

former_member197386
Active Contributor
0 Kudos

Hi Alochious,

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

Best regards,

Anthony