forcedotcom / forcedotcom/wsc

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

Open
#289 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
276
Forks
223
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.