on 02-14-2014 9:55 AM
Hi Syam,
As Krishna said , This might get problem only in Gateway client . When you use Create Operation , it uses Read Operation as a response to create . To get this response it will throw a warning to implement Read operation . Instead you can just redefine get_entity with blank implementation in DPC_EXT.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Syam,
This might only be a problem in Gateway Client. Check in other browser based rest clients. You may not face the issue.
IMHO Logic behind the warning: The response of a CREATE operation as per ODATA is the entry itself. To get this entry, GW Client might be making use of read operation. Hence the warning.
Thanks
Krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Syam,
According to me it is not mandatory but then if you implement 1st create operation, you need to know how you will pass HTTP request data while testing create operation.
if you implement read operation then you can get the response data (GET) and then using button "Use as request", you can copy the response to request and perform POST operation.
Regards,
Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chandra,
Below of the screenshots FYR.
When I am executing with debugging mode till works up to CREATE_ENTITY and also calling the BACK-END-RFC after that it's calling GET_ENTITY method that time getting exception.
Even when generating the project getting warning message says like my first post screenshot.
Thanks,
Syam
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.