blob: bd15fae6116c9a1259a52390c2dcd45dba0ff43b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
//
// Microsoft.Web.Services.Messaging.ISoapTransport.cs
//
// Author: Daniel Kornhauser <dkor@alum.mit.edu>
//
// (C) Ximian, Inc. 2003.
//
using System;
using System.IO;
using System.Net;
using Microsoft.Web.Services;
namespace Microsoft.Web.Services.Messaging {
public interface ISoapTransport {
ICredentials Credentials { get; set; }
int IdleTimeout { get; set; }
//string Scheme { get; }
IAsyncResult BeginSend (
SoapEnvelope envelope,
Uri destination,
AsyncCallback callback,
object state);
void EndSend (IAsyncResult result);
void RegisterPort (Uri to, Type port);
void RegisterPort (Uri to, SoapReceiver receiver);
void Send (SoapEnvelope envelop, Uri destination);
void UnregisterAll ();
void UnregisterPort (Uri to);
}
}
|