Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / October 2003

Tip: Looking for answers? Try searching our database.

Building a rich client using web services and ie6 - Asynchronous requests.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bill Zack - 30 Oct 2003 04:50 GMT
I understand that it is possible to build a rich client using IE6 and
Web Services.  I understand the model using webservice.htc to make
synchronous requests to a web service from the browser.

In the case where the Web Service is hosted in IIS (ASP.NET) I am a
little confused as to how asynchronous calls would work.  Wouldn't
that requre that a request be initiated by the server to the client?
Or would the client have to make a request later to collect the
response?

Bill Zack
Arthur Nesterovsky - 30 Oct 2003 09:05 GMT
Hi,

> In the case where the Web Service is hosted in IIS (ASP.NET) I am a
> little confused as to how asynchronous calls would work.  Wouldn't
> that requre that a request be initiated by the server to the client?
> Or would the client have to make a request later to collect the
> response?

It seems that you don't understand how asynchronous calls work.
So, I offer to read the following articles from MSDN:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnservice/html/
service09032002.asp


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnservice/html/
service10012002.asp


http://msdn.microsoft.com/msdnmag/issues/03/06/Threading/default.aspx

Signature

______________________________
With best wishes, Arthur Nesterovsky
Please visit my home page:
     http://www.nesterovsky-bros.com

MSFT - 30 Oct 2003 10:00 GMT
Hi Bill,

You may refer to following article to see if it will help:

Communicating with XML Web Services Asynchronously
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconinvokingwebservicesasynchronously.asp

Luke
Microsoft Online Support

Signature

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Bill Zack - 30 Oct 2003 15:09 GMT
I did get a couple of responses to this question, and they listed some
URLs that were very helpfull in explaining how to make asynchronous
requests from an ASP.NET client.  In my case, however, the Web
Services Client will be an Internet Explorer (IE6) application making
Web Service request to an ASP.NET Web Service hosted under IIS.  IE
will be using the Webservice.htc client-side HTML component to make
the requests.

The articles listed the following methods to recieve the final request
completion:
1. Polling
2. Wait handles
3. Callbacks

I would like to know if anything other than #1 will work in this case.
I can not quite see how an ASP.NET Web Service can initiate a session
with IE to use #2 or #3. (Although it would be great if it could.)

Any ideas?
> I understand that it is possible to build a rich client using IE6 and
> Web Services.  I understand the model using webservice.htc to make
[quoted text clipped - 7 lines]
>
> Bill Zack
MSFT - 31 Oct 2003 12:30 GMT
Hi Bill,

You may refer to this article to see if it will help:

Accessing Web Services From DHTML
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndude/html
/dude01222001.asp

Luke
Microsoft Online Support

Signature

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.