初始化
This commit is contained in:
758
ConsoleApp6/Web References/localhost/Reference.cs
Normal file
758
ConsoleApp6/Web References/localhost/Reference.cs
Normal file
@@ -0,0 +1,758 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
//
|
||||
// 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。
|
||||
//
|
||||
#pragma warning disable 1591
|
||||
|
||||
namespace ConsoleApp6.localhost {
|
||||
using System.Diagnostics;
|
||||
using System;
|
||||
using System.Xml.Serialization;
|
||||
using System.ComponentModel;
|
||||
using System.Web.Services.Protocols;
|
||||
using System.Web.Services;
|
||||
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Web.Services.WebServiceBindingAttribute(Name="blwwsSoap", Namespace="http://www.blw.com/")]
|
||||
public partial class blwws : System.Web.Services.Protocols.SoapHttpClientProtocol {
|
||||
|
||||
private System.Threading.SendOrPostCallback CheckInOperationCompleted;
|
||||
|
||||
private System.Threading.SendOrPostCallback CheckIn2OperationCompleted;
|
||||
|
||||
private System.Threading.SendOrPostCallback UploadPhotoOperationCompleted;
|
||||
|
||||
private System.Threading.SendOrPostCallback ChangePhoneNumberOperationCompleted;
|
||||
|
||||
private System.Threading.SendOrPostCallback CheckOutOperationCompleted;
|
||||
|
||||
private System.Threading.SendOrPostCallback RentRoomOperationCompleted;
|
||||
|
||||
private System.Threading.SendOrPostCallback PushBaoJing_IsEnableOperationCompleted;
|
||||
|
||||
private System.Threading.SendOrPostCallback GetPushBaoJing_IsEnableOperationCompleted;
|
||||
|
||||
private System.Threading.SendOrPostCallback AddHotelInfoOperationCompleted;
|
||||
|
||||
private bool useDefaultCredentialsSetExplicitly;
|
||||
|
||||
/// <remarks/>
|
||||
public blwws() {
|
||||
this.Url = global::ConsoleApp6.Properties.Settings.Default.ConsoleApp6_localhost_blwws;
|
||||
if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
|
||||
this.UseDefaultCredentials = true;
|
||||
this.useDefaultCredentialsSetExplicitly = false;
|
||||
}
|
||||
else {
|
||||
this.useDefaultCredentialsSetExplicitly = true;
|
||||
}
|
||||
}
|
||||
|
||||
public new string Url {
|
||||
get {
|
||||
return base.Url;
|
||||
}
|
||||
set {
|
||||
if ((((this.IsLocalFileSystemWebService(base.Url) == true)
|
||||
&& (this.useDefaultCredentialsSetExplicitly == false))
|
||||
&& (this.IsLocalFileSystemWebService(value) == false))) {
|
||||
base.UseDefaultCredentials = false;
|
||||
}
|
||||
base.Url = value;
|
||||
}
|
||||
}
|
||||
|
||||
public new bool UseDefaultCredentials {
|
||||
get {
|
||||
return base.UseDefaultCredentials;
|
||||
}
|
||||
set {
|
||||
base.UseDefaultCredentials = value;
|
||||
this.useDefaultCredentialsSetExplicitly = true;
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public event CheckInCompletedEventHandler CheckInCompleted;
|
||||
|
||||
/// <remarks/>
|
||||
public event CheckIn2CompletedEventHandler CheckIn2Completed;
|
||||
|
||||
/// <remarks/>
|
||||
public event UploadPhotoCompletedEventHandler UploadPhotoCompleted;
|
||||
|
||||
/// <remarks/>
|
||||
public event ChangePhoneNumberCompletedEventHandler ChangePhoneNumberCompleted;
|
||||
|
||||
/// <remarks/>
|
||||
public event CheckOutCompletedEventHandler CheckOutCompleted;
|
||||
|
||||
/// <remarks/>
|
||||
public event RentRoomCompletedEventHandler RentRoomCompleted;
|
||||
|
||||
/// <remarks/>
|
||||
public event PushBaoJing_IsEnableCompletedEventHandler PushBaoJing_IsEnableCompleted;
|
||||
|
||||
/// <remarks/>
|
||||
public event GetPushBaoJing_IsEnableCompletedEventHandler GetPushBaoJing_IsEnableCompleted;
|
||||
|
||||
/// <remarks/>
|
||||
public event AddHotelInfoCompletedEventHandler AddHotelInfoCompleted;
|
||||
|
||||
/// <remarks/>
|
||||
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.blw.com/CheckIn", RequestNamespace="http://www.blw.com/", ResponseNamespace="http://www.blw.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
||||
public bool CheckIn(string key, string code, string roomNumber, System.DateTime checkInDate, string xmlString, ref string errorMsg, string phoneNumber, string idNumber) {
|
||||
object[] results = this.Invoke("CheckIn", new object[] {
|
||||
key,
|
||||
code,
|
||||
roomNumber,
|
||||
checkInDate,
|
||||
xmlString,
|
||||
errorMsg,
|
||||
phoneNumber,
|
||||
idNumber});
|
||||
errorMsg = ((string)(results[1]));
|
||||
return ((bool)(results[0]));
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void CheckInAsync(string key, string code, string roomNumber, System.DateTime checkInDate, string xmlString, string errorMsg, string phoneNumber, string idNumber) {
|
||||
this.CheckInAsync(key, code, roomNumber, checkInDate, xmlString, errorMsg, phoneNumber, idNumber, null);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void CheckInAsync(string key, string code, string roomNumber, System.DateTime checkInDate, string xmlString, string errorMsg, string phoneNumber, string idNumber, object userState) {
|
||||
if ((this.CheckInOperationCompleted == null)) {
|
||||
this.CheckInOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckInOperationCompleted);
|
||||
}
|
||||
this.InvokeAsync("CheckIn", new object[] {
|
||||
key,
|
||||
code,
|
||||
roomNumber,
|
||||
checkInDate,
|
||||
xmlString,
|
||||
errorMsg,
|
||||
phoneNumber,
|
||||
idNumber}, this.CheckInOperationCompleted, userState);
|
||||
}
|
||||
|
||||
private void OnCheckInOperationCompleted(object arg) {
|
||||
if ((this.CheckInCompleted != null)) {
|
||||
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
||||
this.CheckInCompleted(this, new CheckInCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.blw.com/CheckIn2", RequestNamespace="http://www.blw.com/", ResponseNamespace="http://www.blw.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
||||
public bool CheckIn2(string key, string code, string roomNumber, System.DateTime checkInDate, string xmlString, ref string errorMsg, ref long checkInID, string phoneNumber, string idNumber) {
|
||||
object[] results = this.Invoke("CheckIn2", new object[] {
|
||||
key,
|
||||
code,
|
||||
roomNumber,
|
||||
checkInDate,
|
||||
xmlString,
|
||||
errorMsg,
|
||||
checkInID,
|
||||
phoneNumber,
|
||||
idNumber});
|
||||
errorMsg = ((string)(results[1]));
|
||||
checkInID = ((long)(results[2]));
|
||||
return ((bool)(results[0]));
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void CheckIn2Async(string key, string code, string roomNumber, System.DateTime checkInDate, string xmlString, string errorMsg, long checkInID, string phoneNumber, string idNumber) {
|
||||
this.CheckIn2Async(key, code, roomNumber, checkInDate, xmlString, errorMsg, checkInID, phoneNumber, idNumber, null);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void CheckIn2Async(string key, string code, string roomNumber, System.DateTime checkInDate, string xmlString, string errorMsg, long checkInID, string phoneNumber, string idNumber, object userState) {
|
||||
if ((this.CheckIn2OperationCompleted == null)) {
|
||||
this.CheckIn2OperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckIn2OperationCompleted);
|
||||
}
|
||||
this.InvokeAsync("CheckIn2", new object[] {
|
||||
key,
|
||||
code,
|
||||
roomNumber,
|
||||
checkInDate,
|
||||
xmlString,
|
||||
errorMsg,
|
||||
checkInID,
|
||||
phoneNumber,
|
||||
idNumber}, this.CheckIn2OperationCompleted, userState);
|
||||
}
|
||||
|
||||
private void OnCheckIn2OperationCompleted(object arg) {
|
||||
if ((this.CheckIn2Completed != null)) {
|
||||
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
||||
this.CheckIn2Completed(this, new CheckIn2CompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.blw.com/UploadPhoto", RequestNamespace="http://www.blw.com/", ResponseNamespace="http://www.blw.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
||||
public bool UploadPhoto(string key, string code, long checkInID, int idType, string idCard, string name, int sex, string birthday, string photoUrl, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] byte[] photo, ref string errorMsg) {
|
||||
object[] results = this.Invoke("UploadPhoto", new object[] {
|
||||
key,
|
||||
code,
|
||||
checkInID,
|
||||
idType,
|
||||
idCard,
|
||||
name,
|
||||
sex,
|
||||
birthday,
|
||||
photoUrl,
|
||||
photo,
|
||||
errorMsg});
|
||||
errorMsg = ((string)(results[1]));
|
||||
return ((bool)(results[0]));
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void UploadPhotoAsync(string key, string code, long checkInID, int idType, string idCard, string name, int sex, string birthday, string photoUrl, byte[] photo, string errorMsg) {
|
||||
this.UploadPhotoAsync(key, code, checkInID, idType, idCard, name, sex, birthday, photoUrl, photo, errorMsg, null);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void UploadPhotoAsync(string key, string code, long checkInID, int idType, string idCard, string name, int sex, string birthday, string photoUrl, byte[] photo, string errorMsg, object userState) {
|
||||
if ((this.UploadPhotoOperationCompleted == null)) {
|
||||
this.UploadPhotoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUploadPhotoOperationCompleted);
|
||||
}
|
||||
this.InvokeAsync("UploadPhoto", new object[] {
|
||||
key,
|
||||
code,
|
||||
checkInID,
|
||||
idType,
|
||||
idCard,
|
||||
name,
|
||||
sex,
|
||||
birthday,
|
||||
photoUrl,
|
||||
photo,
|
||||
errorMsg}, this.UploadPhotoOperationCompleted, userState);
|
||||
}
|
||||
|
||||
private void OnUploadPhotoOperationCompleted(object arg) {
|
||||
if ((this.UploadPhotoCompleted != null)) {
|
||||
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
||||
this.UploadPhotoCompleted(this, new UploadPhotoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.blw.com/ChangePhoneNumber", RequestNamespace="http://www.blw.com/", ResponseNamespace="http://www.blw.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
||||
public bool ChangePhoneNumber(string key, string code, string roomNumber, string phoneNumber, string idNumber, ref string errorMsg) {
|
||||
object[] results = this.Invoke("ChangePhoneNumber", new object[] {
|
||||
key,
|
||||
code,
|
||||
roomNumber,
|
||||
phoneNumber,
|
||||
idNumber,
|
||||
errorMsg});
|
||||
errorMsg = ((string)(results[1]));
|
||||
return ((bool)(results[0]));
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void ChangePhoneNumberAsync(string key, string code, string roomNumber, string phoneNumber, string idNumber, string errorMsg) {
|
||||
this.ChangePhoneNumberAsync(key, code, roomNumber, phoneNumber, idNumber, errorMsg, null);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void ChangePhoneNumberAsync(string key, string code, string roomNumber, string phoneNumber, string idNumber, string errorMsg, object userState) {
|
||||
if ((this.ChangePhoneNumberOperationCompleted == null)) {
|
||||
this.ChangePhoneNumberOperationCompleted = new System.Threading.SendOrPostCallback(this.OnChangePhoneNumberOperationCompleted);
|
||||
}
|
||||
this.InvokeAsync("ChangePhoneNumber", new object[] {
|
||||
key,
|
||||
code,
|
||||
roomNumber,
|
||||
phoneNumber,
|
||||
idNumber,
|
||||
errorMsg}, this.ChangePhoneNumberOperationCompleted, userState);
|
||||
}
|
||||
|
||||
private void OnChangePhoneNumberOperationCompleted(object arg) {
|
||||
if ((this.ChangePhoneNumberCompleted != null)) {
|
||||
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
||||
this.ChangePhoneNumberCompleted(this, new ChangePhoneNumberCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.blw.com/CheckOut", RequestNamespace="http://www.blw.com/", ResponseNamespace="http://www.blw.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
||||
public bool CheckOut(string key, string code, string roomNumber, System.DateTime checkOutDate, ref string errorMsg) {
|
||||
object[] results = this.Invoke("CheckOut", new object[] {
|
||||
key,
|
||||
code,
|
||||
roomNumber,
|
||||
checkOutDate,
|
||||
errorMsg});
|
||||
errorMsg = ((string)(results[1]));
|
||||
return ((bool)(results[0]));
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void CheckOutAsync(string key, string code, string roomNumber, System.DateTime checkOutDate, string errorMsg) {
|
||||
this.CheckOutAsync(key, code, roomNumber, checkOutDate, errorMsg, null);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void CheckOutAsync(string key, string code, string roomNumber, System.DateTime checkOutDate, string errorMsg, object userState) {
|
||||
if ((this.CheckOutOperationCompleted == null)) {
|
||||
this.CheckOutOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckOutOperationCompleted);
|
||||
}
|
||||
this.InvokeAsync("CheckOut", new object[] {
|
||||
key,
|
||||
code,
|
||||
roomNumber,
|
||||
checkOutDate,
|
||||
errorMsg}, this.CheckOutOperationCompleted, userState);
|
||||
}
|
||||
|
||||
private void OnCheckOutOperationCompleted(object arg) {
|
||||
if ((this.CheckOutCompleted != null)) {
|
||||
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
||||
this.CheckOutCompleted(this, new CheckOutCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.blw.com/RentRoom", RequestNamespace="http://www.blw.com/", ResponseNamespace="http://www.blw.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
||||
public bool RentRoom(string key, string code, string roomNumber, System.DateTime rentDate, ref string errorMsg) {
|
||||
object[] results = this.Invoke("RentRoom", new object[] {
|
||||
key,
|
||||
code,
|
||||
roomNumber,
|
||||
rentDate,
|
||||
errorMsg});
|
||||
errorMsg = ((string)(results[1]));
|
||||
return ((bool)(results[0]));
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void RentRoomAsync(string key, string code, string roomNumber, System.DateTime rentDate, string errorMsg) {
|
||||
this.RentRoomAsync(key, code, roomNumber, rentDate, errorMsg, null);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void RentRoomAsync(string key, string code, string roomNumber, System.DateTime rentDate, string errorMsg, object userState) {
|
||||
if ((this.RentRoomOperationCompleted == null)) {
|
||||
this.RentRoomOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRentRoomOperationCompleted);
|
||||
}
|
||||
this.InvokeAsync("RentRoom", new object[] {
|
||||
key,
|
||||
code,
|
||||
roomNumber,
|
||||
rentDate,
|
||||
errorMsg}, this.RentRoomOperationCompleted, userState);
|
||||
}
|
||||
|
||||
private void OnRentRoomOperationCompleted(object arg) {
|
||||
if ((this.RentRoomCompleted != null)) {
|
||||
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
||||
this.RentRoomCompleted(this, new RentRoomCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.blw.com/PushBaoJing_IsEnable", RequestNamespace="http://www.blw.com/", ResponseNamespace="http://www.blw.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
||||
public void PushBaoJing_IsEnable(string key, string code, bool isable) {
|
||||
this.Invoke("PushBaoJing_IsEnable", new object[] {
|
||||
key,
|
||||
code,
|
||||
isable});
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void PushBaoJing_IsEnableAsync(string key, string code, bool isable) {
|
||||
this.PushBaoJing_IsEnableAsync(key, code, isable, null);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void PushBaoJing_IsEnableAsync(string key, string code, bool isable, object userState) {
|
||||
if ((this.PushBaoJing_IsEnableOperationCompleted == null)) {
|
||||
this.PushBaoJing_IsEnableOperationCompleted = new System.Threading.SendOrPostCallback(this.OnPushBaoJing_IsEnableOperationCompleted);
|
||||
}
|
||||
this.InvokeAsync("PushBaoJing_IsEnable", new object[] {
|
||||
key,
|
||||
code,
|
||||
isable}, this.PushBaoJing_IsEnableOperationCompleted, userState);
|
||||
}
|
||||
|
||||
private void OnPushBaoJing_IsEnableOperationCompleted(object arg) {
|
||||
if ((this.PushBaoJing_IsEnableCompleted != null)) {
|
||||
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
||||
this.PushBaoJing_IsEnableCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.blw.com/GetPushBaoJing_IsEnable", RequestNamespace="http://www.blw.com/", ResponseNamespace="http://www.blw.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
||||
public int GetPushBaoJing_IsEnable(string key, string code) {
|
||||
object[] results = this.Invoke("GetPushBaoJing_IsEnable", new object[] {
|
||||
key,
|
||||
code});
|
||||
return ((int)(results[0]));
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void GetPushBaoJing_IsEnableAsync(string key, string code) {
|
||||
this.GetPushBaoJing_IsEnableAsync(key, code, null);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void GetPushBaoJing_IsEnableAsync(string key, string code, object userState) {
|
||||
if ((this.GetPushBaoJing_IsEnableOperationCompleted == null)) {
|
||||
this.GetPushBaoJing_IsEnableOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetPushBaoJing_IsEnableOperationCompleted);
|
||||
}
|
||||
this.InvokeAsync("GetPushBaoJing_IsEnable", new object[] {
|
||||
key,
|
||||
code}, this.GetPushBaoJing_IsEnableOperationCompleted, userState);
|
||||
}
|
||||
|
||||
private void OnGetPushBaoJing_IsEnableOperationCompleted(object arg) {
|
||||
if ((this.GetPushBaoJing_IsEnableCompleted != null)) {
|
||||
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
||||
this.GetPushBaoJing_IsEnableCompleted(this, new GetPushBaoJing_IsEnableCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.blw.com/AddHotelInfo", RequestNamespace="http://www.blw.com/", ResponseNamespace="http://www.blw.com/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
||||
public int AddHotelInfo(string key, string Code, string HotelName, int HotelId) {
|
||||
object[] results = this.Invoke("AddHotelInfo", new object[] {
|
||||
key,
|
||||
Code,
|
||||
HotelName,
|
||||
HotelId});
|
||||
return ((int)(results[0]));
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void AddHotelInfoAsync(string key, string Code, string HotelName, int HotelId) {
|
||||
this.AddHotelInfoAsync(key, Code, HotelName, HotelId, null);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void AddHotelInfoAsync(string key, string Code, string HotelName, int HotelId, object userState) {
|
||||
if ((this.AddHotelInfoOperationCompleted == null)) {
|
||||
this.AddHotelInfoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddHotelInfoOperationCompleted);
|
||||
}
|
||||
this.InvokeAsync("AddHotelInfo", new object[] {
|
||||
key,
|
||||
Code,
|
||||
HotelName,
|
||||
HotelId}, this.AddHotelInfoOperationCompleted, userState);
|
||||
}
|
||||
|
||||
private void OnAddHotelInfoOperationCompleted(object arg) {
|
||||
if ((this.AddHotelInfoCompleted != null)) {
|
||||
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
||||
this.AddHotelInfoCompleted(this, new AddHotelInfoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public new void CancelAsync(object userState) {
|
||||
base.CancelAsync(userState);
|
||||
}
|
||||
|
||||
private bool IsLocalFileSystemWebService(string url) {
|
||||
if (((url == null)
|
||||
|| (url == string.Empty))) {
|
||||
return false;
|
||||
}
|
||||
System.Uri wsUri = new System.Uri(url);
|
||||
if (((wsUri.Port >= 1024)
|
||||
&& (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
||||
public delegate void CheckInCompletedEventHandler(object sender, CheckInCompletedEventArgs e);
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
public partial class CheckInCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
||||
|
||||
private object[] results;
|
||||
|
||||
internal CheckInCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
||||
base(exception, cancelled, userState) {
|
||||
this.results = results;
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public bool Result {
|
||||
get {
|
||||
this.RaiseExceptionIfNecessary();
|
||||
return ((bool)(this.results[0]));
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public string errorMsg {
|
||||
get {
|
||||
this.RaiseExceptionIfNecessary();
|
||||
return ((string)(this.results[1]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
||||
public delegate void CheckIn2CompletedEventHandler(object sender, CheckIn2CompletedEventArgs e);
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
public partial class CheckIn2CompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
||||
|
||||
private object[] results;
|
||||
|
||||
internal CheckIn2CompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
||||
base(exception, cancelled, userState) {
|
||||
this.results = results;
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public bool Result {
|
||||
get {
|
||||
this.RaiseExceptionIfNecessary();
|
||||
return ((bool)(this.results[0]));
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public string errorMsg {
|
||||
get {
|
||||
this.RaiseExceptionIfNecessary();
|
||||
return ((string)(this.results[1]));
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public long checkInID {
|
||||
get {
|
||||
this.RaiseExceptionIfNecessary();
|
||||
return ((long)(this.results[2]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
||||
public delegate void UploadPhotoCompletedEventHandler(object sender, UploadPhotoCompletedEventArgs e);
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
public partial class UploadPhotoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
||||
|
||||
private object[] results;
|
||||
|
||||
internal UploadPhotoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
||||
base(exception, cancelled, userState) {
|
||||
this.results = results;
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public bool Result {
|
||||
get {
|
||||
this.RaiseExceptionIfNecessary();
|
||||
return ((bool)(this.results[0]));
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public string errorMsg {
|
||||
get {
|
||||
this.RaiseExceptionIfNecessary();
|
||||
return ((string)(this.results[1]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
||||
public delegate void ChangePhoneNumberCompletedEventHandler(object sender, ChangePhoneNumberCompletedEventArgs e);
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
public partial class ChangePhoneNumberCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
||||
|
||||
private object[] results;
|
||||
|
||||
internal ChangePhoneNumberCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
||||
base(exception, cancelled, userState) {
|
||||
this.results = results;
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public bool Result {
|
||||
get {
|
||||
this.RaiseExceptionIfNecessary();
|
||||
return ((bool)(this.results[0]));
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public string errorMsg {
|
||||
get {
|
||||
this.RaiseExceptionIfNecessary();
|
||||
return ((string)(this.results[1]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
||||
public delegate void CheckOutCompletedEventHandler(object sender, CheckOutCompletedEventArgs e);
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
public partial class CheckOutCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
||||
|
||||
private object[] results;
|
||||
|
||||
internal CheckOutCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
||||
base(exception, cancelled, userState) {
|
||||
this.results = results;
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public bool Result {
|
||||
get {
|
||||
this.RaiseExceptionIfNecessary();
|
||||
return ((bool)(this.results[0]));
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public string errorMsg {
|
||||
get {
|
||||
this.RaiseExceptionIfNecessary();
|
||||
return ((string)(this.results[1]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
||||
public delegate void RentRoomCompletedEventHandler(object sender, RentRoomCompletedEventArgs e);
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
public partial class RentRoomCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
||||
|
||||
private object[] results;
|
||||
|
||||
internal RentRoomCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
||||
base(exception, cancelled, userState) {
|
||||
this.results = results;
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public bool Result {
|
||||
get {
|
||||
this.RaiseExceptionIfNecessary();
|
||||
return ((bool)(this.results[0]));
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public string errorMsg {
|
||||
get {
|
||||
this.RaiseExceptionIfNecessary();
|
||||
return ((string)(this.results[1]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
||||
public delegate void PushBaoJing_IsEnableCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
||||
public delegate void GetPushBaoJing_IsEnableCompletedEventHandler(object sender, GetPushBaoJing_IsEnableCompletedEventArgs e);
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
public partial class GetPushBaoJing_IsEnableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
||||
|
||||
private object[] results;
|
||||
|
||||
internal GetPushBaoJing_IsEnableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
||||
base(exception, cancelled, userState) {
|
||||
this.results = results;
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public int Result {
|
||||
get {
|
||||
this.RaiseExceptionIfNecessary();
|
||||
return ((int)(this.results[0]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
||||
public delegate void AddHotelInfoCompletedEventHandler(object sender, AddHotelInfoCompletedEventArgs e);
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
public partial class AddHotelInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
||||
|
||||
private object[] results;
|
||||
|
||||
internal AddHotelInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
||||
base(exception, cancelled, userState) {
|
||||
this.results = results;
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public int Result {
|
||||
get {
|
||||
this.RaiseExceptionIfNecessary();
|
||||
return ((int)(this.results[0]));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#pragma warning restore 1591
|
||||
7
ConsoleApp6/Web References/localhost/Reference.map
Normal file
7
ConsoleApp6/Web References/localhost/Reference.map
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<DiscoveryClientResultsFile xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<Results>
|
||||
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.ContractReference" url="http://localhost:6101/blwws.asmx?wsdl" filename="blwws.wsdl" />
|
||||
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.DiscoveryDocumentReference" url="http://localhost:6101/blwws.asmx?disco" filename="blwws.disco" />
|
||||
</Results>
|
||||
</DiscoveryClientResultsFile>
|
||||
6
ConsoleApp6/Web References/localhost/blwws.disco
Normal file
6
ConsoleApp6/Web References/localhost/blwws.disco
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<discovery xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.xmlsoap.org/disco/">
|
||||
<contractRef ref="http://localhost:6101/blwws.asmx?wsdl" docRef="http://localhost:6101/blwws.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
|
||||
<soap address="http://localhost:6101/blwws.asmx" xmlns:q1="http://www.blw.com/" binding="q1:blwwsSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
|
||||
<soap address="http://localhost:6101/blwws.asmx" xmlns:q2="http://www.blw.com/" binding="q2:blwwsSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
|
||||
</discovery>
|
||||
456
ConsoleApp6/Web References/localhost/blwws.wsdl
Normal file
456
ConsoleApp6/Web References/localhost/blwws.wsdl
Normal file
@@ -0,0 +1,456 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<wsdl:definitions xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:tns="http://www.blw.com/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://www.blw.com/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
||||
<wsdl:types>
|
||||
<s:schema elementFormDefault="qualified" targetNamespace="http://www.blw.com/">
|
||||
<s:element name="CheckIn">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="key" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="code" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="roomNumber" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="checkInDate" type="s:dateTime" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="xmlString" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="errorMsg" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="phoneNumber" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="idNumber" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="CheckInResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="CheckInResult" type="s:boolean" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="errorMsg" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="CheckIn2">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="key" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="code" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="roomNumber" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="checkInDate" type="s:dateTime" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="xmlString" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="errorMsg" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="checkInID" type="s:long" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="phoneNumber" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="idNumber" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="CheckIn2Response">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="CheckIn2Result" type="s:boolean" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="errorMsg" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="checkInID" type="s:long" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="UploadPhoto">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="key" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="code" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="checkInID" type="s:long" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="idType" type="s:int" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="idCard" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="name" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="sex" type="s:int" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="birthday" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="photoUrl" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="photo" type="s:base64Binary" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="errorMsg" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="UploadPhotoResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="UploadPhotoResult" type="s:boolean" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="errorMsg" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="ChangePhoneNumber">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="key" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="code" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="roomNumber" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="phoneNumber" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="idNumber" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="errorMsg" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="ChangePhoneNumberResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="ChangePhoneNumberResult" type="s:boolean" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="errorMsg" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="CheckOut">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="key" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="code" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="roomNumber" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="checkOutDate" type="s:dateTime" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="errorMsg" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="CheckOutResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="CheckOutResult" type="s:boolean" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="errorMsg" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="RentRoom">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="key" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="code" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="roomNumber" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="rentDate" type="s:dateTime" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="errorMsg" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="RentRoomResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="RentRoomResult" type="s:boolean" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="errorMsg" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="PushBaoJing_IsEnable">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="key" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="code" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="isable" type="s:boolean" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="PushBaoJing_IsEnableResponse">
|
||||
<s:complexType />
|
||||
</s:element>
|
||||
<s:element name="GetPushBaoJing_IsEnable">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="key" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="code" type="s:string" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="GetPushBaoJing_IsEnableResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="GetPushBaoJing_IsEnableResult" type="s:int" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="AddHotelInfo">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="0" maxOccurs="1" name="key" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="Code" type="s:string" />
|
||||
<s:element minOccurs="0" maxOccurs="1" name="HotelName" type="s:string" />
|
||||
<s:element minOccurs="1" maxOccurs="1" name="HotelId" type="s:int" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
<s:element name="AddHotelInfoResponse">
|
||||
<s:complexType>
|
||||
<s:sequence>
|
||||
<s:element minOccurs="1" maxOccurs="1" name="AddHotelInfoResult" type="s:int" />
|
||||
</s:sequence>
|
||||
</s:complexType>
|
||||
</s:element>
|
||||
</s:schema>
|
||||
</wsdl:types>
|
||||
<wsdl:message name="CheckInSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:CheckIn" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="CheckInSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:CheckInResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="CheckIn2SoapIn">
|
||||
<wsdl:part name="parameters" element="tns:CheckIn2" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="CheckIn2SoapOut">
|
||||
<wsdl:part name="parameters" element="tns:CheckIn2Response" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="UploadPhotoSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:UploadPhoto" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="UploadPhotoSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:UploadPhotoResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="ChangePhoneNumberSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:ChangePhoneNumber" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="ChangePhoneNumberSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:ChangePhoneNumberResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="CheckOutSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:CheckOut" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="CheckOutSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:CheckOutResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RentRoomSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:RentRoom" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="RentRoomSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:RentRoomResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="PushBaoJing_IsEnableSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:PushBaoJing_IsEnable" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="PushBaoJing_IsEnableSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:PushBaoJing_IsEnableResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetPushBaoJing_IsEnableSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:GetPushBaoJing_IsEnable" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="GetPushBaoJing_IsEnableSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:GetPushBaoJing_IsEnableResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="AddHotelInfoSoapIn">
|
||||
<wsdl:part name="parameters" element="tns:AddHotelInfo" />
|
||||
</wsdl:message>
|
||||
<wsdl:message name="AddHotelInfoSoapOut">
|
||||
<wsdl:part name="parameters" element="tns:AddHotelInfoResponse" />
|
||||
</wsdl:message>
|
||||
<wsdl:portType name="blwwsSoap">
|
||||
<wsdl:operation name="CheckIn">
|
||||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">开房<br/>key:验证码(我方提供),code:编码(我方提供),roomNumber:房号,checkInDate:入住日期,xmlString:客人信息,errorMsg:返回错误信息,phoneNumber:手机号码(多个以英文逗号,隔开),idNumber:身份证号(多个以英文逗号,隔开):获取微信登录验证码</wsdl:documentation>
|
||||
<wsdl:input message="tns:CheckInSoapIn" />
|
||||
<wsdl:output message="tns:CheckInSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CheckIn2">
|
||||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">开房<br/>key:验证码(我方提供),code:编码(我方提供),roomNumber:房号,checkInDate:入住日期,xmlString:客人信息,errorMsg:返回错误信息,checkInID:返回入住记录ID,phoneNumber:手机号码(多个以英文逗号,隔开),idNumber:身份证号(多个以英文逗号,隔开):获取微信登录验证码</wsdl:documentation>
|
||||
<wsdl:input message="tns:CheckIn2SoapIn" />
|
||||
<wsdl:output message="tns:CheckIn2SoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UploadPhoto">
|
||||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">上传入住人信息<br/>key:验证码(我方提供),code:编码(我方提供),checkInID:入住记录ID,idType:证件类型(0身份证,1护照,2军官证,3其他),idCard:证件号码,name:姓名,sex:性别(0女,1男,2其他),birthday:出生日期(1999-01-01),photoUrl:图片路径(与photo二选一),photo:图片(二进制),errorMsg:错误信息</wsdl:documentation>
|
||||
<wsdl:input message="tns:UploadPhotoSoapIn" />
|
||||
<wsdl:output message="tns:UploadPhotoSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ChangePhoneNumber">
|
||||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">变更手机号<br/>key:验证码(我方提供),code:编码(我方提供),roomNumber:房号,errorMsg:错误信息,phoneNumber:手机号码(多个以英文逗号,隔开),idNumber:身份证号:获取验证码</wsdl:documentation>
|
||||
<wsdl:input message="tns:ChangePhoneNumberSoapIn" />
|
||||
<wsdl:output message="tns:ChangePhoneNumberSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CheckOut">
|
||||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">退房<br/>key:验证码(我方提供),code:编码(我方提供),roomNumber:房号,checkOutDate:退房日期,errorMsg:错误信息</wsdl:documentation>
|
||||
<wsdl:input message="tns:CheckOutSoapIn" />
|
||||
<wsdl:output message="tns:CheckOutSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RentRoom">
|
||||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">待租<br/>key:验证码(我方提供),code:编码(我方提供),roomNumber:房号,rentDate:变更待租日期,errorMsg:错误信息</wsdl:documentation>
|
||||
<wsdl:input message="tns:RentRoomSoapIn" />
|
||||
<wsdl:output message="tns:RentRoomSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="PushBaoJing_IsEnable">
|
||||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">推送数据到宝镜</wsdl:documentation>
|
||||
<wsdl:input message="tns:PushBaoJing_IsEnableSoapIn" />
|
||||
<wsdl:output message="tns:PushBaoJing_IsEnableSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetPushBaoJing_IsEnable">
|
||||
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">获取是否推送PMS数据到宝镜</wsdl:documentation>
|
||||
<wsdl:input message="tns:GetPushBaoJing_IsEnableSoapIn" />
|
||||
<wsdl:output message="tns:GetPushBaoJing_IsEnableSoapOut" />
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="AddHotelInfo">
|
||||
<wsdl:input message="tns:AddHotelInfoSoapIn" />
|
||||
<wsdl:output message="tns:AddHotelInfoSoapOut" />
|
||||
</wsdl:operation>
|
||||
</wsdl:portType>
|
||||
<wsdl:binding name="blwwsSoap" type="tns:blwwsSoap">
|
||||
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<wsdl:operation name="CheckIn">
|
||||
<soap:operation soapAction="http://www.blw.com/CheckIn" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CheckIn2">
|
||||
<soap:operation soapAction="http://www.blw.com/CheckIn2" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UploadPhoto">
|
||||
<soap:operation soapAction="http://www.blw.com/UploadPhoto" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ChangePhoneNumber">
|
||||
<soap:operation soapAction="http://www.blw.com/ChangePhoneNumber" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CheckOut">
|
||||
<soap:operation soapAction="http://www.blw.com/CheckOut" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RentRoom">
|
||||
<soap:operation soapAction="http://www.blw.com/RentRoom" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="PushBaoJing_IsEnable">
|
||||
<soap:operation soapAction="http://www.blw.com/PushBaoJing_IsEnable" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetPushBaoJing_IsEnable">
|
||||
<soap:operation soapAction="http://www.blw.com/GetPushBaoJing_IsEnable" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="AddHotelInfo">
|
||||
<soap:operation soapAction="http://www.blw.com/AddHotelInfo" style="document" />
|
||||
<wsdl:input>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
</wsdl:binding>
|
||||
<wsdl:binding name="blwwsSoap12" type="tns:blwwsSoap">
|
||||
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<wsdl:operation name="CheckIn">
|
||||
<soap12:operation soapAction="http://www.blw.com/CheckIn" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CheckIn2">
|
||||
<soap12:operation soapAction="http://www.blw.com/CheckIn2" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="UploadPhoto">
|
||||
<soap12:operation soapAction="http://www.blw.com/UploadPhoto" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="ChangePhoneNumber">
|
||||
<soap12:operation soapAction="http://www.blw.com/ChangePhoneNumber" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="CheckOut">
|
||||
<soap12:operation soapAction="http://www.blw.com/CheckOut" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="RentRoom">
|
||||
<soap12:operation soapAction="http://www.blw.com/RentRoom" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="PushBaoJing_IsEnable">
|
||||
<soap12:operation soapAction="http://www.blw.com/PushBaoJing_IsEnable" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="GetPushBaoJing_IsEnable">
|
||||
<soap12:operation soapAction="http://www.blw.com/GetPushBaoJing_IsEnable" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="AddHotelInfo">
|
||||
<soap12:operation soapAction="http://www.blw.com/AddHotelInfo" style="document" />
|
||||
<wsdl:input>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:input>
|
||||
<wsdl:output>
|
||||
<soap12:body use="literal" />
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
</wsdl:binding>
|
||||
<wsdl:service name="blwws">
|
||||
<wsdl:port name="blwwsSoap" binding="tns:blwwsSoap">
|
||||
<soap:address location="http://localhost:6101/blwws.asmx" />
|
||||
</wsdl:port>
|
||||
<wsdl:port name="blwwsSoap12" binding="tns:blwwsSoap12">
|
||||
<soap12:address location="http://localhost:6101/blwws.asmx" />
|
||||
</wsdl:port>
|
||||
</wsdl:service>
|
||||
</wsdl:definitions>
|
||||
Reference in New Issue
Block a user