on 11-05-2014 8:28 AM
Hi guys,
we recently updatet the SAP_GWFND from SP0007 to SP0008 and now our delete requests is broken.
I am sending the following delete request and get back the also following error message:
As you can see, we convert the given string to binary because the Gateway expects the key (which is a guid) as a binary. This request worked fine on SP0007 but now something changed and I can't figure out what.
Maybe one of you guys can help me and tell me what changed.
Thanks a lot,
Nils
Hello Nils,
Try as below first:
My_Service/My_Entity_Set(<Your_Guid_Prperty_Name>=binary'xxxxxxxxxxxxxxxxx')
Have u not used the Edm.Guid type for GUID ?
Edm.Guid | A 16-byte (128-bit) unique identifier value ? |
Please check the above point and try as below.
My_Service/My_Entity_Set(<Your_Guid_Prperty_Name>=guid'xxxxxxxxxxxxxxxxx')
Its always good to use appropriate Edm types.
Regards,
Ashwin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashwin,
thank you for your answer. I already tried your first idea but that did not work either.
After that, I checked your second idea, changed the Type to Edm.Guid and the request /ZCM22_SERVICES_SRV_01/BonuseintragSet(guid'005056AE-3E17-1ED4-9890-E934C6D9D3C3')
and it worked.
Thanks a lot! It is strange though, that it stopped working after the update. It seems like the SP0007 was a little bit more flexible.
Regards
Nils
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.