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 / June 2005

Tip: Looking for answers? Try searching our database.

WSE3 Transport Independence On Consumer-Side

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mork - 14 Jun 2005 17:45 GMT
It appears in WSE3 that you can take your ASMX Web service
(System.Web.Services.WebService subclass) and host it outside of IIS
and call it over TCP/IP. To achieve transport independence on the
consumer-side, however, you're still going to need a class deriving
from SoapClient, right? (since WebServicesClientProtocol classes derive
from SoapHttpClientProtocol)

So, if you know you're using WSE, what's the benefit of using the
IDE-generated WebServicesClientProtocol subclass over using a
WSEWSDL3.EXE-generated SoapClient subclass?

Cheers,
~Mork
Mork - 29 Jun 2005 17:09 GMT
I found the answer to this question. The assumption that
WebServicesCilentProtocol is bound to HTTP because of its ancestor is
incorrect. WSE uses their own WebRequest and WebResponse classes and
can support various transports.

The "What's new in WSE 3" article by Mark Fussell gives an example of
using a *Wse proxy class to communicate with a service via TCP. You can
use another transport by setting the Url property.

See this article:
http://msdn.microsoft.com/webservices/default.aspx?pull=/library/en-us/dnwse/htm
l/newwse3.asp#newwse3_topic3


Cheers,
~Mork

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.