Hi,
I am trying to connect SAP Customer & Contacts from my SUP2.1.2.
I have checked the REST Client, which shows me HTTP 200 OK code which seems to be correct one.
Also on SUP error log i am not getting any error.
But when i checked with the app error log on device, it shows me "suprequest startsynchronous error: client timed out after 30 seconds".
I got the SUP logs in Debug mode:-
2013-01-25 03:26:05.318 INFO PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GatewayConnectorHandler]ODP:Returning Response from Gateway Back to Message Channel
2013-01-25 03:26:05.316 DEBUG PROXY Thread-772 [com.sybase.suplite.gwc.req.util.domainReqRespLogHandler]Inside Domain Logger for ReqResp
2013-01-25 03:26:05.316 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]Connection released
2013-01-25 03:26:05.315 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWCConnectionPoolManager]-----Inside releaseConnection() of GWCConnectionPoolManager------
2013-01-25 03:26:05.315 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.ConnectionFactory]---------In releaseconnection() method of Connection Factory--------
2013-01-25 03:26:05.315 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]Response Body is written into OutputStream
2013-01-25 03:26:05.315 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]------In writing response method-----
2013-01-25 03:26:05.315 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]Response body is obtained from BackEnd
2013-01-25 03:26:05.315 INFO PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]ODP:Read response body from Gateway
2013-01-25 03:26:05.314 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]------------content encoding is ZIP ----------gzip
2013-01-25 03:26:05.313 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]------------content type|encoding|length--------application/xml----gzip----3418----
2013-01-25 03:26:05.313 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]Response header keyset-cookie Response header valueMYSAPSSO2=AjQxMDMBABhTAEgAUgBJAEsAQQBOAFQATgAgACAAIAACAAYyADAAMAADABBLAEQARwAgACAAIAAgACAABAAYMgAwADEAMwAwADEAMgA1ADAAOQAyADUABQAEAAAACAYAAlgACQACRQD%2fAPswgfgGCSqGSIb3DQEHAqCB6jCB5wIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBMYHHMIHEAgEBMBkwDjEMMAoGA1UEAxMDS0RHAgcgEhIUB1AhMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xMzAxMjUwOTI1NDJaMCMGCSqGSIb3DQEJBDEWBBQ5KiyeDZldB2Jqe59Sj2EcePL79jAJBgcqhkjOOAQDBC8wLQIUemlGCAPjrVE%21albHsbo1vFhLTI4CFQCp8KMlTVxfRtnsbH7YMzcmzgF%2fQA%3d%3d; path=/; domain=GATEWAY1
2013-01-25 03:26:05.313 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]Response header keyset-cookie Response header valueSAP_SESSIONID_KDG_200=h16ZAdg4WYNNLDnKIujiAS1gsfdm0RHivEJwcbx7uh8%3d; path=/
2013-01-25 03:26:05.313 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]Response header keycontent-type Response header valueapplication/xml
2013-01-25 03:26:05.313 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]Response header keycontent-encoding Response header valuegzip
2013-01-25 03:26:05.313 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]Response header keycontent-length Response header value3418
2013-01-25 03:26:05.313 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]Response header keylast-modified Response header valueFri, 25 Jan 2013 09:25:50 GMT
2013-01-25 03:26:05.313 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]Response header keyx-sap-odata-extension-version Response header value0.9
2013-01-25 03:26:05.313 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]Response header keydataserviceversion Response header value2.0
2013-01-25 03:26:05.313 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]Response header keyserver Response header valueSAP NetWeaver Application Server / ABAP 731
2013-01-25 03:26:05.313 INFO PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]Response code is HTTP/1.1 200 OK
2013-01-25 03:26:05.313 INFO PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]ODP:Recieved the response from the gateway
2013-01-25 03:26:05.313 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]--------------Finished firing the request to GW-----------
2013-01-25 03:26:05.313 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]--------------Leaving FireRequest Method-----------
2013-01-25 03:26:05.312 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]--------------Finished Execute-----------
2013-01-25 03:25:49.227 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]--------------Before Execute-----------
2013-01-25 03:25:49.227 INFO PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]ODP: Firing the request to the Gateway
2013-01-25 03:25:49.227 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]----Host request header set is ----GATEWAY1:8000
2013-01-25 03:25:49.227 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]header: key=Accept-Encoding value=gzip
2013-01-25 03:25:49.227 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]header: key=X-SAP-deviceType value=iphone
2013-01-25 03:25:49.227 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]header: key=X-SAP-deviceId value=c52c32dff4ae33099f5d385690c83e88a06ebb7b
2013-01-25 03:25:49.226 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]header: key=Authorization value= Not printed for security reasons
2013-01-25 03:25:49.226 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]header: key=Accept-Language value=en
2013-01-25 03:25:49.226 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]----------In GWProxy fireRequest()----------
2013-01-25 03:25:49.226 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]--------------About to fire the request to the GW-----------
2013-01-25 03:25:27.929 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWCConnectionPoolManager]-----leaving getConnection() of GWCConnectionPoolManager -Connection is not from pool---
2013-01-25 03:25:27.925 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWCConnectionPoolManager]Flag value is (2)false
2013-01-25 03:25:27.925 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWCConnectionPoolManager]Address to which connection object has to be assigned is:http://GATEWAY1:8000/sap/opu/sdata/MIVE/SALESCUSTOMER/$metadata
2013-01-25 03:25:27.925 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWCConnectionPoolManager]Inside getConnection() of GWCConnectionPoolManager
2013-01-25 03:25:27.925 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.ConnectionFactory]Pm is not null
2013-01-25 03:25:27.925 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.ConnectionFactory]---------In getconnection() method of Connection Factory--------
2013-01-25 03:25:27.925 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]----Application Id sent from client is--------com.sap.meps.erpcustomersearch
2013-01-25 03:25:27.924 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]----------In GWProxy handle()----------
2013-01-25 03:25:27.923 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWCRequestAdapter]----------Leaving GWCRequestAdapter constructor()----------
2013-01-25 03:25:27.923 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWCRequestAdapter]Json Request header : [{"X-SAP-applicationId":"com.sap.meps.erpcustomersearch"},{"request":"GET"},{"url":"http://GATEWAY1:8000/sap/opu/sdata/MIVE/SALESCUSTOMER/$metadata"},{"Accept-Encoding":"gzip"},{"X-SAP-applicationId":"com.sap.meps.erpcustomersearch"},{"Accept-Language":"en"},{"X-SAP-deviceType":"iphone"},{"X-SAP-deviceId":"c52c32dff4ae33099f5d385690c83e88a06ebb7b"}]
2013-01-25 03:25:27.922 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWCRequestAdapter]context.getDeviceUserName() is icustomer
2013-01-25 03:25:27.922 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWCRequestAdapter]Request header : [{"X-SAP-applicationId":"com.sap.meps.erpcustomersearch"},{"request":"GET"},{"url":"http://GATEWAY1:8000/sap/opu/sdata/MIVE/SALESCUSTOMER/$metadata"},{"Accept-Encoding":"gzip"},{"X-SAP-applicationId":"com.sap.meps.erpcustomersearch"},{"Accept-Language":"en"},{"X-SAP-deviceType":"iphone"},{"X-SAP-deviceId":"c52c32dff4ae33099f5d385690c83e88a06ebb7b"}]
2013-01-25 03:25:27.922 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWCRequestAdapter]Request body Read :
2013-01-25 03:25:27.922 INFO PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWCRequestAdapter]ODP: Read the Request information
2013-01-25 03:25:27.922 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWCRequestAdapter]UsrName/Pwd is extracted from context:
2013-01-25 03:25:27.922 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWCRequestAdapter]----------In GWCRequestAdapter constructor()----------
2013-01-25 03:25:27.918 INFO PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GatewayConnectorHandler]ODP :Recieved a request to fire to Gateway
2013-01-25 03:25:27.285 INFO PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GatewayConnectorHandler]ODP:Returning Response from Gateway Back to Message Channel
2013-01-25 03:25:27.283 DEBUG PROXY Thread-771 [com.sybase.suplite.gwc.req.util.domainReqRespLogHandler]Inside Domain Logger for ReqResp
2013-01-25 03:25:27.282 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]Connection released
2013-01-25 03:25:27.282 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWCConnectionPoolManager]-----Inside releaseConnection() of GWCConnectionPoolManager------
2013-01-25 03:25:27.282 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.ConnectionFactory]---------In releaseconnection() method of Connection Factory--------
2013-01-25 03:25:27.282 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]Response Body is written into OutputStream
2013-01-25 03:25:27.282 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]------In writing response method-----
2013-01-25 03:25:27.282 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]Response body is obtained from BackEnd
2013-01-25 03:25:27.281 INFO PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]ODP:Read response body from Gateway
2013-01-25 03:25:27.281 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]------------content encoding is ZIP ----------gzip
2013-01-25 03:25:27.281 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]------------content type|encoding|length--------application/atomsvc+xml----gzip----655----
2013-01-25 03:25:27.281 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]Response header keyset-cookie Response header valueMYSAPSSO2=AjQxMDMBABhTAEgAUgBJAEsAQQBOAFQATgAgACAAIAACAAYyADAAMAADABBLAEQARwAgACAAIAAgACAABAAYMgAwADEAMwAwADEAMgA1ADAAOQAyADUABQAEAAAACAYAAlgACQACRQD%2fAPwwgfkGCSqGSIb3DQEHAqCB6zCB6AIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBMYHIMIHFAgEBMBkwDjEMMAoGA1UEAxMDS0RHAgcgEhIUB1AhMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xMzAxMjUwOTI1MDlaMCMGCSqGSIb3DQEJBDEWBBQ5KiyeDZldB2Jqe59Sj2EcePL79jAJBgcqhkjOOAQDBDAwLgIVAJcQb7KflNoPKJmpvuG87MH4qklVAhUAvRVIhttayBsqxVgduFXLTB52bOo%3d; path=/; domain=.143.201.82
2013-01-25 03:25:27.281 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]Response header keyset-cookie Response header valueSAP_SESSIONID_KDG_200=HpXlmRN1flIHzGp5F1CHxxxAMkxm0RHivEJwcbx7uh8%3d; path=/
2013-01-25 03:25:27.281 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]Response header keycontent-type Response header valueapplication/atomsvc+xml
2013-01-25 03:25:27.281 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]Response header keycontent-encoding Response header valuegzip
2013-01-25 03:25:27.281 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]Response header keycontent-length Response header value655
2013-01-25 03:25:27.281 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]Response header keyx-sap-odata-extension-version Response header value0.9
2013-01-25 03:25:27.281 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]Response header keydataserviceversion Response header value2.0
2013-01-25 03:25:27.281 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]Response header keyserver Response header valueSAP NetWeaver Application Server / ABAP 731
2013-01-25 03:25:27.280 INFO PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]Response code is HTTP/1.1 200 OK
2013-01-25 03:25:27.280 INFO PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]ODP:Recieved the response from the gateway
2013-01-25 03:25:27.280 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]--------------Finished firing the request to GW-----------
2013-01-25 03:25:27.280 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]--------------Leaving FireRequest Method-----------
2013-01-25 03:25:27.280 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]--------------Finished Execute-----------
2013-01-25 03:25:16.010 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]--------------Before Execute-----------
2013-01-25 03:25:16.010 INFO PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]ODP: Firing the request to the Gateway
2013-01-25 03:25:16.010 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]----Host request header set is ----114.143.201.82:8000
2013-01-25 03:25:16.010 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]header: key=Accept-Encoding value=gzip
2013-01-25 03:25:16.010 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]header: key=X-SAP-deviceType value=iphone
2013-01-25 03:25:16.010 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]header: key=X-SAP-deviceId value=c52c32dff4ae33099f5d385690c83e88a06ebb7b
2013-01-25 03:25:16.009 DEBUG PROXY MessageChannel Thread-717 [com.sybase.suplite.gwc.req.handler.GWProxy]header: key=Authorization value= Not printed for security reasons
Please suggest,
Regards,
Shrikant