on 07-23-2014 4:01 PM
Dear experts,
I am trying to implement posting file through navigation property, so I can access key fields in CREATE_STREAM method. This approach is based on Matt's suggestion here
I created this simple structure oData service.Key field is Email for both entities. UserPhoto is media entity.
Now the issue:
I can access CREATE_STREAM directly - /ZSA_USERS_SRV/UserPhotoSet/
I can access GET_USERPHOTO_GET_ENTITY by navigation (and I also can see key field) - /sap/opu/odata/SAP/ZSA_USERS_SRV/UserSet('john@doe.com')/Photo
But when I try to post file to /sap/opu/odata/SAP/ZSA_USERS_SRV/UserSet('john@doe.com')/Photo
I get 405 Method not allowed - The specified HTTP method is not allowed for the resource identified by the Data Service Request URI.
Can you please help me which kind of setting did I forget to switch on?
Thank you,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.