Reference.cs
11.2 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:2.0.50727.3615
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace DMSSSOAUTOUPGRADER.DMSSSOService {
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(Namespace="http://sso.tnt.erry.com", ConfigurationName="DMSSSOService.SSOServicesPortType")]
public interface SSOServicesPortType {
// CODEGEN: 参数“return”需要其他方案信息,使用参数模式无法捕获这些信息。特定属性为“System.Xml.Serialization.XmlElementAttribute”。
[System.ServiceModel.OperationContractAttribute(Action="urn:validateUser", ReplyAction="urn:validateUserResponse")]
[System.ServiceModel.XmlSerializerFormatAttribute()]
[return: System.ServiceModel.MessageParameterAttribute(Name="return")]
DMSSSOAUTOUPGRADER.DMSSSOService.validateUserResponse validateUser(DMSSSOAUTOUPGRADER.DMSSSOService.validateUserRequest request);
// CODEGEN: 参数“return”需要其他方案信息,使用参数模式无法捕获这些信息。特定属性为“System.Xml.Serialization.XmlElementAttribute”。
[System.ServiceModel.OperationContractAttribute(Action="urn:getSystem", ReplyAction="urn:getSystemResponse")]
[System.ServiceModel.XmlSerializerFormatAttribute()]
[return: System.ServiceModel.MessageParameterAttribute(Name="return")]
DMSSSOAUTOUPGRADER.DMSSSOService.getSystemResponse getSystem(DMSSSOAUTOUPGRADER.DMSSSOService.getSystemRequest request);
// CODEGEN: 操作 getUpdateInfor 以后生成的消息协定不是 RPC,也不是换行文档。
[System.ServiceModel.OperationContractAttribute(Action="urn:getUpdateInfor", ReplyAction="urn:getUpdateInforResponse")]
[System.ServiceModel.XmlSerializerFormatAttribute()]
DMSSSOAUTOUPGRADER.DMSSSOService.getUpdateInforResponse getUpdateInfor(DMSSSOAUTOUPGRADER.DMSSSOService.getUpdateInforRequest request);
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(WrapperName="validateUser", WrapperNamespace="http://sso.tnt.erry.com", IsWrapped=true)]
public partial class validateUserRequest {
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://sso.tnt.erry.com", Order=0)]
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
public string userName;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://sso.tnt.erry.com", Order=1)]
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
public string pass;
public validateUserRequest() {
}
public validateUserRequest(string userName, string pass) {
this.userName = userName;
this.pass = pass;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(WrapperName="validateUserResponse", WrapperNamespace="http://sso.tnt.erry.com", IsWrapped=true)]
public partial class validateUserResponse {
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://sso.tnt.erry.com", Order=0)]
[System.Xml.Serialization.XmlElementAttribute("return", IsNullable=true)]
public object[] @return;
public validateUserResponse() {
}
public validateUserResponse(object[] @return) {
this.@return = @return;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(WrapperName="getSystem", WrapperNamespace="http://sso.tnt.erry.com", IsWrapped=true)]
public partial class getSystemRequest {
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://sso.tnt.erry.com", Order=0)]
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
public string userIdStr;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://sso.tnt.erry.com", Order=1)]
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
public string userName;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://sso.tnt.erry.com", Order=2)]
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
public string password;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://sso.tnt.erry.com", Order=3)]
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
public string language;
public getSystemRequest() {
}
public getSystemRequest(string userIdStr, string userName, string password, string language) {
this.userIdStr = userIdStr;
this.userName = userName;
this.password = password;
this.language = language;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(WrapperName="getSystemResponse", WrapperNamespace="http://sso.tnt.erry.com", IsWrapped=true)]
public partial class getSystemResponse {
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://sso.tnt.erry.com", Order=0)]
[System.Xml.Serialization.XmlElementAttribute("return", IsNullable=true)]
public object[] @return;
public getSystemResponse() {
}
public getSystemResponse(object[] @return) {
this.@return = @return;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
public partial class getUpdateInforRequest {
public getUpdateInforRequest() {
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
[System.ServiceModel.MessageContractAttribute(WrapperName="getUpdateInforResponse", WrapperNamespace="http://sso.tnt.erry.com", IsWrapped=true)]
public partial class getUpdateInforResponse {
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://sso.tnt.erry.com", Order=0)]
[System.Xml.Serialization.XmlElementAttribute("return", IsNullable=true)]
public object[] @return;
public getUpdateInforResponse() {
}
public getUpdateInforResponse(object[] @return) {
this.@return = @return;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public interface SSOServicesPortTypeChannel : DMSSSOAUTOUPGRADER.DMSSSOService.SSOServicesPortType, System.ServiceModel.IClientChannel {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
public partial class SSOServicesPortTypeClient : System.ServiceModel.ClientBase<DMSSSOAUTOUPGRADER.DMSSSOService.SSOServicesPortType>, DMSSSOAUTOUPGRADER.DMSSSOService.SSOServicesPortType {
public SSOServicesPortTypeClient() {
}
public SSOServicesPortTypeClient(string endpointConfigurationName) :
base(endpointConfigurationName) {
}
public SSOServicesPortTypeClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public SSOServicesPortTypeClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public SSOServicesPortTypeClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress) {
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
DMSSSOAUTOUPGRADER.DMSSSOService.validateUserResponse DMSSSOAUTOUPGRADER.DMSSSOService.SSOServicesPortType.validateUser(DMSSSOAUTOUPGRADER.DMSSSOService.validateUserRequest request) {
return base.Channel.validateUser(request);
}
public object[] validateUser(string userName, string pass) {
DMSSSOAUTOUPGRADER.DMSSSOService.validateUserRequest inValue = new DMSSSOAUTOUPGRADER.DMSSSOService.validateUserRequest();
inValue.userName = userName;
inValue.pass = pass;
DMSSSOAUTOUPGRADER.DMSSSOService.validateUserResponse retVal = ((DMSSSOAUTOUPGRADER.DMSSSOService.SSOServicesPortType)(this)).validateUser(inValue);
return retVal.@return;
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
DMSSSOAUTOUPGRADER.DMSSSOService.getSystemResponse DMSSSOAUTOUPGRADER.DMSSSOService.SSOServicesPortType.getSystem(DMSSSOAUTOUPGRADER.DMSSSOService.getSystemRequest request) {
return base.Channel.getSystem(request);
}
public object[] getSystem(string userIdStr, string userName, string password, string language) {
DMSSSOAUTOUPGRADER.DMSSSOService.getSystemRequest inValue = new DMSSSOAUTOUPGRADER.DMSSSOService.getSystemRequest();
inValue.userIdStr = userIdStr;
inValue.userName = userName;
inValue.password = password;
inValue.language = language;
DMSSSOAUTOUPGRADER.DMSSSOService.getSystemResponse retVal = ((DMSSSOAUTOUPGRADER.DMSSSOService.SSOServicesPortType)(this)).getSystem(inValue);
return retVal.@return;
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
DMSSSOAUTOUPGRADER.DMSSSOService.getUpdateInforResponse DMSSSOAUTOUPGRADER.DMSSSOService.SSOServicesPortType.getUpdateInfor(DMSSSOAUTOUPGRADER.DMSSSOService.getUpdateInforRequest request) {
return base.Channel.getUpdateInfor(request);
}
public object[] getUpdateInfor() {
DMSSSOAUTOUPGRADER.DMSSSOService.getUpdateInforRequest inValue = new DMSSSOAUTOUPGRADER.DMSSSOService.getUpdateInforRequest();
DMSSSOAUTOUPGRADER.DMSSSOService.getUpdateInforResponse retVal = ((DMSSSOAUTOUPGRADER.DMSSSOService.SSOServicesPortType)(this)).getUpdateInfor(inValue);
return retVal.@return;
}
}
}