on 03-02-2015 8:44 AM
Hi All,
I need to create an odata service to provide a employee profile photo to a Mbile application.
Here is the issue
I tried to get the URI using the follwing FMs
HRWPC_RFC_EP_READ_PHOTO_URI
HR_IMAGE_DETAIL & a couple more
The problem is that when I use this URI in the browser I am getting the following error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
what most probably happens - your odata service returns cached data
HRWPC_RFC_EP_READ_PHOTO_URI returns signed URL which is expired so if you trying to load expired url it will complain.
set a breakpoinnt and ensure URL is generated and returned back to client (UI5) and not loaded from cache
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deric,
I hope the service you are creating is using GET service and employee profile photo should exist in the database. You need to call the same using your service.
Use Read Media service and Create Media : Method name is GET_STREAM and CREATE_STREAM
Regards,
Tejas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.