on 08-20-2014 8:11 PM
Hi All
we have configured our ECC system with IW_BEP and Gateway as standalone system. We have developed the Gateway Services using SEGW in backend ECC system and have registered these services on Gateway system.
However when we are executing getEntity or getEntitySet methods in Browser or Gateway Client, the call is failing with error message 'No valid source context supplied.'
I checked the error log for this issue and it says Deserialization of XML failed via transformation ''. Can you guys suggest what could be the issue with this error? Is this due to in-correct configuration? In our Gateway system, we have created System-Alias for ECC system with both check-boxes for Local GW & For Local App as unticked. The RFC destination underlying this System alias is working fine.
Please help me on this.
Regards,
Deepak Salokhe
Hello Deepak,
Put a BP in DPC inside appropriate method and debug to check where exactly its failing and why its failing.
And regarding making date/time field nullable,there is no connection between making a date/time nullable irrespective if its a Key or not a Key.
Please make date/Time fields as Nullable first though its a Key.
Making nullable is for GW to correctly convert Date/Time fields into correct format.
Gw fails when Date/Time is null. So to avoid this we need to make it Nullable so that GW handles date/Time conversion correctly if they are null values.
Do the above and check again.
Clear model cache and fire the service.
Revert if any issues.
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
Thanks for the reply.
I tried to debug the Gateway Service method. but it seems that the call doesn't reach to my service code. In the Error log using Backend Monitor, I could see that it fails in method /IWBEP/CL_MGW_REMOTE_HANDLER-->REQUEST_PROCESS. However i am not able to put External Breakpoints in this method.
As i mentioned earlier, since my date field is part of key, system won't allow me to mark it as 'NULLABLE'. when I mark it as 'NULLABLE' and try to activate, it throws error message 'Property 'Indentdate' is a key and must set nullable to false'.
In the above mentioned class, it exits the method with error ' OData Method not found'. any clues what could be the issue??
Regards,
Deepak Salokhe
Hello Deepak,
OK thanks for sharing the info regarding Key.
Can u try checking why its failing in method /IWBEP/CL_MGW_REMOTE_HANDLER-->REQUEST_PROCESS ?
Only way is to debug Deepak. Since error is not specific we nned to debug in these kind of cases and try to know y its failing. This might help and we may get some info which will help fixing things.
This problem is only happening for this particular service ? or its happening for all the services ?
Check this first. If its happening for rest of the services then problem is something else with the GW/BE components only. If not then its service specific.
Can u try regenerating objects again and check ?
Regards,
Ashwin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.