Skip to Content
0
Former Member
Apr 03, 2013 at 10:40 AM

bad request in sap erp order status

23 Views

hello,

I am implementing sap erp order status.

so far i have managed to login into the application using device(ipad).

but when i select customers from there, then it gives an error as bad requset.

My sup server logs are as follows:

2013-04-03 14:43:18.601 DEBUG MMS MessageChannel Thread-214 [com.sybase.sup.server.msgchannel.internal.InboundMoIIOPTransportImpl] Thread [MessageChannel Thread-214] was previously known as [MessageChannel Thread-214]

2013-04-03 14:43:18.601 DEBUG MMS MessageChannel Thread-214 [com.sybase.sup.server.msgchannel.internal.InboundMoIIOPTransportImpl] IIOP Transport, executing request = [4956508]...

2013-04-03 14:43:18.601 DEBUG MMS MessageChannel Thread-214 [com.sybase.sup.server.msgchannel.internal.InternalContext] username in upa header = [xxxxxx].

2013-04-03 14:43:18.601 DEBUG MMS MessageChannel Thread-214 [com.sybase.sup.server.msgchannel.internal.InternalContext] handlerId = [GWCRequest].

2013-04-03 14:43:18.601 DEBUG MMS MessageChannel Thread-214 [com.sybase.sup.server.msgchannel.internal.InternalContext] securityConfiguration = [basic].

2013-04-03 14:43:18.601 DEBUG MMS MessageChannel Thread-214 [com.sybase.sup.server.msgchannel.internal.InternalContext] domain = [default].

2013-04-03 14:43:18.601 DEBUG MMS MessageChannel Thread-214 [com.sybase.sup.server.msgchannel.internal.InternalContext] username = [xxxxxx].

2013-04-03 14:43:18.601 DEBUG MMS MessageChannel Thread-214 [com.sybase.sup.server.msgchannel.internal.InternalContext] logicalDeviceId = [56].

2013-04-03 14:43:18.602 DEBUG MMS MessageChannel Thread-214 [com.sybase.sup.server.msgchannel.internal.InternalContext] applicationConnectionId = [969d3b0cfe46bdb97cdd3f16a8db0abbf4d16253__com.sap.bsuite.erp.ops.orderstatus].

2013-04-03 14:43:18.602 DEBUG MMS MessageChannel Thread-214 [com.sybase.sup.server.msgchannel.internal.InternalContext] physicalDeviceId = [moca://969d3b0cfe46bdb97cdd3f16a8db0abbf4d16253__com.sap.bsuite.erp.ops.orderstatus].

2013-04-03 14:43:18.602 DEBUG MMS MessageChannel Thread-214 [com.sybase.sup.server.msgchannel.internal.InternalContext] deviceUserName = [ipad89].

2013-04-03 14:43:18.602 DEBUG MMS MessageChannel Thread-214 [com.sybase.sup.server.msgchannel.internal.InternalContext] headers = [[B@360878b8].

2013-04-03 14:43:18.602 DEBUG MMS MessageChannel Thread-214 [com.sybase.sup.server.msgchannel.internal.InternalContext] requestId = [4956508].

2013-04-03 14:43:18.602 DEBUG MMS MessageChannel Thread-214 [com.sybase.sup.server.msgchannel.internal.InternalContext] requiresAuthentication = [true].

2013-04-03 14:43:18.604 DEBUG MMS MessageChannel Thread-214 [com.sybase.sup.server.msgchannel.internal.MessageChannelInternal] Attempting to login (requestId=[4956508])...

2013-04-03 14:43:18.604 DEBUG MMS MessageChannel Thread-214 [com.sybase.djc.mobilink.LoginHandler] authenticated user.

2013-04-03 14:43:18.604 DEBUG MMS MessageChannel Thread-214 [com.sybase.djc.mobilink.LoginHandler] registered user.

2013-04-03 14:43:18.606 DEBUG MMS MessageChannel Thread-214 [com.sybase.sup.server.msgchannel.internal.MessageChannelInternal] Login successful (requestId=[4956508]).

2013-04-03 14:43:18.607 DEBUG MMS MessageChannel Thread-214 [com.sybase.sup.server.msgchannel.internal.MessageChannelInternal] About to execute request (requestId=[4956508], handlerId=[GWCRequest]), request length=[0] in Handler [com.sybase.suplite.gwc.req.handler.GatewayConnectorHandler]...

2013-04-03 14:43:18.607 INFO PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GatewayConnectorHandler] ODP :Recieved a request to fire to Gateway

2013-04-03 14:43:18.610 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWCRequestAdapter] ----------In GWCRequestAdapter constructor()----------

2013-04-03 14:43:18.610 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWCRequestAdapter] UsrName/Pwd is extracted from context:

2013-04-03 14:43:18.610 INFO PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWCRequestAdapter] ODP: Read the Request information

2013-04-03 14:43:18.610 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWCRequestAdapter] Request body Read :

2013-04-03 14:43:18.610 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWCRequestAdapter] Request header : [{"X-SAP-applicationId":"com.sap.bsuite.erp.ops.orderstatus"},{"request":"GET"},{"url":"http://<server-host>:8000/sap/opu/sdata/sap/LWMSD_ORDERSTATUS/CustomerCollection?$filter=searchid+eq+'mycustomers'"},{"Accept-Encoding":"gzip"},{"X-Requested-With":"XMLHttpRequest"},{"Content-Type":"application/atom+xml"},{"Accept":"application/xml"},{"Accept-Language":"en"}]

2013-04-03 14:43:18.610 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWCRequestAdapter] context.getDeviceUserName() is ipad89

2013-04-03 14:43:18.610 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWCRequestAdapter] Json Request header : [{"X-SAP-applicationId":"com.sap.bsuite.erp.ops.orderstatus"},{"request":"GET"},{"url":"http://<server-host>:8000/sap/opu/sdata/sap/LWMSD_ORDERSTATUS/CustomerCollection?$filter=searchid+eq+'mycustomers'"},{"Accept-Encoding":"gzip"},{"X-Requested-With":"XMLHttpRequest"},{"Content-Type":"application/atom+xml"},{"Accept":"application/xml"},{"Accept-Language":"en"}]

2013-04-03 14:43:18.610 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWCRequestAdapter] ----------Leaving GWCRequestAdapter constructor()----------

2013-04-03 14:43:18.611 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] ----------In GWProxy handle()----------

2013-04-03 14:43:18.611 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] ----Application Id sent from client is--------com.sap.bsuite.erp.ops.orderstatus

2013-04-03 14:43:18.611 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.ConnectionFactory] ---------In getconnection() method of Connection Factory--------

2013-04-03 14:43:18.611 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.ConnectionFactory] Pm is not null

2013-04-03 14:43:18.612 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWCConnectionPoolManager] Inside getConnection() of GWCConnectionPoolManager

2013-04-03 14:43:18.612 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWCConnectionPoolManager] Address to which connection object has to be assigned is:http://<server-host>:8000/sap/opu/sdata/sap/LWMSD_ORDERSTATUS/CustomerCollection?$filter=searchid+eq+'mycustomers'

2013-04-03 14:43:18.612 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWCConnectionPoolManager] Flag value is (2)false

2013-04-03 14:43:18.613 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWCConnectionPoolManager] -----leaving getConnection() of GWCConnectionPoolManager -Connection is not from pool---

2013-04-03 14:43:18.613 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] --------------About to fire the request to the GW-----------

2013-04-03 14:43:18.613 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] ----------In GWProxy fireRequest()----------

2013-04-03 14:43:18.613 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] header: key=Accept-Language value=en

2013-04-03 14:43:18.614 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] header: key=Authorization value= Not printed for security reasons

2013-04-03 14:43:18.614 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] header: key=X-Requested-With value=XMLHttpRequest

2013-04-03 14:43:18.614 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] header: key=Accept-Encoding value=gzip

2013-04-03 14:43:18.614 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] header: key=Content-Type value=application/atom+xml

2013-04-03 14:43:18.614 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] header: key=Accept value=application/xml

2013-04-03 14:43:18.614 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] ----Host request header set is ----<server-host>:8000

2013-04-03 14:43:18.614 INFO PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] ODP: Firing the request to the Gateway

2013-04-03 14:43:18.614 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] --------------Before Execute-----------

2013-04-03 14:43:18.745 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] --------------Finished Execute-----------

2013-04-03 14:43:18.745 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] --------------Leaving FireRequest Method-----------

2013-04-03 14:43:18.745 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] --------------Finished firing the request to GW-----------

2013-04-03 14:43:18.745 INFO PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] ODP:Recieved the response from the gateway

2013-04-03 14:43:18.745 INFO PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] Response code is HTTP/1.1 400 Bad Request

2013-04-03 14:43:18.745 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] Response header keyserver Response header valueSAP NetWeaver Application Server / ABAP 731

2013-04-03 14:43:18.745 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] Response header keydataserviceversion Response header value2.0

2013-04-03 14:43:18.745 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] Response header keyx-sap-odata-extension-version Response header value0.9

2013-04-03 14:43:18.745 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] Response header keycontent-length Response header value651

2013-04-03 14:43:18.745 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] Response header keycontent-encoding Response header valuegzip

2013-04-03 14:43:18.745 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] Response header keycontent-type Response header valueapplication/xml

2013-04-03 14:43:18.745 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] Response header keyset-cookie Response header valueSAP_SESSIONID_TND_001=2aNkQmiMHzsAA4REs0hrarTHuxCcPhHis-UAGbn6PRw%3d; path=/

2013-04-03 14:43:18.746 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] Response header keyset-cookie Response header valueMYSAPSSO2=AjQxMDMBABhHAFcAXwBBAEQATQBJAE4AIAAgACAAIAACAAYwADAAMQADABBUAE4ARAAgACAAIAAgACAABAAYMgAwADEAMwAwADQAMAAzADAAOQAxADMABQAEAAAACAYAAlgACQACRQD%2fAPwwgfkGCSqGSIb3DQEHAqCB6zCB6AIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBMYHIMIHFAgEBMBkwDjEMMAoGA1UEAxMDVE5EAgcgEhAYEAgJMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xMzA0MDMwOTEzMThaMCMGCSqGSIb3DQEJBDEWBBTK%2fNY2B2hkt8%2fcJ%2fLecAYhdqaWajAJBgcqhkjOOAQDBDAwLgIVAJCqy%21cBRayaLXje0fvzmht%2f753jAhUAjcvkp14wKFlWecliQrnS%2fD2Kejg%3d; path=/; domain=<host>

2013-04-03 14:43:18.746 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] ------------content type|encoding|length--------application/xml----gzip----651----

2013-04-03 14:43:18.746 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] -------Response code from GW is not 2XX--------

2013-04-03 14:43:18.746 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] ------------content encoding is ZIP ----------gzip

2013-04-03 14:43:18.746 INFO PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] ODP:Read response body from Gateway

2013-04-03 14:43:18.746 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] Response body is obtained from BackEnd

2013-04-03 14:43:18.746 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] ------In writing response method-----

2013-04-03 14:43:18.746 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] Response Body is written into OutputStream

2013-04-03 14:43:18.746 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.ConnectionFactory] ---------In releaseconnection() method of Connection Factory--------

2013-04-03 14:43:18.746 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWCConnectionPoolManager] -----Inside releaseConnection() of GWCConnectionPoolManager------

2013-04-03 14:43:18.747 DEBUG PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GWProxy] Connection released

2013-04-03 14:43:18.747 DEBUG PROXY Thread-425 [com.sybase.suplite.gwc.req.util.domainReqRespLogHandler] Inside Domain Logger for ReqResp

2013-04-03 14:43:18.748 INFO PROXY MessageChannel Thread-214 [com.sybase.suplite.gwc.req.handler.GatewayConnectorHandler] ODP:Returning Response from Gateway Back to Message Channel

2013-04-03 14:43:18.749 DEBUG MMS MessageChannel Thread-214 [com.sybase.sup.server.msgchannel.internal.MessageChannelInternal] Done executing request (requestId=[4956508], response length=[1780], elapsed time=[142 ms].

2013-04-03 14:43:18.749 DEBUG MMS MessageChannel Thread-214 [com.sybase.sup.server.msgchannel.internal.InboundMoIIOPTransportImpl] IIOP Transport, done executing request = [4956508], elapsed time=[148 ms].

can anybody help me out???

Thanks n Regards

Ajay