2 // Microsoft.Web.Services.Messaging.ISoapTransport.cs
\r
4 // Author: Daniel Kornhauser <dkor@alum.mit.edu>
\r
6 // (C) Ximian, Inc. 2003.
\r
12 using Microsoft.Web.Services;
\r
14 namespace Microsoft.Web.Services.Messaging {
\r
16 public interface ISoapTransport {
\r
18 ICredentials Credentials { get; set; }
\r
20 int IdleTimeout { get; set; }
\r
22 //string Scheme { get; }
\r
24 IAsyncResult BeginSend (
\r
25 SoapEnvelope envelope,
\r
27 AsyncCallback callback,
\r
30 void EndSend (IAsyncResult result);
\r
32 void RegisterPort (Uri to, Type port);
\r
34 void RegisterPort (Uri to, SoapReceiver receiver);
\r
36 void Send (SoapEnvelope envelop, Uri destination);
\r
38 void UnregisterAll ();
\r
40 void UnregisterPort (Uri to);
\r