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 / August 2004

Tip: Looking for answers? Try searching our database.

RPC vs. Http

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Delmar de Frasi - 04 Aug 2004 17:43 GMT
What are the differences between a http web service and a rpc web service ?

Can I build an rpc based web service with VS.NET.2003 ?
Scott M. - 04 Aug 2004 17:48 GMT
My understanding is that "Remoting" is more involved and requires setting up
listeners.

> What are the differences between a http web service and a rpc web service ?
>
> Can I build an rpc based web service with VS.NET.2003 ?
Jim Hubbard - 05 Aug 2004 00:25 GMT
You are right.  Remoting does require setting up listener programs on ports
specified by the developer.

RPC is of most use internally, because remoting does not work for machines
behind NATed firewalls.

RPC also uses a binary protocol which is much lighter and faster than HTTP
protocol.

This introduces another problem if you are thinking of using Remoting for
general use from a web page.  Most firewalls block anything that is not FTP
or HTTP traffic - that includes RPC protocols.

Although Remoting excited me when I first heard of it, I quickly lost
interest when I realized the extremely limited usefulness of the technology
due to NATs and firewalls.

Another almost-got-it-right moment for Microsoft.

Jim Hubbard

> My understanding is that "Remoting" is more involved and requires setting up
> listeners.
[quoted text clipped - 3 lines]
> >
> > Can I build an rpc based web service with VS.NET.2003 ?
Elp - 05 Aug 2004 13:03 GMT
> Although Remoting excited me when I first heard of it, I quickly lost
> interest when I realized the extremely limited usefulness of the
> technology due to NATs and firewalls.

But you can use SOAP formatters and specify the port to listen to on the
server side with Remoting so where is the problem? You can even use an HTTP
channel so this should work quite well (in theory) through NAT and
firewalls.
Jim Hubbard - 06 Aug 2004 01:43 GMT
http://groups.google.com/groups?hl=en&lr=lang_en&ie=UTF-8&safe=off&edition=us&th
readm=v2jtr7qb695fee%40corp.supernews.com&rnum=1&prev=/groups%3Fnum%3D100%26hl%3
Den%26lr%3Dlang_en%26ie%3DUTF-8%26safe%3Doff%26edition%3Dus%26q%3Dremoting%2B%25
22jim%2Bhubbard%2522


> > Although Remoting excited me when I first heard of it, I quickly lost
> > interest when I realized the extremely limited usefulness of the
[quoted text clipped - 4 lines]
> channel so this should work quite well (in theory) through NAT and
> firewalls.

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.