You need to sign in to do that
Don't have an account?
squarewave
timeout while logging into salesfroce api from a web app
I have no problems connecting to salesforce api from a console app.
however, when I execute the same call from a web project, it hangs and times out on this line:
Svc.login(_username, _password + _token);
where Svc is
SFDC2.SforceService : System.Web.Services.Protocols.SoapHttpClientProtocol
again, this same code is used no problem from a console app within the same solution
i am connecting using a web reference, based on a the generated WSDL from salesfroce.com admin screen.
there is a hidden exception
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
however, when I execute the same call from a web project, it hangs and times out on this line:
Svc.login(_username, _password + _token);
where Svc is
SFDC2.SforceService : System.Web.Services.Protocols.SoapHttpClientProtocol
again, this same code is used no problem from a console app within the same solution
i am connecting using a web reference, based on a the generated WSDL from salesfroce.com admin screen.
there is a hidden exception
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
All Answers