Reference.cs
3.5 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace MydataWcfServiceTest.ServiceReference2 {
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(Namespace="RtTower", ConfigurationName="ServiceReference2.ITowerAppWS")]
public interface ITowerAppWS {
[System.ServiceModel.OperationContractAttribute(Action="RtTower/ITowerAppWS/WebServiceIsConnected", ReplyAction="RtTower/ITowerAppWS/WebServiceIsConnectedResponse")]
bool WebServiceIsConnected();
[System.ServiceModel.OperationContractAttribute(Action="RtTower/ITowerAppWS/WebServiceIsConnected", ReplyAction="RtTower/ITowerAppWS/WebServiceIsConnectedResponse")]
System.Threading.Tasks.Task<bool> WebServiceIsConnectedAsync();
[System.ServiceModel.OperationContractAttribute(Action="RtTower/ITowerAppWS/XmlAction", ReplyAction="RtTower/ITowerAppWS/XmlActionResponse")]
System.Xml.Linq.XElement XmlAction(string xmlData);
[System.ServiceModel.OperationContractAttribute(Action="RtTower/ITowerAppWS/XmlAction", ReplyAction="RtTower/ITowerAppWS/XmlActionResponse")]
System.Threading.Tasks.Task<System.Xml.Linq.XElement> XmlActionAsync(string xmlData);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface ITowerAppWSChannel : MydataWcfServiceTest.ServiceReference2.ITowerAppWS, System.ServiceModel.IClientChannel {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class TowerAppWSClient : System.ServiceModel.ClientBase<MydataWcfServiceTest.ServiceReference2.ITowerAppWS>, MydataWcfServiceTest.ServiceReference2.ITowerAppWS {
public TowerAppWSClient() {
}
public TowerAppWSClient(string endpointConfigurationName) :
base(endpointConfigurationName) {
}
public TowerAppWSClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public TowerAppWSClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public TowerAppWSClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress) {
}
public bool WebServiceIsConnected() {
return base.Channel.WebServiceIsConnected();
}
public System.Threading.Tasks.Task<bool> WebServiceIsConnectedAsync() {
return base.Channel.WebServiceIsConnectedAsync();
}
public System.Xml.Linq.XElement XmlAction(string xmlData) {
return base.Channel.XmlAction(xmlData);
}
public System.Threading.Tasks.Task<System.Xml.Linq.XElement> XmlActionAsync(string xmlData) {
return base.Channel.XmlActionAsync(xmlData);
}
}
}