初始化

This commit is contained in:
2025-11-20 15:56:30 +08:00
commit ab6e620f8e
154 changed files with 29677 additions and 0 deletions

23
ConsoleApp6/App.config Normal file
View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="ConsoleApp6.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
</startup>
<system.serviceModel>
<bindings />
<client />
</system.serviceModel>
<applicationSettings>
<ConsoleApp6.Properties.Settings>
<setting name="ConsoleApp6_localhost_blwws" serializeAs="String">
<!--<value>http://localhost:22346/blwws.asmx</value>-->
<value>http://pms.boonlive-rcu.com:89/blwws.asmx</value>
</setting>
</ConsoleApp6.Properties.Settings>
</applicationSettings>
</configuration>

View File

@@ -0,0 +1,98 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{02BC4AA5-6542-4CA8-B540-C435F15392AE}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>ConsoleApp6</RootNamespace>
<AssemblyName>ConsoleApp6</AssemblyName>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.EnterpriseServices" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.ServiceModel" />
<Reference Include="System.Web.Services" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
<DependentUpon>Settings.settings</DependentUpon>
</Compile>
<Compile Include="Web References\localhost\Reference.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Reference.map</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<None Include="Web References\localhost\blwws.wsdl" />
<None Include="Web References\localhost\Reference.map">
<Generator>MSDiscoCodeGenerator</Generator>
<LastGenOutput>Reference.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<WCFMetadata Include="Connected Services\" />
</ItemGroup>
<ItemGroup>
<WebReferences Include="Web References\" />
</ItemGroup>
<ItemGroup>
<WebReferenceUrl Include="http://localhost:22346/blwws.asmx">
<UrlBehavior>Dynamic</UrlBehavior>
<RelPath>Web References\localhost\</RelPath>
<UpdateFromURL>http://localhost:22346/blwws.asmx</UpdateFromURL>
<ServiceLocationURL>
</ServiceLocationURL>
<CachedDynamicPropName>
</CachedDynamicPropName>
<CachedAppSettingsObjectName>Settings</CachedAppSettingsObjectName>
<CachedSettingsPropName>ConsoleApp6_localhost_blwws</CachedSettingsPropName>
</WebReferenceUrl>
</ItemGroup>
<ItemGroup>
<None Include="Web References\localhost\blwws.disco" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

29
ConsoleApp6/Program.cs Normal file
View File

@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Channels;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp6
{
internal class Program
{
static void Main(string[] args)
{
string bbb = "";
// 创建Cookie并添加到容器
var cookie = new System.Net.Cookie("CookieName", "CookieValue", "/", "localhost");
localhost.blwws blwws = new localhost.blwws();
blwws.CookieContainer = new System.Net.CookieContainer();
//blwws.CookieContainer.Add(cookie);
//blwws.UploadPhoto("aaccee^_^aaccee");
string xmlstr = System.IO.File.ReadAllText("1.txt", Encoding.UTF8);
var Q= blwws.CheckIn("blw_ws@2015", "2006", "8201", DateTime.Now, xmlstr, ref bbb, "168616418194192160", "1");
//blwws.UploadPhoto("blw_ws@2015", "1321", 0, 0, "01", "张露", 0, null, null, new byte[] { }, ref bbb);
//blwws.CheckIn("room", "oschina", "", DateTime.Now, "", ref bbb, "", "");
Console.ReadKey();
}
}
}

View File

@@ -0,0 +1,33 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("ConsoleApp6")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ConsoleApp6")]
[assembly: AssemblyCopyright("Copyright © 2025")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 会使此程序集中的类型
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
//请将此类型的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("02bc4aa5-6542-4ca8-b540-c435f15392ae")]
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@@ -0,0 +1,36 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace ConsoleApp6.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.12.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)]
[global::System.Configuration.DefaultSettingValueAttribute("http://localhost:6101/blwws.asmx")]
public string ConsoleApp6_localhost_blwws {
get {
return ((string)(this["ConsoleApp6_localhost_blwws"]));
}
}
}
}

View File

@@ -0,0 +1,9 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="ConsoleApp6.Properties" GeneratedClassName="Settings">
<Profiles />
<Settings>
<Setting Name="ConsoleApp6_localhost_blwws" Type="(Web Service URL)" Scope="Application">
<Value Profile="(Default)">http://localhost:6101/blwws.asmx</Value>
</Setting>
</Settings>
</SettingsFile>

View 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

View 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>

View 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>

View 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/">开房&lt;br/&gt;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/">开房&lt;br/&gt;key验证码我方提供code编码我方提供roomNumber房号checkInDate入住日期xmlString客人信息errorMsg返回错误信息checkInID返回入住记录IDphoneNumber手机号码多个以英文逗号,隔开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/">上传入住人信息&lt;br/&gt;key验证码我方提供code编码我方提供checkInID入住记录IDidType证件类型(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/">变更手机号&lt;br/&gt;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/">退房&lt;br/&gt;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/">待租&lt;br/&gt;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>