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

Tip: Looking for answers? Try searching our database.

tcp with WebServicesClientProtocol

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
EP - 17 Nov 2004 19:18 GMT
Is there any way to use tcp with the WebServicesClientProtocol instead of
http?
Martin Kulov - 19 Nov 2004 10:27 GMT
Hello EP,

Please see earlier post "SOAP.TCP".

Regards,
Martin Kulov
www.codeattest.com
Drew Marsh - 19 Nov 2004 19:36 GMT
> Is there any way to use tcp with the WebServicesClientProtocol instead
> of http?

No. It's tied to purely HTTP. Have a look at it's inheritance hierarchy:

     ....
       System.Web.Services.Protocols.WebClientProtocol
         System.Web.Services.Protocols.HttpWebClientProtocol
           System.Web.Services.Protocols.SoapHttpClientProtocol
             Microsoft.Web.Services2.WebServicesClientProtocol

No way to get around that.

That said, can use the following WseWsdl2.exe command line params to generate a SoapClient based proxy instead:

wsewsdl2 MyService.wsdl MyProxyDefinitions.cs

This process is documented here.

HTH,
Drew
Drew Marsh - 19 Nov 2004 19:47 GMT
I wrote:

> This process is documented here.

Woops, forgot to provide the link. Here it is:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wse/html/gxacon
wsdltosoapclienttool.asp


-Drew

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.