Q

SAS Web services timeouts

A SearchWebServices.com member asks one of our experts, "I am trying to consume a SAS Web service to retrieve XML and access it from a .NET client. We are having timeout and system problems. Do you know of any Web services that can accommodate these activities in a flexible and robust manner?" Read the response or pose your own question to any of our experts.

I am trying to consume a SAS Web service to retrieve XML and access it from a .NET client. We are having timeout and system problems. Do you know of any Web services that can accommodate these activities in a flexible and robust manner?

If you are accessing the SAS Web service over HTTP protocol, timeouts are governed by the Web server, and possibly

the application host for the Web service. In an ASP.NET world, IIS and ASP.NET both have settings for timeout that you can set to support long running activities. I have no specifics for your timeout, but if the request is greater than the configured Web server or application timeout, you will have to increase the timeout to some acceptable level that exceeds a typical SAS request in your system. That said, increasing the timeout may not be the right solution at all.

What are your average page loads for all requests? Is it possible that certain requests have other performance issues related to the objects communicating with SAS behind the Web service? Isolate which requests are timing out and see what you can do there.

Otherwise, if all requests time out, you should look at what is causing the system to be slower than the configured timeout value for requests. What is that value? Generally speaking, requests should be less than two seconds, so if requests are exceeding this, why? Is there a large payload? Is it necessary? Is there any way to speed up SAS?

The problem you are having is not specific to Web services as a protocol, but a configuration and design issue. It could also be the performance of the system equipment. What kind of horsepower do you need to host your applications? How many requests are you servicing per second? You should be gathering these statistics as well, to calculate your capacity per server.

Hopefully this answer will help direct you to the source of the problem.

This was first published in August 2005

Dig deeper on Microsoft .NET Web services

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchSoftwareQuality

SearchCloudApplications

SearchAWS

TheServerSide

SearchWinDevelopment

Close