| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483 |
- //------------------------------------------------------------------------------
- // <auto-generated>
- // 此代码由工具生成。
- // 运行时版本:4.0.30319.42000
- //
- // 对此文件的更改可能会导致不正确的行为,并且如果
- // 重新生成代码,这些更改将会丢失。
- // </auto-generated>
- //------------------------------------------------------------------------------
- //
- // 此源代码由 wsdl 自动生成, Version=4.8.3928.0。
- //
- namespace CHEER.PresentationLayer {
- using System;
- using System.Web.Services;
- using System.Diagnostics;
- using System.Web.Services.Protocols;
- using System.Xml.Serialization;
- using System.ComponentModel;
-
-
- /// <remarks/>
- // CODEGEN: 未处理命名空间“http://www.w3.org/2006/05/addressing/wsdl”中的可选 WSDL 扩展元素“UsingAddressing”。
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.8.3928.0")]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Web.Services.WebServiceBindingAttribute(Name="HandlePatientSoap11Binding", Namespace="http://www.winning.com.cn")]
- public partial class HandlePatient : System.Web.Services.Protocols.SoapHttpClientProtocol {
-
- private System.Threading.SendOrPostCallback ControllerOperationCompleted;
-
- private System.Threading.SendOrPostCallback RegisterPatientOperationCompleted;
-
- private System.Threading.SendOrPostCallback QueryPatientOperationCompleted;
-
- private System.Threading.SendOrPostCallback QueryHospitalsOperationCompleted;
-
- private System.Threading.SendOrPostCallback QueryVisitByIDOperationCompleted;
-
- private System.Threading.SendOrPostCallback QueryPatientVisitByIDOperationCompleted;
-
- /// <remarks/>
- public HandlePatient() {
- this.Url = "http://172.16.0.177:8081/winempi/HandlePatientHttpSoap11Endpoint";
- }
-
- /// <remarks/>
- public event ControllerCompletedEventHandler ControllerCompleted;
-
- /// <remarks/>
- public event RegisterPatientCompletedEventHandler RegisterPatientCompleted;
-
- /// <remarks/>
- public event QueryPatientCompletedEventHandler QueryPatientCompleted;
-
- /// <remarks/>
- public event QueryHospitalsCompletedEventHandler QueryHospitalsCompleted;
-
- /// <remarks/>
- public event QueryVisitByIDCompletedEventHandler QueryVisitByIDCompleted;
-
- /// <remarks/>
- public event QueryPatientVisitByIDCompletedEventHandler QueryPatientVisitByIDCompleted;
-
- /// <remarks/>
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:Controller", RequestNamespace="http://www.winning.com.cn", ResponseNamespace="http://www.winning.com.cn", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- [return: System.Xml.Serialization.XmlElementAttribute("outxml")]
- public string Controller(string action, string inxml) {
- object[] results = this.Invoke("Controller", new object[] {
- action,
- inxml});
- return ((string)(results[0]));
- }
-
- /// <remarks/>
- public System.IAsyncResult BeginController(string action, string inxml, System.AsyncCallback callback, object asyncState) {
- return this.BeginInvoke("Controller", new object[] {
- action,
- inxml}, callback, asyncState);
- }
-
- /// <remarks/>
- public string EndController(System.IAsyncResult asyncResult) {
- object[] results = this.EndInvoke(asyncResult);
- return ((string)(results[0]));
- }
-
- /// <remarks/>
- public void ControllerAsync(string action, string inxml) {
- this.ControllerAsync(action, inxml, null);
- }
-
- /// <remarks/>
- public void ControllerAsync(string action, string inxml, object userState) {
- if ((this.ControllerOperationCompleted == null)) {
- this.ControllerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnControllerOperationCompleted);
- }
- this.InvokeAsync("Controller", new object[] {
- action,
- inxml}, this.ControllerOperationCompleted, userState);
- }
-
- private void OnControllerOperationCompleted(object arg) {
- if ((this.ControllerCompleted != null)) {
- System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
- this.ControllerCompleted(this, new ControllerCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
- }
- }
-
- /// <remarks/>
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:RegisterPatient", RequestNamespace="http://www.winning.com.cn", ResponseNamespace="http://www.winning.com.cn", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- [return: System.Xml.Serialization.XmlElementAttribute("outxml")]
- public string RegisterPatient(string inxml) {
- object[] results = this.Invoke("RegisterPatient", new object[] {
- inxml});
- return ((string)(results[0]));
- }
-
- /// <remarks/>
- public System.IAsyncResult BeginRegisterPatient(string inxml, System.AsyncCallback callback, object asyncState) {
- return this.BeginInvoke("RegisterPatient", new object[] {
- inxml}, callback, asyncState);
- }
-
- /// <remarks/>
- public string EndRegisterPatient(System.IAsyncResult asyncResult) {
- object[] results = this.EndInvoke(asyncResult);
- return ((string)(results[0]));
- }
-
- /// <remarks/>
- public void RegisterPatientAsync(string inxml) {
- this.RegisterPatientAsync(inxml, null);
- }
-
- /// <remarks/>
- public void RegisterPatientAsync(string inxml, object userState) {
- if ((this.RegisterPatientOperationCompleted == null)) {
- this.RegisterPatientOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRegisterPatientOperationCompleted);
- }
- this.InvokeAsync("RegisterPatient", new object[] {
- inxml}, this.RegisterPatientOperationCompleted, userState);
- }
-
- private void OnRegisterPatientOperationCompleted(object arg) {
- if ((this.RegisterPatientCompleted != null)) {
- System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
- this.RegisterPatientCompleted(this, new RegisterPatientCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
- }
- }
-
- /// <remarks/>
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:QueryPatient", RequestNamespace="http://www.winning.com.cn", ResponseNamespace="http://www.winning.com.cn", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- [return: System.Xml.Serialization.XmlElementAttribute("outxml")]
- public string QueryPatient(string inxml) {
- object[] results = this.Invoke("QueryPatient", new object[] {
- inxml});
- return ((string)(results[0]));
- }
-
- /// <remarks/>
- public System.IAsyncResult BeginQueryPatient(string inxml, System.AsyncCallback callback, object asyncState) {
- return this.BeginInvoke("QueryPatient", new object[] {
- inxml}, callback, asyncState);
- }
-
- /// <remarks/>
- public string EndQueryPatient(System.IAsyncResult asyncResult) {
- object[] results = this.EndInvoke(asyncResult);
- return ((string)(results[0]));
- }
-
- /// <remarks/>
- public void QueryPatientAsync(string inxml) {
- this.QueryPatientAsync(inxml, null);
- }
-
- /// <remarks/>
- public void QueryPatientAsync(string inxml, object userState) {
- if ((this.QueryPatientOperationCompleted == null)) {
- this.QueryPatientOperationCompleted = new System.Threading.SendOrPostCallback(this.OnQueryPatientOperationCompleted);
- }
- this.InvokeAsync("QueryPatient", new object[] {
- inxml}, this.QueryPatientOperationCompleted, userState);
- }
-
- private void OnQueryPatientOperationCompleted(object arg) {
- if ((this.QueryPatientCompleted != null)) {
- System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
- this.QueryPatientCompleted(this, new QueryPatientCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
- }
- }
-
- /// <remarks/>
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:QueryHospitals", RequestNamespace="http://www.winning.com.cn", ResponseNamespace="http://www.winning.com.cn", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- [return: System.Xml.Serialization.XmlElementAttribute("outxml")]
- public string QueryHospitals(string inxml) {
- object[] results = this.Invoke("QueryHospitals", new object[] {
- inxml});
- return ((string)(results[0]));
- }
-
- /// <remarks/>
- public System.IAsyncResult BeginQueryHospitals(string inxml, System.AsyncCallback callback, object asyncState) {
- return this.BeginInvoke("QueryHospitals", new object[] {
- inxml}, callback, asyncState);
- }
-
- /// <remarks/>
- public string EndQueryHospitals(System.IAsyncResult asyncResult) {
- object[] results = this.EndInvoke(asyncResult);
- return ((string)(results[0]));
- }
-
- /// <remarks/>
- public void QueryHospitalsAsync(string inxml) {
- this.QueryHospitalsAsync(inxml, null);
- }
-
- /// <remarks/>
- public void QueryHospitalsAsync(string inxml, object userState) {
- if ((this.QueryHospitalsOperationCompleted == null)) {
- this.QueryHospitalsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnQueryHospitalsOperationCompleted);
- }
- this.InvokeAsync("QueryHospitals", new object[] {
- inxml}, this.QueryHospitalsOperationCompleted, userState);
- }
-
- private void OnQueryHospitalsOperationCompleted(object arg) {
- if ((this.QueryHospitalsCompleted != null)) {
- System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
- this.QueryHospitalsCompleted(this, new QueryHospitalsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
- }
- }
-
- /// <remarks/>
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:QueryVisitByID", RequestNamespace="http://www.winning.com.cn", ResponseNamespace="http://www.winning.com.cn", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- [return: System.Xml.Serialization.XmlElementAttribute("outxml")]
- public string QueryVisitByID(string inxml) {
- object[] results = this.Invoke("QueryVisitByID", new object[] {
- inxml});
- return ((string)(results[0]));
- }
-
- /// <remarks/>
- public System.IAsyncResult BeginQueryVisitByID(string inxml, System.AsyncCallback callback, object asyncState) {
- return this.BeginInvoke("QueryVisitByID", new object[] {
- inxml}, callback, asyncState);
- }
-
- /// <remarks/>
- public string EndQueryVisitByID(System.IAsyncResult asyncResult) {
- object[] results = this.EndInvoke(asyncResult);
- return ((string)(results[0]));
- }
-
- /// <remarks/>
- public void QueryVisitByIDAsync(string inxml) {
- this.QueryVisitByIDAsync(inxml, null);
- }
-
- /// <remarks/>
- public void QueryVisitByIDAsync(string inxml, object userState) {
- if ((this.QueryVisitByIDOperationCompleted == null)) {
- this.QueryVisitByIDOperationCompleted = new System.Threading.SendOrPostCallback(this.OnQueryVisitByIDOperationCompleted);
- }
- this.InvokeAsync("QueryVisitByID", new object[] {
- inxml}, this.QueryVisitByIDOperationCompleted, userState);
- }
-
- private void OnQueryVisitByIDOperationCompleted(object arg) {
- if ((this.QueryVisitByIDCompleted != null)) {
- System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
- this.QueryVisitByIDCompleted(this, new QueryVisitByIDCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
- }
- }
-
- /// <remarks/>
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("urn:QueryPatientVisitByID", RequestNamespace="http://www.winning.com.cn", ResponseNamespace="http://www.winning.com.cn", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- [return: System.Xml.Serialization.XmlElementAttribute("outxml")]
- public string QueryPatientVisitByID(string inxml) {
- object[] results = this.Invoke("QueryPatientVisitByID", new object[] {
- inxml});
- return ((string)(results[0]));
- }
-
- /// <remarks/>
- public System.IAsyncResult BeginQueryPatientVisitByID(string inxml, System.AsyncCallback callback, object asyncState) {
- return this.BeginInvoke("QueryPatientVisitByID", new object[] {
- inxml}, callback, asyncState);
- }
-
- /// <remarks/>
- public string EndQueryPatientVisitByID(System.IAsyncResult asyncResult) {
- object[] results = this.EndInvoke(asyncResult);
- return ((string)(results[0]));
- }
-
- /// <remarks/>
- public void QueryPatientVisitByIDAsync(string inxml) {
- this.QueryPatientVisitByIDAsync(inxml, null);
- }
-
- /// <remarks/>
- public void QueryPatientVisitByIDAsync(string inxml, object userState) {
- if ((this.QueryPatientVisitByIDOperationCompleted == null)) {
- this.QueryPatientVisitByIDOperationCompleted = new System.Threading.SendOrPostCallback(this.OnQueryPatientVisitByIDOperationCompleted);
- }
- this.InvokeAsync("QueryPatientVisitByID", new object[] {
- inxml}, this.QueryPatientVisitByIDOperationCompleted, userState);
- }
-
- private void OnQueryPatientVisitByIDOperationCompleted(object arg) {
- if ((this.QueryPatientVisitByIDCompleted != null)) {
- System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
- this.QueryPatientVisitByIDCompleted(this, new QueryPatientVisitByIDCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
- }
- }
-
- /// <remarks/>
- public new void CancelAsync(object userState) {
- base.CancelAsync(userState);
- }
- }
-
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.8.3928.0")]
- public delegate void ControllerCompletedEventHandler(object sender, ControllerCompletedEventArgs e);
-
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.8.3928.0")]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class ControllerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
-
- private object[] results;
-
- internal ControllerCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState) {
- this.results = results;
- }
-
- /// <remarks/>
- public string Result {
- get {
- this.RaiseExceptionIfNecessary();
- return ((string)(this.results[0]));
- }
- }
- }
-
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.8.3928.0")]
- public delegate void RegisterPatientCompletedEventHandler(object sender, RegisterPatientCompletedEventArgs e);
-
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.8.3928.0")]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class RegisterPatientCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
-
- private object[] results;
-
- internal RegisterPatientCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState) {
- this.results = results;
- }
-
- /// <remarks/>
- public string Result {
- get {
- this.RaiseExceptionIfNecessary();
- return ((string)(this.results[0]));
- }
- }
- }
-
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.8.3928.0")]
- public delegate void QueryPatientCompletedEventHandler(object sender, QueryPatientCompletedEventArgs e);
-
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.8.3928.0")]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class QueryPatientCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
-
- private object[] results;
-
- internal QueryPatientCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState) {
- this.results = results;
- }
-
- /// <remarks/>
- public string Result {
- get {
- this.RaiseExceptionIfNecessary();
- return ((string)(this.results[0]));
- }
- }
- }
-
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.8.3928.0")]
- public delegate void QueryHospitalsCompletedEventHandler(object sender, QueryHospitalsCompletedEventArgs e);
-
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.8.3928.0")]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class QueryHospitalsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
-
- private object[] results;
-
- internal QueryHospitalsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState) {
- this.results = results;
- }
-
- /// <remarks/>
- public string Result {
- get {
- this.RaiseExceptionIfNecessary();
- return ((string)(this.results[0]));
- }
- }
- }
-
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.8.3928.0")]
- public delegate void QueryVisitByIDCompletedEventHandler(object sender, QueryVisitByIDCompletedEventArgs e);
-
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.8.3928.0")]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class QueryVisitByIDCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
-
- private object[] results;
-
- internal QueryVisitByIDCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState) {
- this.results = results;
- }
-
- /// <remarks/>
- public string Result {
- get {
- this.RaiseExceptionIfNecessary();
- return ((string)(this.results[0]));
- }
- }
- }
-
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.8.3928.0")]
- public delegate void QueryPatientVisitByIDCompletedEventHandler(object sender, QueryPatientVisitByIDCompletedEventArgs e);
-
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.8.3928.0")]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- public partial class QueryPatientVisitByIDCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
-
- private object[] results;
-
- internal QueryPatientVisitByIDCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
- base(exception, cancelled, userState) {
- this.results = results;
- }
-
- /// <remarks/>
- public string Result {
- get {
- this.RaiseExceptionIfNecessary();
- return ((string)(this.results[0]));
- }
- }
- }
- }
|