Learn how to write a custom transport for WSE 3.0

Service Station, by Aaron Skonnard

Syndication

If you'd like to learn how to write a custom transport for WSE 3.0, check out the advanced section of the WSE 3.0 Hands-On Lab - Exploring Messaging. This lab first shows you how to configure and use a custom transport (using Steve Maine's SMTP transport). Then it walks you through the process of implementing the HTTP.SYS transport sample that I recently shipped on my blog. The lab should give you a clearer understanding of WSE transports work -- and how to write your own -- than anything I've provided here.
 

Posted Nov 07 2005, 05:48 PM by Aaron Skonnard
Filed under:

Comments

Christopher Steen wrote Link Listing - November 7, 2005
on 11-07-2005 9:54 PM
Available command line switches for .NET Framework 2.0
setup [Via: astebner ]
DotNetNuke 4.0 w/ ASP.NET...
John wrote re: Learn how to write a custom transport for WSE 3.0
on 11-16-2005 9:35 AM
Perhaps this is a naieve question, but I'm going to ask anyway.

Your custom transport was the only way I could find to add a receiver using http to the SoapReceivers collection. So I used it, happy in my ignorance. My problem now is that I need to send http messages, but every time my SoapClient derived class tries to send a request, it goes looking for someone to send it and finds only the HttpSysOutputChannel, which will only work for responses to requests.

Now I need a little shove in the right direction. I think I may have taken off in the wrong direction already. I attempted to modify the Send method of the HttpSysOutputChannel to create a new WebRequest so I could send a message if no context was found. It is apparent to me that I don't know what I'm doing. If this is the right way to go about it, can you point me towards a useful resource for understanding how to send WebRequests?

Thanks,
John
Irwin wrote re: Learn how to write a custom transport for WSE 3.0
on 12-13-2005 4:41 AM
Hi, ur custom transport tutorial is exactly what i needed for a project in which i desire to host my web service inside my console app. however, i would like ur the built-in mime handling capability of MTOM but after we receive the message in ur adapter: HttpSysAdapter, the code uses an ISoapFormatter to deserialse the input stream - but its MIME ... and this causes an error.
Is there a built in MIME Deserializer?

Add a Comment

(required)  
(optional)
(required)  
Remember Me?