Hi Gururaj,
i have followed same steps that are mentioned in this blog:-
http://scn.sap.com/community/netweaver-gateway/blog/2012/12/03/gateway-pushing-notifications-made-easy .except 1 step, where i used another server (backend server) for creating model and data classes.
URl i am calling :http://<Host name:port>/sap/opu/odata/sap/ZPUSHDEMO_USER/?$format=xml
In /iwfnd/apps_log , i found:
No valid source context supplied
In the context of Data Services an unknown HTTP error occurred.
In the context of Data Services an unknown internal server error occurred.
In /iwfnd/error_log:
.ERROR_CONTEXT
..ERROR_INFO XML Transformation error of the external model ID 'Z_PUSHDEMO_USER_0001_BE' name 'ZPUSHDEMO_USER'.
../IWFND/CX_MED_MDL_ACCESS
...GSDO_TYPE
...VERSION 0000
...NAMESPACE
...MODEL_TYPE
...ENTITY_ID
...MODEL_IDENTIFIER Z_PUSHDEMO_USER_0001_BE
...FIELD
...ENTITY_NAME
...SERVICE_GROUP
...SERVICE_GROUP_VERSION 0000
...MODEL_NAME
...ENTITY_TYPE
...ABAP_TYPE
...NAME_LENGTH 0
...SERVICE_GROUP_IDENTIFIER
...SERVICE_GROUP_NAME
...SERVICE_GROUP_NS
...EXTERNAL_MODEL_NAME ZPUSHDEMO_USER
...EXTERNAL_MODEL_TYPE
...DATA_PROVIDER_TYPE
...MED_ERROR_UNLIMITED
..CX_XSLT_RUNTIME_ERROR
...S1
...S2 unexpected end-of-file
...I1 3000
...I2 2
...I3 1
..SERVICE_INFO
...NAMESPACE /SAP/
...VERSION 0001
...SERVICE_NAME ***Hide_due_to_secure_log_level***
...REQUEST_DIRECTION Consumer to Gateway
...AGENT Metadata access
...SYSTEM_ALIAS EHA_100
...DESTINATION EHACLNT800
..SYSTEM_INFO
...REQUEST_URI /sap/opu/odata/sap/***Hide_due_to_secure_log_level***
...REMOTE_ADDRESS 172.25.9.120
...APPLICATION_SERVER devgw_GWD_30
Regards,
Rajender