when SAP system is calling a back end service using apigee proxy URL Apigee on premise is getting 502 error +garbage value in response content.but same URL+request when we try from other rest clients like SOAPUI ,postman etc Apigee is getting 200 ok +valid response.
Can you use Api Proxy Trace Option in Apigee Edge and see whether backend is returning 502 or Apigee Proxy is returning 502 error ? Most probably i believe it’s a backend issue since it works from other clients.
yes am using it,but my oncloud environment is giving 200 OK response +garbage value all the time only on premise is giving the 502 error when sap is requesting (API is internal to external call)
Which consumer is making the call: ABAP, BSP, BHTML, WebDynPro, eetc? If you have Context-Specific Character Encoding - you want to make sure that you are specifying utf-8 or whatever your target is producing…
SAP NetWeaver Application Server 7.21 / AS Java 7.30, The program invoking the service is a Java webservice in SAP.
But wehn we invoke from our end using POSTMAN and SOAP UI REST project it works. ALso one more thing , when we invoke using SOAP UI SOAP project it also returns garbage value. Hope this info helps.
Thanks David, we somehow did a service callout from post flow and returned the response back to SAP. But now SAP system complains SOAP:1.027 SRT: Serialization / Deserialization failed.