You need to sign in to do that
Don't have an account?
System.CalloutException: IO Exception: External server did not return any content
Hi,
I am connecting to a webservice using visualforce controller. I have
parsed the WSDL into proxy apex classes and have the service methods exposed.
Now when I call the method and try to hit the service I get the error message
saying.
System.CalloutException: IO Exception: External server did not
return any content
When I call the same service using SOAP UI with same
input parameters there is no issue and I get positive response from the service.
I validated from the service provider and came to know that when I make
call from SFDC service is not getting hit.
Any help is appreciated.
Just a thought, make sure URL you hitting is publicly accessible.
Thanks
Ankit Arora
Blog | Facebook | Blog Page
Yes, this is there.
Ajit,
Were you able to find a solution for this? we are experiencing the same proble.
Please make sure that the SOAP message built in the callout conforms to the sample SOAP message given by your service provider. If sample is not available from the service provider compare it with the working SoapUI request message.
Apex callout by default inserts empty SOAP header "<env:Header/>", the issue can be as simple as the callout SOAP message containing this empty header which the server does not expect.