You need to sign in to do that
Don't have an account?
Webservices
Hi
We are trying to use web service callouts and we are nearly there!
The web service callouts work, but only on our client's server (Running Windows 2008 and IIS6)
http://webservices.wlrstore.com/aiWebAdServerDemo/test1getpost.asmx
But it dows NOT work on our own server (a virtual sever at Fasthosts, running Windows 2008 R2 and IIS7.5)
http://salesforce.alpha-index.co.uk/packageservice/helloworld.asmx
Both these web services have the HelloWorld method, and they work fine when we call them from a .Net page.
But in Salesforce the first URL works fine, but we get this error when we call the web service on our server:
System.CalloutException: IO Exception: Read timed out
And if we try to execute like anonymous in Force IDE, we find this error:
(59124000)|CALLOUT_REQUEST|[28]|<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Header /><env:Body><sayHelloWorld xmlns="http://salesforce.alpha-index.co.uk/packageservice/" /></env:Body></env:Envelope> (59194000)|CALLOUT_REQUEST|[28]|sayHelloWorld_element:[apex_schema_type_info=(http://salesforce.alpha-index.co.uk/packageservice/, true, false), field_order_type_info=()]::SFDC_STACK_DEPTH=1 SOAPAction="http://salesforce.alpha-index.co.uk/packageservice/sayHelloWorld" User-Agent=SFDC-Callout/27.0 Accept=text/xml Content-Type=text/xml; charset=UTF-8 (10060111000)|EXCEPTION_THROWN|[28]|System.CalloutException: IO Exception: Read timed out (10060449000)|METHOD_EXIT|[2]|01pd0000002I2L2|AlphaIndex.alphaIndexCoUkSample.HelloWorldSoap.sayHelloWorld() (10060568000)|FATAL_ERROR|System.CalloutException: IO Exception: Read timed out
Does anyone know if there is an issue with Salesforce and IIS7 web services?
You don't need a certificate to use web services with Salesforce do you?
Could it be a firewall port setting?
Anybody have any other ideas?
Please help!!
Thank you in advance.
Pablo
Hi
After trying months and try everything that I could think... I have the solution.
The antivirus has a option which keeps out to any email in our system. For some reason, the antivirus believes that the actions, like POST, are emails.
So when we remove this option from our server, all the actions from salesforce began to work.
I hope that this can help anyone who has this problem.
Pablo
All Answers
First of all let me clear your doubt."You need certificates on external system else your callout will fail".Now the problem thats occuring is not due to certificate i feel.Its basically the callout time limit is getting exhausted .120 seconds is default time .Hope this helps
Hi
After trying months and try everything that I could think... I have the solution.
The antivirus has a option which keeps out to any email in our system. For some reason, the antivirus believes that the actions, like POST, are emails.
So when we remove this option from our server, all the actions from salesforce began to work.
I hope that this can help anyone who has this problem.
Pablo