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
cptcpt 

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

(com.salesforce.results::Fault)#0
  context = (null)
  detail = (null)
  faultcode = "soapenv:Client"
  faultstring = "System.CalloutException: Web service callout failed: Unexpected element. Parser was expecting element 'http://schemas.xmlsoap.org/soap/envelope/:Envelope' but found ':HTML'

Class.yintegDomyexpensesCom.CobrandLoginServiceHttpSoap11Endpoint.loginCobrand: line 46, column 13
Class.YodleeLoginService.cobrandLoginContext: line 20, column 17
External entry point"

 

//////// when i am calling the apex web service from flex and executing in sales force i am getting this error... how to solve this