You need to sign in to do that
Don't have an account?
Kevin Desai
Web service callout failed: Unexpected element. Parser was expecting element 'http://schemas.xmlsoap.org/soap/envelope/:Envelope' but found ':html
Hi All,
I am getting the following error
Web service callout failed: Unexpected element. Parser was expecting element 'http://schemas.xmlsoap.org/soap/envelope/:Envelope' but found ':html
As per the online forums, this is when the external system returns HTML and not SOAP. But i think the error is from my side as im also getting faultcode:soap:client.
Any help? Let me know if u need more info.
I am getting the following error
Web service callout failed: Unexpected element. Parser was expecting element 'http://schemas.xmlsoap.org/soap/envelope/:Envelope' but found ':html
As per the online forums, this is when the external system returns HTML and not SOAP. But i think the error is from my side as im also getting faultcode:soap:client.
Any help? Let me know if u need more info.
2) does SFDC has access to the remote service?
I think the issue is mostly the service is not public on internet. you have to check whether the service allows outside calls and might have to make it public on internet and whitelist salesforce ips so that SFDC can call the service.
https://help.salesforce.com/apex/HTViewSolution?id=000003652