I have a webservice that used the Bing Search API. When i try to call the webservice, I get a callout exception saying
System.CalloutException: Web service callout failed: WebService returned a SOAP Fault: Client error faultcode=soapenv:Client faultactor=http://api.search.live.net:80/soap.asmx
I am not sure how to fix this. I tried to google this but couldn't find a solution. Below is the line where this is happening.
WebServiceCallout.invoke(
this,
request_x,
response_map_x,
new String[]{endpoint_x,
'http://schemas.microsoft.com/LiveSearch/2008/03/Search/Search',
'http://schemas.microsoft.com/LiveSearch/2008/03/Search',
'SearchRequest',
'http://schemas.microsoft.com/LiveSearch/2008/03/Search',
'SearchResponse',
'schemasMicrosoftComLivesearch200803.SearchResponse_element'}
);
This code is a part of the generated class from the WSDL.
Any help will be really appreciated.