Showing posts with label situation. Show all posts
Showing posts with label situation. Show all posts

Wednesday, March 28, 2012

Web Service

Hi,

I'm new in aspx an new in web services. i made a few web services as test and works fine. I have the following situation :

I have a process that needs 30 min to run. I launch the process using asp.net in a web page. This process consist in charge a table in a SQL database from a TXT file, and make some actions.

My question is : can i use a web service as batch procesing to do that charge and let the browser free so the usr can do other task?

Thk's

:thumb:not sure but one suggestion, a poor one, would be to use frames in the browser.
you could do threading but do not think ASP.NET has that, unless im mistaken :)
Do you mean you need an Asynchronous Web Service? Does the web service need to return a result to the user?

Saturday, March 24, 2012

Web Service Question

First you must forgive me because I am new to web services! My question/sit
uation is this. I have a messenger program (Windows Form based) that uses a
web service. Is there any way to check if that web service is online at an
y given time. I have read
where programs that use web services will "hang" if the service goes down.
Is there any way to make sure a web service is up before executing function
calls against it? Please post examples. I love this .NET stuff! C# is ver
y even for a former ja
va guy.
Thank you in advance,
DeanOn Mon, 5 Jul 2004 14:32:01 -0700, Dean Bortell
<DeanBortell@.discussions.microsoft.com> wrote:

>First you must forgive me because I am new to web services! My question/situation
is this. I have a messenger program (Windows Form based) that uses a web service.
Is there any way to check if that web service is online at any given time. I have r
ead
where programs that use web services will "hang" if the service goes down.
Is there any way to make sure a web service is up before executing function
calls against it? Please post examples. I love this .NET stuff! C# is ver
y even for a former j
ava guy.
>
A web service is nothing more than a web page with a well publicized
way of sending and receiving data. Other than just sending something
and seeing what comes back, I dont know of anything else.
Of course, it should be something you can track as well. If you want
to have a client side timeout, you could do so on your side.

Web Service Question

First you must forgive me because I am new to web services! My question/situation is this. I have a messenger program (Windows Form based) that uses a web service. Is there any way to check if that web service is online at any given time. I have read where programs that use web services will "hang" if the service goes down. Is there any way to make sure a web service is up before executing function calls against it? Please post examples. I love this .NET stuff! C# is very cool even for a former java guy.

Thank you in advance,

DeanOn Mon, 5 Jul 2004 14:32:01 -0700, Dean Bortell
<DeanBortell@.discussions.microsoft.com> wrote:

>First you must forgive me because I am new to web services! My question/situation is this. I have a messenger program (Windows Form based) that uses a web service. Is there any way to check if that web service is online at any given time. I have read where programs that use web services will "hang" if the service goes down. Is there any way to make sure a web service is up before executing function calls against it? Please post examples. I love this .NET stuff! C# is very cool even for a former java guy.

A web service is nothing more than a web page with a well publicized
way of sending and receiving data. Other than just sending something
and seeing what comes back, I dont know of anything else.

Of course, it should be something you can track as well. If you want
to have a client side timeout, you could do so on your side.