function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
blackchirublackchiru 

Visualforce Error System.CalloutException: Web service callout failed: Unexpected element.

I am trying to callout from visualforce page to sap systems..i am getting the following  error..can anybody know how to resolve this issue????????

 

 

Visualforce Error   System.CalloutException: Web service callout failed: Unexpected element.

Parser was expecting element 'http://schemas.xmlsoap.org/soap/envelope/:Envelope' but found ':HTML'

MandyKoolMandyKool

Hi,

 

It looks like you are working from the intranet of your company, so may be facing the firewall issue.

You can check out the following post and ask you IT Admin guys for help.

 

http://boards.developerforce.com/t5/Apex-Code-Development/http-schemas-xmlsoap-org-soap-envelope-Envelope-but-found-html/td-p/106561/page/2

 

Hope this will help!!

 

blackchirublackchiru

Thank u