forcedotcom / wsc

Other
269 stars 223 forks source link

Provide a way to get original(raw) response for non-SOAP/HTML content in response #289

Open dpnkr opened 2 years ago

dpnkr commented 2 years ago

We are getting the following error intermittently while using force-wsc API with our application.

Encountered HTML Content when looking for http://schemas.xmlsoap.org/soap/envelope/:Envelope

To see the actual response for which this error is getting generated we have added a few extra logging in com.sforce.ws.transport.SoapConnection > send() method and it turned out that the response is coming from the Salesforce edge. For a client, it is very difficult to get an idea about the cause or the source of the HTML response without interfering with the force-API. Hence it would be better if we introduce some API by which the client of force-wsc API can get a hold of the actual raw response which is sent from the salesforce back-end.

tarun-testsigma commented 1 year ago

+1 Facing the same issue

tarun-testsigma commented 1 year ago

Is there any update on the root cause and steps to resolve this ?