You need to sign in to do that
Don't have an account?
sfdc2705
EXCEPTION: System.CalloutException: Web service callout failed: Unexpected element. Parser was expecting element 'http://schemas.xmlsoap.org/soap/envelope/:Envelope' but found ':HTML'
EXCEPTION: System.CalloutException: Web service callout failed: Unexpected element. Parser was expecting element 'http://schemas.xmlsoap.org/soap/envelope/:Envelope' but found ':HTML'.
I have generated the Apex classes from the WSDL.
when i am trying to execute anonymous log the above exception comes.
FYI here the endpoint in the remote settings is pointed to 'Intranet'.
Please let me know how to sove and any work arounds..
Thanks
I have generated the Apex classes from the WSDL.
when i am trying to execute anonymous log the above exception comes.
FYI here the endpoint in the remote settings is pointed to 'Intranet'.
Please let me know how to sove and any work arounds..
Thanks
Check the following:
1. Check if external webservice is really available and working.
2. Check if Salesforce's IP addresses are included in whitelist on the firewall of the network where the external wabservice is located.
3. Validate the endpoint address of the webservice.
4. Check if the endpoint's server is enabled as a Remote Site in Salesforce.
5. Remember that web service must be accesible from Internet to a public and valid IP address.
Thanks
Pramod