Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dpnkr opened this issue Dec 2, 2021 · 2 comments

Comments

@dpnkr
Copy link

dpnkr commented Dec 2, 2021

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
Copy link

+1 Facing the same issue

@tarun-testsigma
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants