diff options
Diffstat (limited to 'Rx/NET/Samples/HOL/CS')
420 files changed, 59477 insertions, 0 deletions
diff --git a/Rx/NET/Samples/HOL/CS/Excercise1/Start/Excercise1.csproj b/Rx/NET/Samples/HOL/CS/Excercise1/Start/Excercise1.csproj new file mode 100644 index 0000000..d34327d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise1/Start/Excercise1.csproj @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{64025149-E5AD-4566-9E82-7408B2176FD3}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise1</RootNamespace> + <AssemblyName>Excercise1</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise1/Start/Excercise1.sln b/Rx/NET/Samples/HOL/CS/Excercise1/Start/Excercise1.sln new file mode 100644 index 0000000..2403c7c --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise1/Start/Excercise1.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise1", "Excercise1.csproj", "{64025149-E5AD-4566-9E82-7408B2176FD3}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {64025149-E5AD-4566-9E82-7408B2176FD3}.Debug|x86.ActiveCfg = Debug|x86 + {64025149-E5AD-4566-9E82-7408B2176FD3}.Debug|x86.Build.0 = Debug|x86 + {64025149-E5AD-4566-9E82-7408B2176FD3}.Release|x86.ActiveCfg = Release|x86 + {64025149-E5AD-4566-9E82-7408B2176FD3}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise1/Start/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise1/Start/Program.cs new file mode 100644 index 0000000..0a0fc95 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise1/Start/Program.cs @@ -0,0 +1,15 @@ +using System; +using System.Reactive.Linq; + +namespace Excercise1 +{ + class Program + { + static void Main(string[] args) + { + IObservable<int> source; + IObserver<int> handler; + + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise1/Start/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise1/Start/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..2f221d9 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise1/Start/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise1")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise1")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("c2c174e8-ff52-447f-a66c-2951492718cf")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Start/Excercise2.csproj b/Rx/NET/Samples/HOL/CS/Excercise2/Start/Excercise2.csproj new file mode 100644 index 0000000..4f08214 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Start/Excercise2.csproj @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{AF344E14-373F-4DD8-A784-A33040B39FD5}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise2</RootNamespace> + <AssemblyName>Excercise2</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Start/Excercise2.sln b/Rx/NET/Samples/HOL/CS/Excercise2/Start/Excercise2.sln new file mode 100644 index 0000000..375d97f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Start/Excercise2.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise2", "Excercise2.csproj", "{AF344E14-373F-4DD8-A784-A33040B39FD5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Debug|x86.ActiveCfg = Debug|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Debug|x86.Build.0 = Debug|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Release|x86.ActiveCfg = Release|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Start/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise2/Start/Program.cs new file mode 100644 index 0000000..3a047f6 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Start/Program.cs @@ -0,0 +1,25 @@ +using System; +using System.Linq; +using System.Reactive.Linq; + +namespace Excercise2 +{ + class Program + { + static void Main(string[] args) + { + IObservable<int> source = null /* We’ll explore a set of factory methods here */; + + IDisposable subscription = source.Subscribe( + x => Console.WriteLine("OnNext: {0}", x), + ex => Console.WriteLine("OnError: {0}", ex.Message), + () => Console.WriteLine("OnCompleted") + ); + + Console.WriteLine("Press ENTER to unsubscribe..."); + Console.ReadLine(); + + subscription.Dispose(); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Start/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise2/Start/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..511a1bf --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Start/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise2")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise2")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("a639ddeb-d032-48b0-9b70-6108606b2bbb")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step03/Excercise2.csproj b/Rx/NET/Samples/HOL/CS/Excercise2/Step03/Excercise2.csproj new file mode 100644 index 0000000..7d6fe61 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step03/Excercise2.csproj @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{6F62C380-C2B1-4702-8A73-9101FCAB2E38}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise2</RootNamespace> + <AssemblyName>Excercise2</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step03/Excercise2.sln b/Rx/NET/Samples/HOL/CS/Excercise2/Step03/Excercise2.sln new file mode 100644 index 0000000..375d97f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step03/Excercise2.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise2", "Excercise2.csproj", "{AF344E14-373F-4DD8-A784-A33040B39FD5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Debug|x86.ActiveCfg = Debug|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Debug|x86.Build.0 = Debug|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Release|x86.ActiveCfg = Release|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step03/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise2/Step03/Program.cs new file mode 100644 index 0000000..8229ae8 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step03/Program.cs @@ -0,0 +1,25 @@ +using System; +using System.Linq; +using System.Reactive.Linq; + +namespace Excercise2 +{ + class Program + { + static void Main(string[] args) + { + IObservable<int> source = Observable.Empty<int>(); + + IDisposable subscription = source.Subscribe( + x => Console.WriteLine("OnNext: {0}", x), + ex => Console.WriteLine("OnError: {0}", ex.Message), + () => Console.WriteLine("OnCompleted") + ); + + Console.WriteLine("Press ENTER to unsubscribe..."); + Console.ReadLine(); + + subscription.Dispose(); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step03/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise2/Step03/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..511a1bf --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step03/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise2")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise2")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("a639ddeb-d032-48b0-9b70-6108606b2bbb")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step04/Excercise2.csproj b/Rx/NET/Samples/HOL/CS/Excercise2/Step04/Excercise2.csproj new file mode 100644 index 0000000..dd2856b --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step04/Excercise2.csproj @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{289C6220-CB61-413F-8C14-21AEDEB94B4C}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise2</RootNamespace> + <AssemblyName>Excercise2</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step04/Excercise2.sln b/Rx/NET/Samples/HOL/CS/Excercise2/Step04/Excercise2.sln new file mode 100644 index 0000000..375d97f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step04/Excercise2.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise2", "Excercise2.csproj", "{AF344E14-373F-4DD8-A784-A33040B39FD5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Debug|x86.ActiveCfg = Debug|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Debug|x86.Build.0 = Debug|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Release|x86.ActiveCfg = Release|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step04/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise2/Step04/Program.cs new file mode 100644 index 0000000..9af5411 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step04/Program.cs @@ -0,0 +1,25 @@ +using System; +using System.Linq; +using System.Reactive.Linq; + +namespace Excercise2 +{ + class Program + { + static void Main(string[] args) + { + IObservable<int> source = Observable.Throw<int>(new Exception("Oops")); + + IDisposable subscription = source.Subscribe( + x => Console.WriteLine("OnNext: {0}", x), + ex => Console.WriteLine("OnError: {0}", ex.Message), + () => Console.WriteLine("OnCompleted") + ); + + Console.WriteLine("Press ENTER to unsubscribe..."); + Console.ReadLine(); + + subscription.Dispose(); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step04/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise2/Step04/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..511a1bf --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step04/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise2")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise2")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("a639ddeb-d032-48b0-9b70-6108606b2bbb")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step05/Excercise2.csproj b/Rx/NET/Samples/HOL/CS/Excercise2/Step05/Excercise2.csproj new file mode 100644 index 0000000..58cb0cb --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step05/Excercise2.csproj @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{BC16C11F-D510-4CE9-ABA4-3E703ED48FBD}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise2</RootNamespace> + <AssemblyName>Excercise2</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step05/Excercise2.sln b/Rx/NET/Samples/HOL/CS/Excercise2/Step05/Excercise2.sln new file mode 100644 index 0000000..375d97f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step05/Excercise2.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise2", "Excercise2.csproj", "{AF344E14-373F-4DD8-A784-A33040B39FD5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Debug|x86.ActiveCfg = Debug|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Debug|x86.Build.0 = Debug|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Release|x86.ActiveCfg = Release|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step05/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise2/Step05/Program.cs new file mode 100644 index 0000000..5a6ea26 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step05/Program.cs @@ -0,0 +1,25 @@ +using System; +using System.Linq; +using System.Reactive.Linq; + +namespace Excercise2 +{ + class Program + { + static void Main(string[] args) + { + IObservable<int> source = Observable.Return(42); + + IDisposable subscription = source.Subscribe( + x => Console.WriteLine("OnNext: {0}", x), + ex => Console.WriteLine("OnError: {0}", ex.Message), + () => Console.WriteLine("OnCompleted") + ); + + Console.WriteLine("Press ENTER to unsubscribe..."); + Console.ReadLine(); + + subscription.Dispose(); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step05/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise2/Step05/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..511a1bf --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step05/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise2")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise2")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("a639ddeb-d032-48b0-9b70-6108606b2bbb")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step06/Excercise2.csproj b/Rx/NET/Samples/HOL/CS/Excercise2/Step06/Excercise2.csproj new file mode 100644 index 0000000..f931c51 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step06/Excercise2.csproj @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{E4136784-3DC4-438F-9E90-E261CCE9DA6C}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise2</RootNamespace> + <AssemblyName>Excercise2</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step06/Excercise2.sln b/Rx/NET/Samples/HOL/CS/Excercise2/Step06/Excercise2.sln new file mode 100644 index 0000000..375d97f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step06/Excercise2.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise2", "Excercise2.csproj", "{AF344E14-373F-4DD8-A784-A33040B39FD5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Debug|x86.ActiveCfg = Debug|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Debug|x86.Build.0 = Debug|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Release|x86.ActiveCfg = Release|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step06/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise2/Step06/Program.cs new file mode 100644 index 0000000..5511232 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step06/Program.cs @@ -0,0 +1,25 @@ +using System; +using System.Linq; +using System.Reactive.Linq; + +namespace Excercise2 +{ + class Program + { + static void Main(string[] args) + { + IObservable<int> source = Observable.Range(5, 3); + + IDisposable subscription = source.Subscribe( + x => Console.WriteLine("OnNext: {0}", x), + ex => Console.WriteLine("OnError: {0}", ex.Message), + () => Console.WriteLine("OnCompleted") + ); + + Console.WriteLine("Press ENTER to unsubscribe..."); + Console.ReadLine(); + + subscription.Dispose(); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step06/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise2/Step06/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..511a1bf --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step06/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise2")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise2")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("a639ddeb-d032-48b0-9b70-6108606b2bbb")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step07/Excercise2.csproj b/Rx/NET/Samples/HOL/CS/Excercise2/Step07/Excercise2.csproj new file mode 100644 index 0000000..9333a26 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step07/Excercise2.csproj @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{20522107-AECC-4E6D-846C-69D49406A06B}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise2</RootNamespace> + <AssemblyName>Excercise2</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step07/Excercise2.sln b/Rx/NET/Samples/HOL/CS/Excercise2/Step07/Excercise2.sln new file mode 100644 index 0000000..375d97f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step07/Excercise2.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise2", "Excercise2.csproj", "{AF344E14-373F-4DD8-A784-A33040B39FD5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Debug|x86.ActiveCfg = Debug|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Debug|x86.Build.0 = Debug|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Release|x86.ActiveCfg = Release|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step07/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise2/Step07/Program.cs new file mode 100644 index 0000000..0c3c9f2 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step07/Program.cs @@ -0,0 +1,25 @@ +using System; +using System.Linq; +using System.Reactive.Linq; + +namespace Excercise2 +{ + class Program + { + static void Main(string[] args) + { + IObservable<int> source = Observable.Generate(0, i => i < 5, i => i + 1, i => i * i); + + IDisposable subscription = source.Subscribe( + x => Console.WriteLine("OnNext: {0}", x), + ex => Console.WriteLine("OnError: {0}", ex.Message), + () => Console.WriteLine("OnCompleted") + ); + + Console.WriteLine("Press ENTER to unsubscribe..."); + Console.ReadLine(); + + subscription.Dispose(); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step07/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise2/Step07/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..511a1bf --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step07/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise2")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise2")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("a639ddeb-d032-48b0-9b70-6108606b2bbb")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step08/Excercise2.csproj b/Rx/NET/Samples/HOL/CS/Excercise2/Step08/Excercise2.csproj new file mode 100644 index 0000000..cc403b6 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step08/Excercise2.csproj @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{0396B214-99A9-4F09-AAC9-ACAF2125414C}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise2</RootNamespace> + <AssemblyName>Excercise2</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step08/Excercise2.sln b/Rx/NET/Samples/HOL/CS/Excercise2/Step08/Excercise2.sln new file mode 100644 index 0000000..375d97f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step08/Excercise2.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise2", "Excercise2.csproj", "{AF344E14-373F-4DD8-A784-A33040B39FD5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Debug|x86.ActiveCfg = Debug|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Debug|x86.Build.0 = Debug|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Release|x86.ActiveCfg = Release|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step08/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise2/Step08/Program.cs new file mode 100644 index 0000000..2d5a390 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step08/Program.cs @@ -0,0 +1,25 @@ +using System; +using System.Linq; +using System.Reactive.Linq; + +namespace Excercise2 +{ + class Program + { + static void Main(string[] args) + { + IObservable<int> source = Observable.Never<int>(); + + IDisposable subscription = source.Subscribe( + x => Console.WriteLine("OnNext: {0}", x), + ex => Console.WriteLine("OnError: {0}", ex.Message), + () => Console.WriteLine("OnCompleted") + ); + + Console.WriteLine("Press ENTER to unsubscribe..."); + Console.ReadLine(); + + subscription.Dispose(); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step08/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise2/Step08/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..511a1bf --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step08/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise2")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise2")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("a639ddeb-d032-48b0-9b70-6108606b2bbb")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step09/Excercise2.csproj b/Rx/NET/Samples/HOL/CS/Excercise2/Step09/Excercise2.csproj new file mode 100644 index 0000000..21fe088 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step09/Excercise2.csproj @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{16DDA343-61A7-4D54-8482-4E4C0AFF26F5}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise2</RootNamespace> + <AssemblyName>Excercise2</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step09/Excercise2.sln b/Rx/NET/Samples/HOL/CS/Excercise2/Step09/Excercise2.sln new file mode 100644 index 0000000..375d97f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step09/Excercise2.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise2", "Excercise2.csproj", "{AF344E14-373F-4DD8-A784-A33040B39FD5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Debug|x86.ActiveCfg = Debug|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Debug|x86.Build.0 = Debug|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Release|x86.ActiveCfg = Release|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step09/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise2/Step09/Program.cs new file mode 100644 index 0000000..be0552c --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step09/Program.cs @@ -0,0 +1,24 @@ +using System; +using System.Linq; +using System.Reactive.Linq; + +namespace Excercise2 +{ + class Program + { + static void Main(string[] args) + { + IObservable<int> source = Observable.Range(0, 10); + + source.ForEach( + x => Console.WriteLine("OnNext: {0}", x), + ex => Console.WriteLine("OnError: {0}", ex.Message), + () => Console.WriteLine("OnCompleted") + ); + + Console.WriteLine("Press ENTER to unsubscribe..."); + Console.ReadLine(); + + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step09/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise2/Step09/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..511a1bf --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step09/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise2")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise2")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("a639ddeb-d032-48b0-9b70-6108606b2bbb")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step10/Excercise2.csproj b/Rx/NET/Samples/HOL/CS/Excercise2/Step10/Excercise2.csproj new file mode 100644 index 0000000..e492bd8 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step10/Excercise2.csproj @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{81113424-7F2C-4B54-A3BF-68F7130900D2}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise2</RootNamespace> + <AssemblyName>Excercise2</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step10/Excercise2.sln b/Rx/NET/Samples/HOL/CS/Excercise2/Step10/Excercise2.sln new file mode 100644 index 0000000..375d97f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step10/Excercise2.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise2", "Excercise2.csproj", "{AF344E14-373F-4DD8-A784-A33040B39FD5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Debug|x86.ActiveCfg = Debug|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Debug|x86.Build.0 = Debug|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Release|x86.ActiveCfg = Release|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step10/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise2/Step10/Program.cs new file mode 100644 index 0000000..a099a9a --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step10/Program.cs @@ -0,0 +1,29 @@ +using System; +using System.Linq; +using System.Reactive.Linq; + +namespace Excercise2 +{ + class Program + { + static void Main(string[] args) + { + IObservable<int> source = Observable.Generate( + 0, i => i < 5, + i => i + 1, + i => i * i, + i => TimeSpan.FromSeconds(i) + ); + + using (source.Subscribe( + x => Console.WriteLine("OnNext: {0}", x), + ex => Console.WriteLine("OnError: {0}", ex.Message), + () => Console.WriteLine("OnCompleted") + )) + { + Console.WriteLine("Press ENTER to unsubscribe..."); + Console.ReadLine(); + } + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise2/Step10/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise2/Step10/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..511a1bf --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise2/Step10/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise2")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise2")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("a639ddeb-d032-48b0-9b70-6108606b2bbb")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise3/Start/Excercise3.csproj b/Rx/NET/Samples/HOL/CS/Excercise3/Start/Excercise3.csproj new file mode 100644 index 0000000..3cd88be --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise3/Start/Excercise3.csproj @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{E33DD010-6514-4C5E-89B5-C2BE05F71139}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise3</RootNamespace> + <AssemblyName>Excercise3</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise3/Start/Excercise3.sln b/Rx/NET/Samples/HOL/CS/Excercise3/Start/Excercise3.sln new file mode 100644 index 0000000..220835d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise3/Start/Excercise3.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise3", "Excercise3.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise3/Start/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise3/Start/Program.cs new file mode 100644 index 0000000..6f060db --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise3/Start/Program.cs @@ -0,0 +1,15 @@ +using System; +using System.Reactive.Linq; +using System.Windows.Forms; + +namespace Excercise3 +{ + class Program + { + static void Main() + { + var frm = new Form(); + Application.Run(frm); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise3/Start/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise3/Start/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f6fd521 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise3/Start/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise3")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise3")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise3/Step03/Excercise3.csproj b/Rx/NET/Samples/HOL/CS/Excercise3/Step03/Excercise3.csproj new file mode 100644 index 0000000..527459d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise3/Step03/Excercise3.csproj @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{9C33BFED-D534-4012-83DF-B4A102DCFE92}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise3</RootNamespace> + <AssemblyName>Excercise3</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise3/Step03/Excercise3.sln b/Rx/NET/Samples/HOL/CS/Excercise3/Step03/Excercise3.sln new file mode 100644 index 0000000..220835d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise3/Step03/Excercise3.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise3", "Excercise3.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise3/Step03/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise3/Step03/Program.cs new file mode 100644 index 0000000..3347375 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise3/Step03/Program.cs @@ -0,0 +1,25 @@ +using System; +using System.Reactive.Linq; +using System.Windows.Forms; + +namespace Excercise3 +{ + class Program + { + static void Main() + { + var lbl = new Label(); + var frm = new Form() + { + Controls = { lbl } + }; + + frm.MouseMove += (sender, args) => + { + lbl.Text = args.Location.ToString(); // This has become a position-tracking label. + }; + + Application.Run(frm); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise3/Step03/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise3/Step03/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f6fd521 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise3/Step03/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise3")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise3")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise3/Step04/Excercise3.csproj b/Rx/NET/Samples/HOL/CS/Excercise3/Step04/Excercise3.csproj new file mode 100644 index 0000000..c7813b5 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise3/Step04/Excercise3.csproj @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{4595D6BB-AFAB-45D1-897E-1FDA4DE03BDE}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise3</RootNamespace> + <AssemblyName>Excercise3</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise3/Step04/Excercise3.sln b/Rx/NET/Samples/HOL/CS/Excercise3/Step04/Excercise3.sln new file mode 100644 index 0000000..220835d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise3/Step04/Excercise3.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise3", "Excercise3.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise3/Step04/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise3/Step04/Program.cs new file mode 100644 index 0000000..092f7da --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise3/Step04/Program.cs @@ -0,0 +1,28 @@ +using System; +using System.Reactive.Linq; +using System.Windows.Forms; + +namespace Excercise3 +{ + class Program + { + static void Main() + { + var lbl = new Label(); + var frm = new Form() + { + Controls = { lbl } + }; + + var moves = Observable.FromEventPattern<MouseEventArgs>(frm, "MouseMove"); + + using (moves.Subscribe(evt => + { + lbl.Text = evt.EventArgs.Location.ToString(); + })) + { + Application.Run(frm); + } + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise3/Step04/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise3/Step04/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f6fd521 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise3/Step04/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise3")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise3")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise3/Step05/Excercise3.csproj b/Rx/NET/Samples/HOL/CS/Excercise3/Step05/Excercise3.csproj new file mode 100644 index 0000000..e951c78 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise3/Step05/Excercise3.csproj @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{D3E4FB9F-DEAB-4F03-8330-732F7D8241B8}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise3</RootNamespace> + <AssemblyName>Excercise3</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise3/Step05/Excercise3.sln b/Rx/NET/Samples/HOL/CS/Excercise3/Step05/Excercise3.sln new file mode 100644 index 0000000..220835d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise3/Step05/Excercise3.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise3", "Excercise3.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise3/Step05/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise3/Step05/Program.cs new file mode 100644 index 0000000..f1919a3 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise3/Step05/Program.cs @@ -0,0 +1,24 @@ +using System; +using System.Reactive.Linq; +using System.Windows.Forms; + +namespace Excercise3 +{ + class Program + { + static void Main() + { + var lbl = new Label(); + var txt = new TextBox(); + + var frm = new Form() + { + Controls = { lbl} + }; + + frm.Controls.Add(txt); + + Application.Run(frm); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise3/Step05/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise3/Step05/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f6fd521 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise3/Step05/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise3")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise3")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise3/Step06/Excercise3.csproj b/Rx/NET/Samples/HOL/CS/Excercise3/Step06/Excercise3.csproj new file mode 100644 index 0000000..2d5cd5e --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise3/Step06/Excercise3.csproj @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{E77F5B43-AB6D-40F5-BE4A-8C2E1883241F}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise3</RootNamespace> + <AssemblyName>Excercise3</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise3/Step06/Excercise3.sln b/Rx/NET/Samples/HOL/CS/Excercise3/Step06/Excercise3.sln new file mode 100644 index 0000000..220835d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise3/Step06/Excercise3.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise3", "Excercise3.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise3/Step06/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise3/Step06/Program.cs new file mode 100644 index 0000000..f019d31 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise3/Step06/Program.cs @@ -0,0 +1,38 @@ +using System; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; + +namespace Excercise3 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + + var frm = new Form() + { + Controls = { txt } + }; + + var moves = Observable.FromEventPattern<MouseEventArgs>(frm, "MouseMove"); + var input = Observable.FromEventPattern(txt, "TextChanged"); + + var moveSubscription = moves.Subscribe(evt => + { + Console.WriteLine("Mouse at: " + evt.EventArgs.Location); + }); + + var inputSubscription = input.Subscribe(evt => + { + Console.WriteLine("User wrote: " + ((TextBox)evt.Sender).Text); + }); + + using (new CompositeDisposable(moveSubscription, inputSubscription)) + { + Application.Run(frm); + } + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise3/Step06/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise3/Step06/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f6fd521 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise3/Step06/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise3")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise3")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise4/Start/Excercise4.csproj b/Rx/NET/Samples/HOL/CS/Excercise4/Start/Excercise4.csproj new file mode 100644 index 0000000..0722995 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise4/Start/Excercise4.csproj @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{C806AC15-A335-4EDC-A596-D11532C31D7E}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise4</RootNamespace> + <AssemblyName>Excercise4</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise4/Start/Excercise4.sln b/Rx/NET/Samples/HOL/CS/Excercise4/Start/Excercise4.sln new file mode 100644 index 0000000..1ae3e3e --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise4/Start/Excercise4.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise4", "Excercise4.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise4/Start/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise4/Start/Program.cs new file mode 100644 index 0000000..a35b4b9 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise4/Start/Program.cs @@ -0,0 +1,38 @@ +using System; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; + +namespace Excercise4 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + + var frm = new Form() + { + Controls = { txt } + }; + + var moves = Observable.FromEventPattern<MouseEventArgs>(frm, "MouseMove"); + var input = Observable.FromEventPattern<EventArgs>(txt, "TextChanged"); + + var moveSubscription = moves.Subscribe(evt => + { + Console.WriteLine("Mouse at: " + evt.EventArgs.Location); + }); + + var inputSubscription = input.Subscribe(evt => + { + Console.WriteLine("User wrote: " + ((TextBox)evt.Sender).Text); + }); + + using (new CompositeDisposable(moveSubscription, inputSubscription)) + { + Application.Run(frm); + } + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise4/Start/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise4/Start/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..0b18c66 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise4/Start/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise4")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise4")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise4/Step03/Excercise4.csproj b/Rx/NET/Samples/HOL/CS/Excercise4/Step03/Excercise4.csproj new file mode 100644 index 0000000..42f1958 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise4/Step03/Excercise4.csproj @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{60A618F3-98F6-460C-A9F1-C3EC79CEA3B0}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise4</RootNamespace> + <AssemblyName>Excercise4</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise4/Step03/Excercise4.sln b/Rx/NET/Samples/HOL/CS/Excercise4/Step03/Excercise4.sln new file mode 100644 index 0000000..1ae3e3e --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise4/Step03/Excercise4.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise4", "Excercise4.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise4/Step03/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise4/Step03/Program.cs new file mode 100644 index 0000000..1b8ebdc --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise4/Step03/Program.cs @@ -0,0 +1,34 @@ +using System; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; + +namespace Excercise4 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + + var frm = new Form() + { + Controls = { txt } + }; + + var moves = from evt in Observable.FromEventPattern<MouseEventArgs>(frm, "MouseMove") + select evt.EventArgs.Location; + + var input = from evt in Observable.FromEventPattern(txt, "TextChanged") + select ((TextBox)evt.Sender).Text; + + var movesSubscription = moves.Subscribe(pos => Console.WriteLine("Mouse at: " + pos)); + var inputSubscription = input.Subscribe(inp => Console.WriteLine("User wrote: " + inp)); + + using (new CompositeDisposable(movesSubscription, inputSubscription)) + { + Application.Run(frm); + } + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise4/Step03/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise4/Step03/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..0b18c66 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise4/Step03/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise4")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise4")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise4/Step04/Excercise4.csproj b/Rx/NET/Samples/HOL/CS/Excercise4/Step04/Excercise4.csproj new file mode 100644 index 0000000..025ab0f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise4/Step04/Excercise4.csproj @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{F6A8772E-A0EC-49B6-8254-6DD3CDF125C2}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise4</RootNamespace> + <AssemblyName>Excercise4</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise4/Step04/Excercise4.sln b/Rx/NET/Samples/HOL/CS/Excercise4/Step04/Excercise4.sln new file mode 100644 index 0000000..1ae3e3e --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise4/Step04/Excercise4.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise4", "Excercise4.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise4/Step04/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise4/Step04/Program.cs new file mode 100644 index 0000000..337e545 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise4/Step04/Program.cs @@ -0,0 +1,38 @@ +using System; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; + +namespace Excercise4 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + + var frm = new Form() + { + Controls = { txt } + }; + + var moves = from evt in Observable.FromEventPattern<MouseEventArgs>(frm, "MouseMove") + select evt.EventArgs.Location; + + var input = from evt in Observable.FromEventPattern(txt, "TextChanged") + select ((TextBox)evt.Sender).Text; + + var overFirstBisector = from pos in moves + where pos.X == pos.Y + select pos; + + var movesSubscription = overFirstBisector.Subscribe(pos => Console.WriteLine("Mouse at: " + pos)); + var inputSubscription = input.Subscribe(inp => Console.WriteLine("User wrote: " + inp)); + + using (new CompositeDisposable(movesSubscription, inputSubscription)) + { + Application.Run(frm); + } + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise4/Step04/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise4/Step04/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..0b18c66 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise4/Step04/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise4")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise4")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise5/Start/Excercise5.csproj b/Rx/NET/Samples/HOL/CS/Excercise5/Start/Excercise5.csproj new file mode 100644 index 0000000..d71044c --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise5/Start/Excercise5.csproj @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{612EB94E-B9D8-4FC7-8400-E914C324729A}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise5</RootNamespace> + <AssemblyName>Excercise5</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise5/Start/Excercise5.sln b/Rx/NET/Samples/HOL/CS/Excercise5/Start/Excercise5.sln new file mode 100644 index 0000000..ebf0eb1 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise5/Start/Excercise5.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise5", "Excercise5.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise5/Start/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise5/Start/Program.cs new file mode 100644 index 0000000..2b8bc30 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise5/Start/Program.cs @@ -0,0 +1,29 @@ +using System; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; + +namespace Excercise5 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + + var frm = new Form() + { + Controls = { txt } + }; + + var input = from evt in Observable.FromEventPattern(txt, "TextChanged") + select ((TextBox)evt.Sender).Text; + + using (input.Subscribe(inp => Console.WriteLine("User wrote: " + inp))) + { + Application.Run(frm); + } + + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise5/Start/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise5/Start/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..e64088c --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise5/Start/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise5")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise5")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise5/Step03/Excercise5.csproj b/Rx/NET/Samples/HOL/CS/Excercise5/Step03/Excercise5.csproj new file mode 100644 index 0000000..500a8f3 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise5/Step03/Excercise5.csproj @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{3F646D48-FE9B-4372-9145-C849E55C85A0}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise5</RootNamespace> + <AssemblyName>Excercise5</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise5/Step03/Excercise5.sln b/Rx/NET/Samples/HOL/CS/Excercise5/Step03/Excercise5.sln new file mode 100644 index 0000000..ebf0eb1 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise5/Step03/Excercise5.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise5", "Excercise5.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise5/Step03/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise5/Step03/Program.cs new file mode 100644 index 0000000..5d06ae5 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise5/Step03/Program.cs @@ -0,0 +1,31 @@ +using System; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; + +namespace Excercise5 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + + var frm = new Form() + { + Controls = { txt } + }; + + var input = (from evt in Observable.FromEventPattern(txt, "TextChanged") + select ((TextBox)evt.Sender).Text) + .Do(inp => Console.WriteLine("Before DistinctUntilChanged: " + inp)) + .DistinctUntilChanged(); + + using (input.Subscribe(inp => Console.WriteLine("User wrote: " + inp))) + { + Application.Run(frm); + } + + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise5/Step03/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise5/Step03/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..e64088c --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise5/Step03/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise5")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise5")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise5/Step04/Excercise5.csproj b/Rx/NET/Samples/HOL/CS/Excercise5/Step04/Excercise5.csproj new file mode 100644 index 0000000..c644e80 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise5/Step04/Excercise5.csproj @@ -0,0 +1,61 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{FDFB3A63-D70A-4DC6-92F1-D8C3EAF2F0E5}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise5</RootNamespace> + <AssemblyName>Excercise5</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Reactive.Windows.Forms, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise5/Step04/Excercise5.sln b/Rx/NET/Samples/HOL/CS/Excercise5/Step04/Excercise5.sln new file mode 100644 index 0000000..ebf0eb1 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise5/Step04/Excercise5.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise5", "Excercise5.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise5/Step04/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise5/Step04/Program.cs new file mode 100644 index 0000000..2e6b692 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise5/Step04/Program.cs @@ -0,0 +1,37 @@ +using System; +using System.Reactive; +using System.Reactive.Linq; +using System.Windows.Forms; + +namespace Excercise5 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + + var frm = new Form() + { + Controls = { txt } + }; + + var input = (from evt in Observable.FromEventPattern(txt, "TextChanged") + select ((TextBox)evt.Sender).Text) + .Timestamp() + .Do(inp => Console.WriteLine("I: " + inp.Timestamp.Millisecond + " - " + inp.Value)) + .Select(x => x.Value) + .Throttle(TimeSpan.FromSeconds(1)) + .Timestamp() + .Do(inp => Console.WriteLine("T: " + inp.Timestamp.Millisecond + " - " + inp.Value)) + .Select(x => x.Value) + .DistinctUntilChanged(); + + using (input.Subscribe(inp => Console.WriteLine("User wrote: " + inp))) + { + Application.Run(frm); + } + + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise5/Step04/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise5/Step04/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..e64088c --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise5/Step04/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise5")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise5")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise5/Step05/Excercise5.csproj b/Rx/NET/Samples/HOL/CS/Excercise5/Step05/Excercise5.csproj new file mode 100644 index 0000000..8f5c634 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise5/Step05/Excercise5.csproj @@ -0,0 +1,61 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{EFB0FA3C-0F6E-435B-8627-90B8EE83AD8D}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise5</RootNamespace> + <AssemblyName>Excercise5</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Reactive.Windows.Forms, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise5/Step05/Excercise5.sln b/Rx/NET/Samples/HOL/CS/Excercise5/Step05/Excercise5.sln new file mode 100644 index 0000000..ebf0eb1 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise5/Step05/Excercise5.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise5", "Excercise5.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise5/Step05/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise5/Step05/Program.cs new file mode 100644 index 0000000..f931cee --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise5/Step05/Program.cs @@ -0,0 +1,41 @@ +using System; +using System.Reactive; +using System.Reactive.Linq; +using System.Windows.Forms; + +namespace Excercise5 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + + var frm = new Form() + { + Controls = { txt } + }; + + var input = (from evt in Observable.FromEventPattern(txt, "TextChanged") + select ((TextBox)evt.Sender).Text) + .LogTimestampedValues(x => Console.WriteLine("I: " + x.Timestamp.Millisecond + " - " + x.Value)) + .Throttle(TimeSpan.FromSeconds(1)) + .LogTimestampedValues(x => Console.WriteLine("T: " + x.Timestamp.Millisecond + " - " + x.Value)) + .DistinctUntilChanged(); + + using (input.Subscribe(inp => Console.WriteLine("User wrote: " + inp))) + { + Application.Run(frm); + } + + } + } + + public static class MyExtensions + { + public static IObservable<T> LogTimestampedValues<T>(this IObservable<T> source, Action<Timestamped<T>> onNext) + { + return source.Timestamp().Do(onNext).Select(x => x.Value); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise5/Step05/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise5/Step05/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..e64088c --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise5/Step05/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise5")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise5")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise6/Start/Excercise6.csproj b/Rx/NET/Samples/HOL/CS/Excercise6/Start/Excercise6.csproj new file mode 100644 index 0000000..e397781 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise6/Start/Excercise6.csproj @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{5E42D5BE-A515-4598-A6C6-3A5354DAC4A1}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise6</RootNamespace> + <AssemblyName>Excercise6</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise6/Start/Excercise6.sln b/Rx/NET/Samples/HOL/CS/Excercise6/Start/Excercise6.sln new file mode 100644 index 0000000..acb806d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise6/Start/Excercise6.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise6", "Excercise6.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise6/Start/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise6/Start/Program.cs new file mode 100644 index 0000000..ff144f3 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise6/Start/Program.cs @@ -0,0 +1,31 @@ +using System; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; + +namespace Excercise6 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + + var frm = new Form() + { + Controls = { txt } + }; + + var input = (from evt in Observable.FromEventPattern(txt, "TextChanged") + select ((TextBox)evt.Sender).Text) + .Throttle(TimeSpan.FromSeconds(1)) + .DistinctUntilChanged(); + + using (input.Subscribe(inp => Console.WriteLine("User wrote: " + inp))) + { + Application.Run(frm); + } + + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise6/Start/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise6/Start/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..0fc8b0f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise6/Start/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise6")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise6")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise6/Step02/Excercise6.csproj b/Rx/NET/Samples/HOL/CS/Excercise6/Step02/Excercise6.csproj new file mode 100644 index 0000000..8f9c1a6 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise6/Step02/Excercise6.csproj @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{3AF631B1-F66F-4631-8E43-6025FD478884}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise6</RootNamespace> + <AssemblyName>Excercise6</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise6/Step02/Excercise6.sln b/Rx/NET/Samples/HOL/CS/Excercise6/Step02/Excercise6.sln new file mode 100644 index 0000000..acb806d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise6/Step02/Excercise6.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise6", "Excercise6.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise6/Step02/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise6/Step02/Program.cs new file mode 100644 index 0000000..a1a413d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise6/Step02/Program.cs @@ -0,0 +1,32 @@ +using System; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; + +namespace Excercise6 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + var lbl = new Label { Left = txt.Width + 20 }; + + var frm = new Form() + { + Controls = { txt, lbl } + }; + + var input = (from evt in Observable.FromEventPattern(txt, "TextChanged") + select ((TextBox)evt.Sender).Text) + .Throttle(TimeSpan.FromSeconds(1)) + .DistinctUntilChanged(); + + using (input.Subscribe(inp => lbl.Text = inp)) + { + Application.Run(frm); + } + + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise6/Step02/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise6/Step02/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..0fc8b0f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise6/Step02/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise6")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise6")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise6/Step03/Excercise6.csproj b/Rx/NET/Samples/HOL/CS/Excercise6/Step03/Excercise6.csproj new file mode 100644 index 0000000..a386cee --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise6/Step03/Excercise6.csproj @@ -0,0 +1,61 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{D11447DB-2F04-467E-8A3B-447C45535DE4}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise6</RootNamespace> + <AssemblyName>Excercise6</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Reactive.Windows.Forms, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise6/Step03/Excercise6.sln b/Rx/NET/Samples/HOL/CS/Excercise6/Step03/Excercise6.sln new file mode 100644 index 0000000..acb806d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise6/Step03/Excercise6.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise6", "Excercise6.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise6/Step03/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise6/Step03/Program.cs new file mode 100644 index 0000000..eefea08 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise6/Step03/Program.cs @@ -0,0 +1,32 @@ +using System; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; + +namespace Excercise6 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + var lbl = new Label { Left = txt.Width + 20 }; + + var frm = new Form() + { + Controls = { txt, lbl } + }; + + var input = (from evt in Observable.FromEventPattern(txt, "TextChanged") + select ((TextBox)evt.Sender).Text) + .Throttle(TimeSpan.FromSeconds(1)) + .DistinctUntilChanged(); + + using (input.ObserveOn(lbl).Subscribe(inp => lbl.Text = inp)) + { + Application.Run(frm); + } + + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise6/Step03/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise6/Step03/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..0fc8b0f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise6/Step03/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise6")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise6")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Start/Excercise7.csproj b/Rx/NET/Samples/HOL/CS/Excercise7/Start/Excercise7.csproj new file mode 100644 index 0000000..d1e51fe --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Start/Excercise7.csproj @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{C6C79232-C73A-4CC7-A9B2-648BB0E5F8BE}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise7</RootNamespace> + <AssemblyName>Excercise7</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Start/Excercise7.sln b/Rx/NET/Samples/HOL/CS/Excercise7/Start/Excercise7.sln new file mode 100644 index 0000000..e45118f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Start/Excercise7.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise7", "Excercise7.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Start/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise7/Start/Program.cs new file mode 100644 index 0000000..ecbb007 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Start/Program.cs @@ -0,0 +1,15 @@ +using System; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; + +namespace Excercise7 +{ + class Program + { + static void Main() + { + + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Start/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise7/Start/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..c07d001 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Start/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise7")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise7")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Excercise7.csproj b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Excercise7.csproj new file mode 100644 index 0000000..f60c7d0 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Excercise7.csproj @@ -0,0 +1,104 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{170C4D2D-DCCD-4E82-8993-2009AC67B027}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise7</RootNamespace> + <AssemblyName>Excercise7</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.ServiceModel" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Service References\DictionarySuggestService\Reference.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Reference.svcmap</DependentUpon> + </Compile> + </ItemGroup> + <ItemGroup> + <WCFMetadata Include="Service References\" /> + </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + <None Include="Service References\DictionarySuggestService\DictService.wsdl" /> + <None Include="Service References\DictionarySuggestService\Excercise7.DictionarySuggestService.Dictionary.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise7.DictionarySuggestService.DictionaryWord.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise7.DictionarySuggestService.Strategy.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise7.DictionarySuggestService.WordDefinition.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + </ItemGroup> + <ItemGroup> + <WCFMetadataStorage Include="Service References\DictionarySuggestService\" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\DictService.disco" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration91.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\Reference.svcmap"> + <Generator>WCF Proxy Generator</Generator> + <LastGenOutput>Reference.cs</LastGenOutput> + </None> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Excercise7.sln b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Excercise7.sln new file mode 100644 index 0000000..e45118f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Excercise7.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise7", "Excercise7.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Program.cs new file mode 100644 index 0000000..5cc045d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Program.cs @@ -0,0 +1,15 @@ +using System; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; + +namespace Excercise7 +{ + class Program + { + static void Main() + { + + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..c07d001 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise7")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise7")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/DictService.disco b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/DictService.disco new file mode 100644 index 0000000..d8b4769 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/DictService.disco @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> + <contractRef ref="http://services.aonaware.com/DictService/DictService.asmx?wsdl" docRef="http://services.aonaware.com/DictService/DictService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q1="http://services.aonaware.com/webservices/" binding="q1:DictServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q2="http://services.aonaware.com/webservices/" binding="q2:DictServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> +</discovery>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/DictService.wsdl b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/DictService.wsdl new file mode 100644 index 0000000..72a8189 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/DictService.wsdl @@ -0,0 +1,824 @@ +<?xml version="1.0" encoding="utf-8"?> +<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://services.aonaware.com/webservices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://services.aonaware.com/webservices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:types> + <s:schema elementFormDefault="qualified" targetNamespace="http://services.aonaware.com/webservices/"> + <s:element name="ServerInfo"> + <s:complexType /> + </s:element> + <s:element name="ServerInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="ServerInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryList"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Dictionary" nillable="true" type="tns:Dictionary" /> + </s:sequence> + </s:complexType> + <s:complexType name="Dictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DictionaryListExtended"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListExtendedResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListExtendedResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfo"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="Define"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="WordDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Definitions" type="tns:ArrayOfDefinition" /> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Definition" nillable="true" type="tns:Definition" /> + </s:sequence> + </s:complexType> + <s:complexType name="Definition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Dictionary" type="tns:Dictionary" /> + <s:element minOccurs="0" maxOccurs="1" name="WordDefinition" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DefineInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineInDictResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="StrategyList"> + <s:complexType /> + </s:element> + <s:element name="StrategyListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="StrategyListResult" type="tns:ArrayOfStrategy" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfStrategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Strategy" nillable="true" type="tns:Strategy" /> + </s:sequence> + </s:complexType> + <s:complexType name="Strategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="Match"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="DictionaryWord" nillable="true" type="tns:DictionaryWord" /> + </s:sequence> + </s:complexType> + <s:complexType name="DictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="MatchInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchInDictResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="string" nillable="true" type="s:string" /> + <s:element name="ArrayOfDictionary" nillable="true" type="tns:ArrayOfDictionary" /> + <s:element name="WordDefinition" nillable="true" type="tns:WordDefinition" /> + <s:element name="ArrayOfStrategy" nillable="true" type="tns:ArrayOfStrategy" /> + <s:element name="ArrayOfDictionaryWord" nillable="true" type="tns:ArrayOfDictionaryWord" /> + </s:schema> + </wsdl:types> + <wsdl:message name="ServerInfoSoapIn"> + <wsdl:part name="parameters" element="tns:ServerInfo" /> + </wsdl:message> + <wsdl:message name="ServerInfoSoapOut"> + <wsdl:part name="parameters" element="tns:ServerInfoResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryList" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryListExtended" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListExtendedResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryInfo" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryInfoResponse" /> + </wsdl:message> + <wsdl:message name="DefineSoapIn"> + <wsdl:part name="parameters" element="tns:Define" /> + </wsdl:message> + <wsdl:message name="DefineSoapOut"> + <wsdl:part name="parameters" element="tns:DefineResponse" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapIn"> + <wsdl:part name="parameters" element="tns:DefineInDict" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapOut"> + <wsdl:part name="parameters" element="tns:DefineInDictResponse" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapIn"> + <wsdl:part name="parameters" element="tns:StrategyList" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapOut"> + <wsdl:part name="parameters" element="tns:StrategyListResponse" /> + </wsdl:message> + <wsdl:message name="MatchSoapIn"> + <wsdl:part name="parameters" element="tns:Match" /> + </wsdl:message> + <wsdl:message name="MatchSoapOut"> + <wsdl:part name="parameters" element="tns:MatchResponse" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapIn"> + <wsdl:part name="parameters" element="tns:MatchInDict" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapOut"> + <wsdl:part name="parameters" element="tns:MatchInDictResponse" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpGetIn" /> + <wsdl:message name="ServerInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpGetIn" /> + <wsdl:message name="DictionaryListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpGetIn" /> + <wsdl:message name="DictionaryListExtendedHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpGetIn" /> + <wsdl:message name="StrategyListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpPostIn" /> + <wsdl:message name="ServerInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpPostIn" /> + <wsdl:message name="DictionaryListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpPostIn" /> + <wsdl:message name="DictionaryListExtendedHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpPostIn" /> + <wsdl:message name="StrategyListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:portType name="DictServiceSoap"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoSoapIn" /> + <wsdl:output message="tns:ServerInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListSoapIn" /> + <wsdl:output message="tns:DictionaryListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedSoapIn" /> + <wsdl:output message="tns:DictionaryListExtendedSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoSoapIn" /> + <wsdl:output message="tns:DictionaryInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineSoapIn" /> + <wsdl:output message="tns:DefineSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictSoapIn" /> + <wsdl:output message="tns:DefineInDictSoapOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListSoapIn" /> + <wsdl:output message="tns:StrategyListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchSoapIn" /> + <wsdl:output message="tns:MatchSoapOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictSoapIn" /> + <wsdl:output message="tns:MatchInDictSoapOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpGet"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpGetIn" /> + <wsdl:output message="tns:ServerInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpGetIn" /> + <wsdl:output message="tns:DictionaryListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpGetIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpGetIn" /> + <wsdl:output message="tns:DictionaryInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpGetIn" /> + <wsdl:output message="tns:DefineHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpGetIn" /> + <wsdl:output message="tns:DefineInDictHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpGetIn" /> + <wsdl:output message="tns:StrategyListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpGetIn" /> + <wsdl:output message="tns:MatchHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpGetIn" /> + <wsdl:output message="tns:MatchInDictHttpGetOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpPost"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpPostIn" /> + <wsdl:output message="tns:ServerInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpPostIn" /> + <wsdl:output message="tns:DictionaryListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpPostIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpPostIn" /> + <wsdl:output message="tns:DictionaryInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpPostIn" /> + <wsdl:output message="tns:DefineHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpPostIn" /> + <wsdl:output message="tns:DefineInDictHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpPostIn" /> + <wsdl:output message="tns:StrategyListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpPostIn" /> + <wsdl:output message="tns:MatchHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpPostIn" /> + <wsdl:output message="tns:MatchInDictHttpPostOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="DictServiceSoap" type="tns:DictServiceSoap"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" 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="DictServiceSoap12" type="tns:DictServiceSoap"> + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpGet" type="tns:DictServiceHttpGet"> + <http:binding verb="GET" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpPost" type="tns:DictServiceHttpPost"> + <http:binding verb="POST" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="DictService"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:port name="DictServiceSoap" binding="tns:DictServiceSoap"> + <soap:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceSoap12" binding="tns:DictServiceSoap12"> + <soap12:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpGet" binding="tns:DictServiceHttpGet"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpPost" binding="tns:DictServiceHttpPost"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + </wsdl:service> +</wsdl:definitions>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Dictionary.datasource b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Dictionary.datasource new file mode 100644 index 0000000..eeea716 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Dictionary.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Dictionary" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise7.DictionarySuggestService.Dictionary, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.DictionaryWord.datasource b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.DictionaryWord.datasource new file mode 100644 index 0000000..599aaa5 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.DictionaryWord.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="DictionaryWord" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise7.DictionarySuggestService.DictionaryWord, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Strategy.datasource b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Strategy.datasource new file mode 100644 index 0000000..a20e8f2 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Strategy.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Strategy" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise7.DictionarySuggestService.Strategy, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.WordDefinition.datasource b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.WordDefinition.datasource new file mode 100644 index 0000000..a1ec774 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.WordDefinition.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="WordDefinition" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise7.DictionarySuggestService.WordDefinition, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/Reference.cs b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/Reference.cs new file mode 100644 index 0000000..d7ded3c --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/Reference.cs @@ -0,0 +1,1064 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.431 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace Excercise7.DictionarySuggestService { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://services.aonaware.com/webservices/", ConfigurationName="DictionarySuggestService.DictServiceSoap")] + public interface DictServiceSoap { + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string ServerInfo(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState); + + string EndServerInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryListExtended(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryListExtended(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string DictionaryInfo(string dictId); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState); + + string EndDictionaryInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise7.DictionarySuggestService.WordDefinition Define(string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState); + + Excercise7.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise7.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState); + + Excercise7.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Strategy[] StrategyList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState); + + Strategy[] EndStrategyList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] Match(string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatch(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] MatchInDict(string dictId, string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatchInDict(System.IAsyncResult result); + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Dictionary : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string nameField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class DictionaryWord : object, System.ComponentModel.INotifyPropertyChanged { + + private string dictionaryIdField; + + private string wordField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string DictionaryId { + get { + return this.dictionaryIdField; + } + set { + this.dictionaryIdField = value; + this.RaisePropertyChanged("DictionaryId"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Strategy : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string descriptionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Definition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Dictionary dictionaryField; + + private string wordDefinitionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public Dictionary Dictionary { + get { + return this.dictionaryField; + } + set { + this.dictionaryField = value; + this.RaisePropertyChanged("Dictionary"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string WordDefinition { + get { + return this.wordDefinitionField; + } + set { + this.wordDefinitionField = value; + this.RaisePropertyChanged("WordDefinition"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class WordDefinition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Definition[] definitionsField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public Definition[] Definitions { + get { + return this.definitionsField; + } + set { + this.definitionsField = value; + this.RaisePropertyChanged("Definitions"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface DictServiceSoapChannel : Excercise7.DictionarySuggestService.DictServiceSoap, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class ServerInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public ServerInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListExtendedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListExtendedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise7.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise7.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise7.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise7.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class StrategyListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public StrategyListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Strategy[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Strategy[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictServiceSoapClient : System.ServiceModel.ClientBase<Excercise7.DictionarySuggestService.DictServiceSoap>, Excercise7.DictionarySuggestService.DictServiceSoap { + + private BeginOperationDelegate onBeginServerInfoDelegate; + + private EndOperationDelegate onEndServerInfoDelegate; + + private System.Threading.SendOrPostCallback onServerInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListDelegate; + + private EndOperationDelegate onEndDictionaryListDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListExtendedDelegate; + + private EndOperationDelegate onEndDictionaryListExtendedDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListExtendedCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryInfoDelegate; + + private EndOperationDelegate onEndDictionaryInfoDelegate; + + private System.Threading.SendOrPostCallback onDictionaryInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDefineDelegate; + + private EndOperationDelegate onEndDefineDelegate; + + private System.Threading.SendOrPostCallback onDefineCompletedDelegate; + + private BeginOperationDelegate onBeginDefineInDictDelegate; + + private EndOperationDelegate onEndDefineInDictDelegate; + + private System.Threading.SendOrPostCallback onDefineInDictCompletedDelegate; + + private BeginOperationDelegate onBeginStrategyListDelegate; + + private EndOperationDelegate onEndStrategyListDelegate; + + private System.Threading.SendOrPostCallback onStrategyListCompletedDelegate; + + private BeginOperationDelegate onBeginMatchDelegate; + + private EndOperationDelegate onEndMatchDelegate; + + private System.Threading.SendOrPostCallback onMatchCompletedDelegate; + + private BeginOperationDelegate onBeginMatchInDictDelegate; + + private EndOperationDelegate onEndMatchInDictDelegate; + + private System.Threading.SendOrPostCallback onMatchInDictCompletedDelegate; + + public DictServiceSoapClient() { + } + + public DictServiceSoapClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public DictServiceSoapClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + public event System.EventHandler<ServerInfoCompletedEventArgs> ServerInfoCompleted; + + public event System.EventHandler<DictionaryListCompletedEventArgs> DictionaryListCompleted; + + public event System.EventHandler<DictionaryListExtendedCompletedEventArgs> DictionaryListExtendedCompleted; + + public event System.EventHandler<DictionaryInfoCompletedEventArgs> DictionaryInfoCompleted; + + public event System.EventHandler<DefineCompletedEventArgs> DefineCompleted; + + public event System.EventHandler<DefineInDictCompletedEventArgs> DefineInDictCompleted; + + public event System.EventHandler<StrategyListCompletedEventArgs> StrategyListCompleted; + + public event System.EventHandler<MatchCompletedEventArgs> MatchCompleted; + + public event System.EventHandler<MatchInDictCompletedEventArgs> MatchInDictCompleted; + + public string ServerInfo() { + return base.Channel.ServerInfo(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginServerInfo(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndServerInfo(System.IAsyncResult result) { + return base.Channel.EndServerInfo(result); + } + + private System.IAsyncResult OnBeginServerInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginServerInfo(callback, asyncState); + } + + private object[] OnEndServerInfo(System.IAsyncResult result) { + string retVal = this.EndServerInfo(result); + return new object[] { + retVal}; + } + + private void OnServerInfoCompleted(object state) { + if ((this.ServerInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.ServerInfoCompleted(this, new ServerInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void ServerInfoAsync() { + this.ServerInfoAsync(null); + } + + public void ServerInfoAsync(object userState) { + if ((this.onBeginServerInfoDelegate == null)) { + this.onBeginServerInfoDelegate = new BeginOperationDelegate(this.OnBeginServerInfo); + } + if ((this.onEndServerInfoDelegate == null)) { + this.onEndServerInfoDelegate = new EndOperationDelegate(this.OnEndServerInfo); + } + if ((this.onServerInfoCompletedDelegate == null)) { + this.onServerInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnServerInfoCompleted); + } + base.InvokeAsync(this.onBeginServerInfoDelegate, null, this.onEndServerInfoDelegate, this.onServerInfoCompletedDelegate, userState); + } + + public Dictionary[] DictionaryList() { + return base.Channel.DictionaryList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryList(System.IAsyncResult result) { + return base.Channel.EndDictionaryList(result); + } + + private System.IAsyncResult OnBeginDictionaryList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryList(callback, asyncState); + } + + private object[] OnEndDictionaryList(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryList(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListCompleted(object state) { + if ((this.DictionaryListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListCompleted(this, new DictionaryListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListAsync() { + this.DictionaryListAsync(null); + } + + public void DictionaryListAsync(object userState) { + if ((this.onBeginDictionaryListDelegate == null)) { + this.onBeginDictionaryListDelegate = new BeginOperationDelegate(this.OnBeginDictionaryList); + } + if ((this.onEndDictionaryListDelegate == null)) { + this.onEndDictionaryListDelegate = new EndOperationDelegate(this.OnEndDictionaryList); + } + if ((this.onDictionaryListCompletedDelegate == null)) { + this.onDictionaryListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListDelegate, null, this.onEndDictionaryListDelegate, this.onDictionaryListCompletedDelegate, userState); + } + + public Dictionary[] DictionaryListExtended() { + return base.Channel.DictionaryListExtended(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryListExtended(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryListExtended(System.IAsyncResult result) { + return base.Channel.EndDictionaryListExtended(result); + } + + private System.IAsyncResult OnBeginDictionaryListExtended(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryListExtended(callback, asyncState); + } + + private object[] OnEndDictionaryListExtended(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryListExtended(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListExtendedCompleted(object state) { + if ((this.DictionaryListExtendedCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListExtendedCompleted(this, new DictionaryListExtendedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListExtendedAsync() { + this.DictionaryListExtendedAsync(null); + } + + public void DictionaryListExtendedAsync(object userState) { + if ((this.onBeginDictionaryListExtendedDelegate == null)) { + this.onBeginDictionaryListExtendedDelegate = new BeginOperationDelegate(this.OnBeginDictionaryListExtended); + } + if ((this.onEndDictionaryListExtendedDelegate == null)) { + this.onEndDictionaryListExtendedDelegate = new EndOperationDelegate(this.OnEndDictionaryListExtended); + } + if ((this.onDictionaryListExtendedCompletedDelegate == null)) { + this.onDictionaryListExtendedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListExtendedCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListExtendedDelegate, null, this.onEndDictionaryListExtendedDelegate, this.onDictionaryListExtendedCompletedDelegate, userState); + } + + public string DictionaryInfo(string dictId) { + return base.Channel.DictionaryInfo(dictId); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryInfo(dictId, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndDictionaryInfo(System.IAsyncResult result) { + return base.Channel.EndDictionaryInfo(result); + } + + private System.IAsyncResult OnBeginDictionaryInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + return this.BeginDictionaryInfo(dictId, callback, asyncState); + } + + private object[] OnEndDictionaryInfo(System.IAsyncResult result) { + string retVal = this.EndDictionaryInfo(result); + return new object[] { + retVal}; + } + + private void OnDictionaryInfoCompleted(object state) { + if ((this.DictionaryInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryInfoCompleted(this, new DictionaryInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryInfoAsync(string dictId) { + this.DictionaryInfoAsync(dictId, null); + } + + public void DictionaryInfoAsync(string dictId, object userState) { + if ((this.onBeginDictionaryInfoDelegate == null)) { + this.onBeginDictionaryInfoDelegate = new BeginOperationDelegate(this.OnBeginDictionaryInfo); + } + if ((this.onEndDictionaryInfoDelegate == null)) { + this.onEndDictionaryInfoDelegate = new EndOperationDelegate(this.OnEndDictionaryInfo); + } + if ((this.onDictionaryInfoCompletedDelegate == null)) { + this.onDictionaryInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryInfoCompleted); + } + base.InvokeAsync(this.onBeginDictionaryInfoDelegate, new object[] { + dictId}, this.onEndDictionaryInfoDelegate, this.onDictionaryInfoCompletedDelegate, userState); + } + + public Excercise7.DictionarySuggestService.WordDefinition Define(string word) { + return base.Channel.Define(word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefine(word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise7.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result) { + return base.Channel.EndDefine(result); + } + + private System.IAsyncResult OnBeginDefine(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + return this.BeginDefine(word, callback, asyncState); + } + + private object[] OnEndDefine(System.IAsyncResult result) { + Excercise7.DictionarySuggestService.WordDefinition retVal = this.EndDefine(result); + return new object[] { + retVal}; + } + + private void OnDefineCompleted(object state) { + if ((this.DefineCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineCompleted(this, new DefineCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineAsync(string word) { + this.DefineAsync(word, null); + } + + public void DefineAsync(string word, object userState) { + if ((this.onBeginDefineDelegate == null)) { + this.onBeginDefineDelegate = new BeginOperationDelegate(this.OnBeginDefine); + } + if ((this.onEndDefineDelegate == null)) { + this.onEndDefineDelegate = new EndOperationDelegate(this.OnEndDefine); + } + if ((this.onDefineCompletedDelegate == null)) { + this.onDefineCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineCompleted); + } + base.InvokeAsync(this.onBeginDefineDelegate, new object[] { + word}, this.onEndDefineDelegate, this.onDefineCompletedDelegate, userState); + } + + public Excercise7.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word) { + return base.Channel.DefineInDict(dictId, word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefineInDict(dictId, word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise7.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result) { + return base.Channel.EndDefineInDict(result); + } + + private System.IAsyncResult OnBeginDefineInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + return this.BeginDefineInDict(dictId, word, callback, asyncState); + } + + private object[] OnEndDefineInDict(System.IAsyncResult result) { + Excercise7.DictionarySuggestService.WordDefinition retVal = this.EndDefineInDict(result); + return new object[] { + retVal}; + } + + private void OnDefineInDictCompleted(object state) { + if ((this.DefineInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineInDictCompleted(this, new DefineInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineInDictAsync(string dictId, string word) { + this.DefineInDictAsync(dictId, word, null); + } + + public void DefineInDictAsync(string dictId, string word, object userState) { + if ((this.onBeginDefineInDictDelegate == null)) { + this.onBeginDefineInDictDelegate = new BeginOperationDelegate(this.OnBeginDefineInDict); + } + if ((this.onEndDefineInDictDelegate == null)) { + this.onEndDefineInDictDelegate = new EndOperationDelegate(this.OnEndDefineInDict); + } + if ((this.onDefineInDictCompletedDelegate == null)) { + this.onDefineInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineInDictCompleted); + } + base.InvokeAsync(this.onBeginDefineInDictDelegate, new object[] { + dictId, + word}, this.onEndDefineInDictDelegate, this.onDefineInDictCompletedDelegate, userState); + } + + public Strategy[] StrategyList() { + return base.Channel.StrategyList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginStrategyList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Strategy[] EndStrategyList(System.IAsyncResult result) { + return base.Channel.EndStrategyList(result); + } + + private System.IAsyncResult OnBeginStrategyList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginStrategyList(callback, asyncState); + } + + private object[] OnEndStrategyList(System.IAsyncResult result) { + Strategy[] retVal = this.EndStrategyList(result); + return new object[] { + retVal}; + } + + private void OnStrategyListCompleted(object state) { + if ((this.StrategyListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.StrategyListCompleted(this, new StrategyListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void StrategyListAsync() { + this.StrategyListAsync(null); + } + + public void StrategyListAsync(object userState) { + if ((this.onBeginStrategyListDelegate == null)) { + this.onBeginStrategyListDelegate = new BeginOperationDelegate(this.OnBeginStrategyList); + } + if ((this.onEndStrategyListDelegate == null)) { + this.onEndStrategyListDelegate = new EndOperationDelegate(this.OnEndStrategyList); + } + if ((this.onStrategyListCompletedDelegate == null)) { + this.onStrategyListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStrategyListCompleted); + } + base.InvokeAsync(this.onBeginStrategyListDelegate, null, this.onEndStrategyListDelegate, this.onStrategyListCompletedDelegate, userState); + } + + public DictionaryWord[] Match(string word, string strategy) { + return base.Channel.Match(word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatch(word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatch(System.IAsyncResult result) { + return base.Channel.EndMatch(result); + } + + private System.IAsyncResult OnBeginMatch(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + string strategy = ((string)(inValues[1])); + return this.BeginMatch(word, strategy, callback, asyncState); + } + + private object[] OnEndMatch(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatch(result); + return new object[] { + retVal}; + } + + private void OnMatchCompleted(object state) { + if ((this.MatchCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchCompleted(this, new MatchCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchAsync(string word, string strategy) { + this.MatchAsync(word, strategy, null); + } + + public void MatchAsync(string word, string strategy, object userState) { + if ((this.onBeginMatchDelegate == null)) { + this.onBeginMatchDelegate = new BeginOperationDelegate(this.OnBeginMatch); + } + if ((this.onEndMatchDelegate == null)) { + this.onEndMatchDelegate = new EndOperationDelegate(this.OnEndMatch); + } + if ((this.onMatchCompletedDelegate == null)) { + this.onMatchCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchCompleted); + } + base.InvokeAsync(this.onBeginMatchDelegate, new object[] { + word, + strategy}, this.onEndMatchDelegate, this.onMatchCompletedDelegate, userState); + } + + public DictionaryWord[] MatchInDict(string dictId, string word, string strategy) { + return base.Channel.MatchInDict(dictId, word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatchInDict(System.IAsyncResult result) { + return base.Channel.EndMatchInDict(result); + } + + private System.IAsyncResult OnBeginMatchInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + string strategy = ((string)(inValues[2])); + return this.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + private object[] OnEndMatchInDict(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatchInDict(result); + return new object[] { + retVal}; + } + + private void OnMatchInDictCompleted(object state) { + if ((this.MatchInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchInDictCompleted(this, new MatchInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchInDictAsync(string dictId, string word, string strategy) { + this.MatchInDictAsync(dictId, word, strategy, null); + } + + public void MatchInDictAsync(string dictId, string word, string strategy, object userState) { + if ((this.onBeginMatchInDictDelegate == null)) { + this.onBeginMatchInDictDelegate = new BeginOperationDelegate(this.OnBeginMatchInDict); + } + if ((this.onEndMatchInDictDelegate == null)) { + this.onEndMatchInDictDelegate = new EndOperationDelegate(this.OnEndMatchInDict); + } + if ((this.onMatchInDictCompletedDelegate == null)) { + this.onMatchInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchInDictCompleted); + } + base.InvokeAsync(this.onBeginMatchInDictDelegate, new object[] { + dictId, + word, + strategy}, this.onEndMatchInDictDelegate, this.onMatchInDictCompletedDelegate, userState); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/Reference.svcmap b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/Reference.svcmap new file mode 100644 index 0000000..d7c3633 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/Reference.svcmap @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="e38186f9-cfd7-4334-881c-63618db94b50" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap"> + <ClientOptions> + <GenerateAsynchronousMethods>true</GenerateAsynchronousMethods> + <EnableDataBinding>true</EnableDataBinding> + <ExcludedTypes /> + <ImportXmlTypes>false</ImportXmlTypes> + <GenerateInternalTypes>false</GenerateInternalTypes> + <GenerateMessageContracts>false</GenerateMessageContracts> + <NamespaceMappings /> + <CollectionMappings /> + <GenerateSerializableTypes>true</GenerateSerializableTypes> + <Serializer>Auto</Serializer> + <UseSerializerForFaults>true</UseSerializerForFaults> + <ReferenceAllAssemblies>true</ReferenceAllAssemblies> + <ReferencedAssemblies /> + <ReferencedDataContractTypes /> + <ServiceContractMappings /> + </ClientOptions> + <MetadataSources> + <MetadataSource Address="http://services.aonaware.com/DictService/DictService.asmx" Protocol="http" SourceId="1" /> + </MetadataSources> + <Metadata> + <MetadataFile FileName="DictService.disco" MetadataType="Disco" ID="87064546-562f-40b9-899f-e2020c598914" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?disco" /> + <MetadataFile FileName="DictService.wsdl" MetadataType="Wsdl" ID="743bb2fa-2b60-444b-b1f3-ac2dc4a01af9" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?wsdl" /> + </Metadata> + <Extensions> + <ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" /> + <ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" /> + </Extensions> +</ReferenceGroup>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/configuration.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/configuration.svcinfo new file mode 100644 index 0000000..a856d3d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/configuration.svcinfo @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot"> + <behaviors /> + <bindings> + <binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" messageEncoding="Text" name="DictServiceSoap" textEncoding="utf-8" transferMode="Buffered"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /><security mode="None"><message algorithmSuite="Default" clientCredentialType="UserName" /><transport clientCredentialType="None" proxyCredentialType="None" realm="" /></security></Data>" bindingType="basicHttpBinding" name="DictServiceSoap" /> + <binding digest="System.ServiceModel.Configuration.CustomBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="DictServiceSoap12"><httpTransport allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" manualAddressing="false" maxBufferPoolSize="524288" maxBufferSize="65536" maxReceivedMessageSize="65536" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" /><textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap12" writeEncoding="utf-8"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /></textMessageEncoding></Data>" bindingType="customBinding" name="DictServiceSoap12" /> + </bindings> + <endpoints> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </endpoints> +</configurationSnapshot>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/configuration91.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/configuration91.svcinfo new file mode 100644 index 0000000..2599177 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/Service References/DictionarySuggestService/configuration91.svcinfo @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="Cb1mlQVfrIvXhoWXP+TpwPhxgGY="> + <bindingConfigurations> + <bindingConfiguration bindingType="basicHttpBinding" name="DictServiceSoap"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:10:00</serializedValue> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Text</serializedValue> + </property> + <property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue> + </property> + <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue> + </property> + <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + <property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue> + </property> + <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>UserName</serializedValue> + </property> + <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Default</serializedValue> + </property> + <property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + </properties> + </bindingConfiguration> + <bindingConfiguration bindingType="customBinding" name="DictServiceSoap12"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/textMessageEncoding" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TextMessageEncodingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.TextMessageEncodingElement</serializedValue> + </property> + <property path="/textMessageEncoding/maxReadPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>64</serializedValue> + </property> + <property path="/textMessageEncoding/maxWritePoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16</serializedValue> + </property> + <property path="/textMessageEncoding/messageVersion" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.MessageVersion, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Soap12</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/writeEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/httpTransport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportElement</serializedValue> + </property> + <property path="/httpTransport/manualAddressing" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/httpTransport/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/authenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/decompressionEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/httpTransport/keepAliveEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/proxyAddress" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/proxyAuthenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/httpTransport/unsafeConnectionNtlmAuthentication" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + </properties> + </bindingConfiguration> + </bindingConfigurations> + <endpoints> + <endpoint name="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" bindingType="basicHttpBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>basicHttpBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + <endpoint name="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" bindingType="customBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap12"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>customBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + </endpoints> +</SavedWcfConfigurationInformation>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step02/app.config b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/app.config new file mode 100644 index 0000000..cf1770f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step02/app.config @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <system.serviceModel> + <bindings> + <basicHttpBinding> + <binding name="DictServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" + receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" + bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" + maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" + messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" + useDefaultWebProxy="true"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + <security mode="None"> + <transport clientCredentialType="None" proxyCredentialType="None" + realm="" /> + <message clientCredentialType="UserName" algorithmSuite="Default" /> + </security> + </binding> + </basicHttpBinding> + <customBinding> + <binding name="DictServiceSoap12"> + <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" + messageVersion="Soap12" writeEncoding="utf-8"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + </textMessageEncoding> + <httpTransport manualAddressing="false" maxBufferPoolSize="524288" + maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous" + bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" + keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous" + realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" + useDefaultWebProxy="true" /> + </binding> + </customBinding> + </bindings> + <client> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="customBinding" bindingConfiguration="DictServiceSoap12" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </client> + </system.serviceModel> +</configuration>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Excercise7.csproj b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Excercise7.csproj new file mode 100644 index 0000000..134e232 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Excercise7.csproj @@ -0,0 +1,104 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{467BA4F7-AD14-4419-A4AD-B0A78F13912E}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise7</RootNamespace> + <AssemblyName>Excercise7</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.ServiceModel" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Service References\DictionarySuggestService\Reference.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Reference.svcmap</DependentUpon> + </Compile> + </ItemGroup> + <ItemGroup> + <WCFMetadata Include="Service References\" /> + </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + <None Include="Service References\DictionarySuggestService\DictService.wsdl" /> + <None Include="Service References\DictionarySuggestService\Excercise7.DictionarySuggestService.Dictionary.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise7.DictionarySuggestService.DictionaryWord.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise7.DictionarySuggestService.Strategy.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise7.DictionarySuggestService.WordDefinition.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + </ItemGroup> + <ItemGroup> + <WCFMetadataStorage Include="Service References\DictionarySuggestService\" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\DictService.disco" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration91.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\Reference.svcmap"> + <Generator>WCF Proxy Generator</Generator> + <LastGenOutput>Reference.cs</LastGenOutput> + </None> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Excercise7.sln b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Excercise7.sln new file mode 100644 index 0000000..e45118f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Excercise7.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise7", "Excercise7.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Program.cs new file mode 100644 index 0000000..6e1f842 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Program.cs @@ -0,0 +1,28 @@ +using System; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; +using Excercise7.DictionarySuggestService; + +namespace Excercise7 +{ + class Program + { + static void Main() + { + var svc = new DictServiceSoapClient("DictServiceSoap"); + svc.BeginMatchInDict("wn", "react", "prefix", + iar => + { + var words = svc.EndMatchInDict(iar); + foreach (var word in words) + Console.WriteLine(word.Word); + }, + null + ); + + Console.ReadLine(); + + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..c07d001 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise7")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise7")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/DictService.disco b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/DictService.disco new file mode 100644 index 0000000..d8b4769 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/DictService.disco @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> + <contractRef ref="http://services.aonaware.com/DictService/DictService.asmx?wsdl" docRef="http://services.aonaware.com/DictService/DictService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q1="http://services.aonaware.com/webservices/" binding="q1:DictServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q2="http://services.aonaware.com/webservices/" binding="q2:DictServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> +</discovery>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/DictService.wsdl b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/DictService.wsdl new file mode 100644 index 0000000..72a8189 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/DictService.wsdl @@ -0,0 +1,824 @@ +<?xml version="1.0" encoding="utf-8"?> +<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://services.aonaware.com/webservices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://services.aonaware.com/webservices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:types> + <s:schema elementFormDefault="qualified" targetNamespace="http://services.aonaware.com/webservices/"> + <s:element name="ServerInfo"> + <s:complexType /> + </s:element> + <s:element name="ServerInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="ServerInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryList"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Dictionary" nillable="true" type="tns:Dictionary" /> + </s:sequence> + </s:complexType> + <s:complexType name="Dictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DictionaryListExtended"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListExtendedResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListExtendedResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfo"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="Define"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="WordDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Definitions" type="tns:ArrayOfDefinition" /> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Definition" nillable="true" type="tns:Definition" /> + </s:sequence> + </s:complexType> + <s:complexType name="Definition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Dictionary" type="tns:Dictionary" /> + <s:element minOccurs="0" maxOccurs="1" name="WordDefinition" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DefineInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineInDictResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="StrategyList"> + <s:complexType /> + </s:element> + <s:element name="StrategyListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="StrategyListResult" type="tns:ArrayOfStrategy" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfStrategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Strategy" nillable="true" type="tns:Strategy" /> + </s:sequence> + </s:complexType> + <s:complexType name="Strategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="Match"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="DictionaryWord" nillable="true" type="tns:DictionaryWord" /> + </s:sequence> + </s:complexType> + <s:complexType name="DictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="MatchInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchInDictResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="string" nillable="true" type="s:string" /> + <s:element name="ArrayOfDictionary" nillable="true" type="tns:ArrayOfDictionary" /> + <s:element name="WordDefinition" nillable="true" type="tns:WordDefinition" /> + <s:element name="ArrayOfStrategy" nillable="true" type="tns:ArrayOfStrategy" /> + <s:element name="ArrayOfDictionaryWord" nillable="true" type="tns:ArrayOfDictionaryWord" /> + </s:schema> + </wsdl:types> + <wsdl:message name="ServerInfoSoapIn"> + <wsdl:part name="parameters" element="tns:ServerInfo" /> + </wsdl:message> + <wsdl:message name="ServerInfoSoapOut"> + <wsdl:part name="parameters" element="tns:ServerInfoResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryList" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryListExtended" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListExtendedResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryInfo" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryInfoResponse" /> + </wsdl:message> + <wsdl:message name="DefineSoapIn"> + <wsdl:part name="parameters" element="tns:Define" /> + </wsdl:message> + <wsdl:message name="DefineSoapOut"> + <wsdl:part name="parameters" element="tns:DefineResponse" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapIn"> + <wsdl:part name="parameters" element="tns:DefineInDict" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapOut"> + <wsdl:part name="parameters" element="tns:DefineInDictResponse" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapIn"> + <wsdl:part name="parameters" element="tns:StrategyList" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapOut"> + <wsdl:part name="parameters" element="tns:StrategyListResponse" /> + </wsdl:message> + <wsdl:message name="MatchSoapIn"> + <wsdl:part name="parameters" element="tns:Match" /> + </wsdl:message> + <wsdl:message name="MatchSoapOut"> + <wsdl:part name="parameters" element="tns:MatchResponse" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapIn"> + <wsdl:part name="parameters" element="tns:MatchInDict" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapOut"> + <wsdl:part name="parameters" element="tns:MatchInDictResponse" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpGetIn" /> + <wsdl:message name="ServerInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpGetIn" /> + <wsdl:message name="DictionaryListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpGetIn" /> + <wsdl:message name="DictionaryListExtendedHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpGetIn" /> + <wsdl:message name="StrategyListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpPostIn" /> + <wsdl:message name="ServerInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpPostIn" /> + <wsdl:message name="DictionaryListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpPostIn" /> + <wsdl:message name="DictionaryListExtendedHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpPostIn" /> + <wsdl:message name="StrategyListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:portType name="DictServiceSoap"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoSoapIn" /> + <wsdl:output message="tns:ServerInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListSoapIn" /> + <wsdl:output message="tns:DictionaryListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedSoapIn" /> + <wsdl:output message="tns:DictionaryListExtendedSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoSoapIn" /> + <wsdl:output message="tns:DictionaryInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineSoapIn" /> + <wsdl:output message="tns:DefineSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictSoapIn" /> + <wsdl:output message="tns:DefineInDictSoapOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListSoapIn" /> + <wsdl:output message="tns:StrategyListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchSoapIn" /> + <wsdl:output message="tns:MatchSoapOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictSoapIn" /> + <wsdl:output message="tns:MatchInDictSoapOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpGet"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpGetIn" /> + <wsdl:output message="tns:ServerInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpGetIn" /> + <wsdl:output message="tns:DictionaryListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpGetIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpGetIn" /> + <wsdl:output message="tns:DictionaryInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpGetIn" /> + <wsdl:output message="tns:DefineHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpGetIn" /> + <wsdl:output message="tns:DefineInDictHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpGetIn" /> + <wsdl:output message="tns:StrategyListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpGetIn" /> + <wsdl:output message="tns:MatchHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpGetIn" /> + <wsdl:output message="tns:MatchInDictHttpGetOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpPost"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpPostIn" /> + <wsdl:output message="tns:ServerInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpPostIn" /> + <wsdl:output message="tns:DictionaryListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpPostIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpPostIn" /> + <wsdl:output message="tns:DictionaryInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpPostIn" /> + <wsdl:output message="tns:DefineHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpPostIn" /> + <wsdl:output message="tns:DefineInDictHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpPostIn" /> + <wsdl:output message="tns:StrategyListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpPostIn" /> + <wsdl:output message="tns:MatchHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpPostIn" /> + <wsdl:output message="tns:MatchInDictHttpPostOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="DictServiceSoap" type="tns:DictServiceSoap"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" 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="DictServiceSoap12" type="tns:DictServiceSoap"> + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpGet" type="tns:DictServiceHttpGet"> + <http:binding verb="GET" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpPost" type="tns:DictServiceHttpPost"> + <http:binding verb="POST" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="DictService"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:port name="DictServiceSoap" binding="tns:DictServiceSoap"> + <soap:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceSoap12" binding="tns:DictServiceSoap12"> + <soap12:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpGet" binding="tns:DictServiceHttpGet"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpPost" binding="tns:DictServiceHttpPost"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + </wsdl:service> +</wsdl:definitions>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Dictionary.datasource b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Dictionary.datasource new file mode 100644 index 0000000..eeea716 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Dictionary.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Dictionary" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise7.DictionarySuggestService.Dictionary, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.DictionaryWord.datasource b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.DictionaryWord.datasource new file mode 100644 index 0000000..599aaa5 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.DictionaryWord.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="DictionaryWord" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise7.DictionarySuggestService.DictionaryWord, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Strategy.datasource b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Strategy.datasource new file mode 100644 index 0000000..a20e8f2 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Strategy.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Strategy" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise7.DictionarySuggestService.Strategy, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.WordDefinition.datasource b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.WordDefinition.datasource new file mode 100644 index 0000000..a1ec774 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.WordDefinition.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="WordDefinition" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise7.DictionarySuggestService.WordDefinition, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/Reference.cs b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/Reference.cs new file mode 100644 index 0000000..d7ded3c --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/Reference.cs @@ -0,0 +1,1064 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.431 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace Excercise7.DictionarySuggestService { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://services.aonaware.com/webservices/", ConfigurationName="DictionarySuggestService.DictServiceSoap")] + public interface DictServiceSoap { + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string ServerInfo(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState); + + string EndServerInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryListExtended(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryListExtended(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string DictionaryInfo(string dictId); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState); + + string EndDictionaryInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise7.DictionarySuggestService.WordDefinition Define(string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState); + + Excercise7.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise7.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState); + + Excercise7.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Strategy[] StrategyList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState); + + Strategy[] EndStrategyList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] Match(string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatch(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] MatchInDict(string dictId, string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatchInDict(System.IAsyncResult result); + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Dictionary : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string nameField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class DictionaryWord : object, System.ComponentModel.INotifyPropertyChanged { + + private string dictionaryIdField; + + private string wordField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string DictionaryId { + get { + return this.dictionaryIdField; + } + set { + this.dictionaryIdField = value; + this.RaisePropertyChanged("DictionaryId"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Strategy : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string descriptionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Definition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Dictionary dictionaryField; + + private string wordDefinitionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public Dictionary Dictionary { + get { + return this.dictionaryField; + } + set { + this.dictionaryField = value; + this.RaisePropertyChanged("Dictionary"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string WordDefinition { + get { + return this.wordDefinitionField; + } + set { + this.wordDefinitionField = value; + this.RaisePropertyChanged("WordDefinition"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class WordDefinition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Definition[] definitionsField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public Definition[] Definitions { + get { + return this.definitionsField; + } + set { + this.definitionsField = value; + this.RaisePropertyChanged("Definitions"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface DictServiceSoapChannel : Excercise7.DictionarySuggestService.DictServiceSoap, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class ServerInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public ServerInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListExtendedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListExtendedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise7.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise7.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise7.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise7.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class StrategyListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public StrategyListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Strategy[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Strategy[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictServiceSoapClient : System.ServiceModel.ClientBase<Excercise7.DictionarySuggestService.DictServiceSoap>, Excercise7.DictionarySuggestService.DictServiceSoap { + + private BeginOperationDelegate onBeginServerInfoDelegate; + + private EndOperationDelegate onEndServerInfoDelegate; + + private System.Threading.SendOrPostCallback onServerInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListDelegate; + + private EndOperationDelegate onEndDictionaryListDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListExtendedDelegate; + + private EndOperationDelegate onEndDictionaryListExtendedDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListExtendedCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryInfoDelegate; + + private EndOperationDelegate onEndDictionaryInfoDelegate; + + private System.Threading.SendOrPostCallback onDictionaryInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDefineDelegate; + + private EndOperationDelegate onEndDefineDelegate; + + private System.Threading.SendOrPostCallback onDefineCompletedDelegate; + + private BeginOperationDelegate onBeginDefineInDictDelegate; + + private EndOperationDelegate onEndDefineInDictDelegate; + + private System.Threading.SendOrPostCallback onDefineInDictCompletedDelegate; + + private BeginOperationDelegate onBeginStrategyListDelegate; + + private EndOperationDelegate onEndStrategyListDelegate; + + private System.Threading.SendOrPostCallback onStrategyListCompletedDelegate; + + private BeginOperationDelegate onBeginMatchDelegate; + + private EndOperationDelegate onEndMatchDelegate; + + private System.Threading.SendOrPostCallback onMatchCompletedDelegate; + + private BeginOperationDelegate onBeginMatchInDictDelegate; + + private EndOperationDelegate onEndMatchInDictDelegate; + + private System.Threading.SendOrPostCallback onMatchInDictCompletedDelegate; + + public DictServiceSoapClient() { + } + + public DictServiceSoapClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public DictServiceSoapClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + public event System.EventHandler<ServerInfoCompletedEventArgs> ServerInfoCompleted; + + public event System.EventHandler<DictionaryListCompletedEventArgs> DictionaryListCompleted; + + public event System.EventHandler<DictionaryListExtendedCompletedEventArgs> DictionaryListExtendedCompleted; + + public event System.EventHandler<DictionaryInfoCompletedEventArgs> DictionaryInfoCompleted; + + public event System.EventHandler<DefineCompletedEventArgs> DefineCompleted; + + public event System.EventHandler<DefineInDictCompletedEventArgs> DefineInDictCompleted; + + public event System.EventHandler<StrategyListCompletedEventArgs> StrategyListCompleted; + + public event System.EventHandler<MatchCompletedEventArgs> MatchCompleted; + + public event System.EventHandler<MatchInDictCompletedEventArgs> MatchInDictCompleted; + + public string ServerInfo() { + return base.Channel.ServerInfo(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginServerInfo(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndServerInfo(System.IAsyncResult result) { + return base.Channel.EndServerInfo(result); + } + + private System.IAsyncResult OnBeginServerInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginServerInfo(callback, asyncState); + } + + private object[] OnEndServerInfo(System.IAsyncResult result) { + string retVal = this.EndServerInfo(result); + return new object[] { + retVal}; + } + + private void OnServerInfoCompleted(object state) { + if ((this.ServerInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.ServerInfoCompleted(this, new ServerInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void ServerInfoAsync() { + this.ServerInfoAsync(null); + } + + public void ServerInfoAsync(object userState) { + if ((this.onBeginServerInfoDelegate == null)) { + this.onBeginServerInfoDelegate = new BeginOperationDelegate(this.OnBeginServerInfo); + } + if ((this.onEndServerInfoDelegate == null)) { + this.onEndServerInfoDelegate = new EndOperationDelegate(this.OnEndServerInfo); + } + if ((this.onServerInfoCompletedDelegate == null)) { + this.onServerInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnServerInfoCompleted); + } + base.InvokeAsync(this.onBeginServerInfoDelegate, null, this.onEndServerInfoDelegate, this.onServerInfoCompletedDelegate, userState); + } + + public Dictionary[] DictionaryList() { + return base.Channel.DictionaryList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryList(System.IAsyncResult result) { + return base.Channel.EndDictionaryList(result); + } + + private System.IAsyncResult OnBeginDictionaryList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryList(callback, asyncState); + } + + private object[] OnEndDictionaryList(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryList(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListCompleted(object state) { + if ((this.DictionaryListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListCompleted(this, new DictionaryListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListAsync() { + this.DictionaryListAsync(null); + } + + public void DictionaryListAsync(object userState) { + if ((this.onBeginDictionaryListDelegate == null)) { + this.onBeginDictionaryListDelegate = new BeginOperationDelegate(this.OnBeginDictionaryList); + } + if ((this.onEndDictionaryListDelegate == null)) { + this.onEndDictionaryListDelegate = new EndOperationDelegate(this.OnEndDictionaryList); + } + if ((this.onDictionaryListCompletedDelegate == null)) { + this.onDictionaryListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListDelegate, null, this.onEndDictionaryListDelegate, this.onDictionaryListCompletedDelegate, userState); + } + + public Dictionary[] DictionaryListExtended() { + return base.Channel.DictionaryListExtended(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryListExtended(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryListExtended(System.IAsyncResult result) { + return base.Channel.EndDictionaryListExtended(result); + } + + private System.IAsyncResult OnBeginDictionaryListExtended(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryListExtended(callback, asyncState); + } + + private object[] OnEndDictionaryListExtended(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryListExtended(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListExtendedCompleted(object state) { + if ((this.DictionaryListExtendedCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListExtendedCompleted(this, new DictionaryListExtendedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListExtendedAsync() { + this.DictionaryListExtendedAsync(null); + } + + public void DictionaryListExtendedAsync(object userState) { + if ((this.onBeginDictionaryListExtendedDelegate == null)) { + this.onBeginDictionaryListExtendedDelegate = new BeginOperationDelegate(this.OnBeginDictionaryListExtended); + } + if ((this.onEndDictionaryListExtendedDelegate == null)) { + this.onEndDictionaryListExtendedDelegate = new EndOperationDelegate(this.OnEndDictionaryListExtended); + } + if ((this.onDictionaryListExtendedCompletedDelegate == null)) { + this.onDictionaryListExtendedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListExtendedCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListExtendedDelegate, null, this.onEndDictionaryListExtendedDelegate, this.onDictionaryListExtendedCompletedDelegate, userState); + } + + public string DictionaryInfo(string dictId) { + return base.Channel.DictionaryInfo(dictId); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryInfo(dictId, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndDictionaryInfo(System.IAsyncResult result) { + return base.Channel.EndDictionaryInfo(result); + } + + private System.IAsyncResult OnBeginDictionaryInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + return this.BeginDictionaryInfo(dictId, callback, asyncState); + } + + private object[] OnEndDictionaryInfo(System.IAsyncResult result) { + string retVal = this.EndDictionaryInfo(result); + return new object[] { + retVal}; + } + + private void OnDictionaryInfoCompleted(object state) { + if ((this.DictionaryInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryInfoCompleted(this, new DictionaryInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryInfoAsync(string dictId) { + this.DictionaryInfoAsync(dictId, null); + } + + public void DictionaryInfoAsync(string dictId, object userState) { + if ((this.onBeginDictionaryInfoDelegate == null)) { + this.onBeginDictionaryInfoDelegate = new BeginOperationDelegate(this.OnBeginDictionaryInfo); + } + if ((this.onEndDictionaryInfoDelegate == null)) { + this.onEndDictionaryInfoDelegate = new EndOperationDelegate(this.OnEndDictionaryInfo); + } + if ((this.onDictionaryInfoCompletedDelegate == null)) { + this.onDictionaryInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryInfoCompleted); + } + base.InvokeAsync(this.onBeginDictionaryInfoDelegate, new object[] { + dictId}, this.onEndDictionaryInfoDelegate, this.onDictionaryInfoCompletedDelegate, userState); + } + + public Excercise7.DictionarySuggestService.WordDefinition Define(string word) { + return base.Channel.Define(word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefine(word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise7.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result) { + return base.Channel.EndDefine(result); + } + + private System.IAsyncResult OnBeginDefine(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + return this.BeginDefine(word, callback, asyncState); + } + + private object[] OnEndDefine(System.IAsyncResult result) { + Excercise7.DictionarySuggestService.WordDefinition retVal = this.EndDefine(result); + return new object[] { + retVal}; + } + + private void OnDefineCompleted(object state) { + if ((this.DefineCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineCompleted(this, new DefineCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineAsync(string word) { + this.DefineAsync(word, null); + } + + public void DefineAsync(string word, object userState) { + if ((this.onBeginDefineDelegate == null)) { + this.onBeginDefineDelegate = new BeginOperationDelegate(this.OnBeginDefine); + } + if ((this.onEndDefineDelegate == null)) { + this.onEndDefineDelegate = new EndOperationDelegate(this.OnEndDefine); + } + if ((this.onDefineCompletedDelegate == null)) { + this.onDefineCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineCompleted); + } + base.InvokeAsync(this.onBeginDefineDelegate, new object[] { + word}, this.onEndDefineDelegate, this.onDefineCompletedDelegate, userState); + } + + public Excercise7.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word) { + return base.Channel.DefineInDict(dictId, word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefineInDict(dictId, word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise7.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result) { + return base.Channel.EndDefineInDict(result); + } + + private System.IAsyncResult OnBeginDefineInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + return this.BeginDefineInDict(dictId, word, callback, asyncState); + } + + private object[] OnEndDefineInDict(System.IAsyncResult result) { + Excercise7.DictionarySuggestService.WordDefinition retVal = this.EndDefineInDict(result); + return new object[] { + retVal}; + } + + private void OnDefineInDictCompleted(object state) { + if ((this.DefineInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineInDictCompleted(this, new DefineInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineInDictAsync(string dictId, string word) { + this.DefineInDictAsync(dictId, word, null); + } + + public void DefineInDictAsync(string dictId, string word, object userState) { + if ((this.onBeginDefineInDictDelegate == null)) { + this.onBeginDefineInDictDelegate = new BeginOperationDelegate(this.OnBeginDefineInDict); + } + if ((this.onEndDefineInDictDelegate == null)) { + this.onEndDefineInDictDelegate = new EndOperationDelegate(this.OnEndDefineInDict); + } + if ((this.onDefineInDictCompletedDelegate == null)) { + this.onDefineInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineInDictCompleted); + } + base.InvokeAsync(this.onBeginDefineInDictDelegate, new object[] { + dictId, + word}, this.onEndDefineInDictDelegate, this.onDefineInDictCompletedDelegate, userState); + } + + public Strategy[] StrategyList() { + return base.Channel.StrategyList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginStrategyList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Strategy[] EndStrategyList(System.IAsyncResult result) { + return base.Channel.EndStrategyList(result); + } + + private System.IAsyncResult OnBeginStrategyList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginStrategyList(callback, asyncState); + } + + private object[] OnEndStrategyList(System.IAsyncResult result) { + Strategy[] retVal = this.EndStrategyList(result); + return new object[] { + retVal}; + } + + private void OnStrategyListCompleted(object state) { + if ((this.StrategyListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.StrategyListCompleted(this, new StrategyListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void StrategyListAsync() { + this.StrategyListAsync(null); + } + + public void StrategyListAsync(object userState) { + if ((this.onBeginStrategyListDelegate == null)) { + this.onBeginStrategyListDelegate = new BeginOperationDelegate(this.OnBeginStrategyList); + } + if ((this.onEndStrategyListDelegate == null)) { + this.onEndStrategyListDelegate = new EndOperationDelegate(this.OnEndStrategyList); + } + if ((this.onStrategyListCompletedDelegate == null)) { + this.onStrategyListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStrategyListCompleted); + } + base.InvokeAsync(this.onBeginStrategyListDelegate, null, this.onEndStrategyListDelegate, this.onStrategyListCompletedDelegate, userState); + } + + public DictionaryWord[] Match(string word, string strategy) { + return base.Channel.Match(word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatch(word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatch(System.IAsyncResult result) { + return base.Channel.EndMatch(result); + } + + private System.IAsyncResult OnBeginMatch(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + string strategy = ((string)(inValues[1])); + return this.BeginMatch(word, strategy, callback, asyncState); + } + + private object[] OnEndMatch(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatch(result); + return new object[] { + retVal}; + } + + private void OnMatchCompleted(object state) { + if ((this.MatchCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchCompleted(this, new MatchCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchAsync(string word, string strategy) { + this.MatchAsync(word, strategy, null); + } + + public void MatchAsync(string word, string strategy, object userState) { + if ((this.onBeginMatchDelegate == null)) { + this.onBeginMatchDelegate = new BeginOperationDelegate(this.OnBeginMatch); + } + if ((this.onEndMatchDelegate == null)) { + this.onEndMatchDelegate = new EndOperationDelegate(this.OnEndMatch); + } + if ((this.onMatchCompletedDelegate == null)) { + this.onMatchCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchCompleted); + } + base.InvokeAsync(this.onBeginMatchDelegate, new object[] { + word, + strategy}, this.onEndMatchDelegate, this.onMatchCompletedDelegate, userState); + } + + public DictionaryWord[] MatchInDict(string dictId, string word, string strategy) { + return base.Channel.MatchInDict(dictId, word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatchInDict(System.IAsyncResult result) { + return base.Channel.EndMatchInDict(result); + } + + private System.IAsyncResult OnBeginMatchInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + string strategy = ((string)(inValues[2])); + return this.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + private object[] OnEndMatchInDict(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatchInDict(result); + return new object[] { + retVal}; + } + + private void OnMatchInDictCompleted(object state) { + if ((this.MatchInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchInDictCompleted(this, new MatchInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchInDictAsync(string dictId, string word, string strategy) { + this.MatchInDictAsync(dictId, word, strategy, null); + } + + public void MatchInDictAsync(string dictId, string word, string strategy, object userState) { + if ((this.onBeginMatchInDictDelegate == null)) { + this.onBeginMatchInDictDelegate = new BeginOperationDelegate(this.OnBeginMatchInDict); + } + if ((this.onEndMatchInDictDelegate == null)) { + this.onEndMatchInDictDelegate = new EndOperationDelegate(this.OnEndMatchInDict); + } + if ((this.onMatchInDictCompletedDelegate == null)) { + this.onMatchInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchInDictCompleted); + } + base.InvokeAsync(this.onBeginMatchInDictDelegate, new object[] { + dictId, + word, + strategy}, this.onEndMatchInDictDelegate, this.onMatchInDictCompletedDelegate, userState); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/Reference.svcmap b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/Reference.svcmap new file mode 100644 index 0000000..d7c3633 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/Reference.svcmap @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="e38186f9-cfd7-4334-881c-63618db94b50" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap"> + <ClientOptions> + <GenerateAsynchronousMethods>true</GenerateAsynchronousMethods> + <EnableDataBinding>true</EnableDataBinding> + <ExcludedTypes /> + <ImportXmlTypes>false</ImportXmlTypes> + <GenerateInternalTypes>false</GenerateInternalTypes> + <GenerateMessageContracts>false</GenerateMessageContracts> + <NamespaceMappings /> + <CollectionMappings /> + <GenerateSerializableTypes>true</GenerateSerializableTypes> + <Serializer>Auto</Serializer> + <UseSerializerForFaults>true</UseSerializerForFaults> + <ReferenceAllAssemblies>true</ReferenceAllAssemblies> + <ReferencedAssemblies /> + <ReferencedDataContractTypes /> + <ServiceContractMappings /> + </ClientOptions> + <MetadataSources> + <MetadataSource Address="http://services.aonaware.com/DictService/DictService.asmx" Protocol="http" SourceId="1" /> + </MetadataSources> + <Metadata> + <MetadataFile FileName="DictService.disco" MetadataType="Disco" ID="87064546-562f-40b9-899f-e2020c598914" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?disco" /> + <MetadataFile FileName="DictService.wsdl" MetadataType="Wsdl" ID="743bb2fa-2b60-444b-b1f3-ac2dc4a01af9" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?wsdl" /> + </Metadata> + <Extensions> + <ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" /> + <ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" /> + </Extensions> +</ReferenceGroup>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/configuration.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/configuration.svcinfo new file mode 100644 index 0000000..a856d3d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/configuration.svcinfo @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot"> + <behaviors /> + <bindings> + <binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" messageEncoding="Text" name="DictServiceSoap" textEncoding="utf-8" transferMode="Buffered"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /><security mode="None"><message algorithmSuite="Default" clientCredentialType="UserName" /><transport clientCredentialType="None" proxyCredentialType="None" realm="" /></security></Data>" bindingType="basicHttpBinding" name="DictServiceSoap" /> + <binding digest="System.ServiceModel.Configuration.CustomBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="DictServiceSoap12"><httpTransport allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" manualAddressing="false" maxBufferPoolSize="524288" maxBufferSize="65536" maxReceivedMessageSize="65536" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" /><textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap12" writeEncoding="utf-8"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /></textMessageEncoding></Data>" bindingType="customBinding" name="DictServiceSoap12" /> + </bindings> + <endpoints> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </endpoints> +</configurationSnapshot>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/configuration91.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/configuration91.svcinfo new file mode 100644 index 0000000..2599177 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/Service References/DictionarySuggestService/configuration91.svcinfo @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="Cb1mlQVfrIvXhoWXP+TpwPhxgGY="> + <bindingConfigurations> + <bindingConfiguration bindingType="basicHttpBinding" name="DictServiceSoap"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:10:00</serializedValue> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Text</serializedValue> + </property> + <property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue> + </property> + <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue> + </property> + <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + <property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue> + </property> + <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>UserName</serializedValue> + </property> + <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Default</serializedValue> + </property> + <property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + </properties> + </bindingConfiguration> + <bindingConfiguration bindingType="customBinding" name="DictServiceSoap12"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/textMessageEncoding" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TextMessageEncodingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.TextMessageEncodingElement</serializedValue> + </property> + <property path="/textMessageEncoding/maxReadPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>64</serializedValue> + </property> + <property path="/textMessageEncoding/maxWritePoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16</serializedValue> + </property> + <property path="/textMessageEncoding/messageVersion" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.MessageVersion, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Soap12</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/writeEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/httpTransport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportElement</serializedValue> + </property> + <property path="/httpTransport/manualAddressing" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/httpTransport/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/authenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/decompressionEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/httpTransport/keepAliveEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/proxyAddress" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/proxyAuthenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/httpTransport/unsafeConnectionNtlmAuthentication" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + </properties> + </bindingConfiguration> + </bindingConfigurations> + <endpoints> + <endpoint name="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" bindingType="basicHttpBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>basicHttpBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + <endpoint name="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" bindingType="customBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap12"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>customBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + </endpoints> +</SavedWcfConfigurationInformation>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step03/app.config b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/app.config new file mode 100644 index 0000000..cf1770f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step03/app.config @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <system.serviceModel> + <bindings> + <basicHttpBinding> + <binding name="DictServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" + receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" + bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" + maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" + messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" + useDefaultWebProxy="true"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + <security mode="None"> + <transport clientCredentialType="None" proxyCredentialType="None" + realm="" /> + <message clientCredentialType="UserName" algorithmSuite="Default" /> + </security> + </binding> + </basicHttpBinding> + <customBinding> + <binding name="DictServiceSoap12"> + <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" + messageVersion="Soap12" writeEncoding="utf-8"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + </textMessageEncoding> + <httpTransport manualAddressing="false" maxBufferPoolSize="524288" + maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous" + bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" + keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous" + realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" + useDefaultWebProxy="true" /> + </binding> + </customBinding> + </bindings> + <client> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="customBinding" bindingConfiguration="DictServiceSoap12" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </client> + </system.serviceModel> +</configuration>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Excercise7.csproj b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Excercise7.csproj new file mode 100644 index 0000000..fd37e8f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Excercise7.csproj @@ -0,0 +1,104 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{4B010F9A-CA01-462A-A400-9478905CC4ED}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise7</RootNamespace> + <AssemblyName>Excercise7</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.ServiceModel" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Service References\DictionarySuggestService\Reference.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Reference.svcmap</DependentUpon> + </Compile> + </ItemGroup> + <ItemGroup> + <WCFMetadata Include="Service References\" /> + </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + <None Include="Service References\DictionarySuggestService\DictService.wsdl" /> + <None Include="Service References\DictionarySuggestService\Excercise7.DictionarySuggestService.Dictionary.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise7.DictionarySuggestService.DictionaryWord.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise7.DictionarySuggestService.Strategy.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise7.DictionarySuggestService.WordDefinition.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + </ItemGroup> + <ItemGroup> + <WCFMetadataStorage Include="Service References\DictionarySuggestService\" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\DictService.disco" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration91.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\Reference.svcmap"> + <Generator>WCF Proxy Generator</Generator> + <LastGenOutput>Reference.cs</LastGenOutput> + </None> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Excercise7.sln b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Excercise7.sln new file mode 100644 index 0000000..e45118f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Excercise7.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise7", "Excercise7.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Program.cs new file mode 100644 index 0000000..9cd5bdc --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Program.cs @@ -0,0 +1,28 @@ +using System; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; +using Excercise7.DictionarySuggestService; + +namespace Excercise7 +{ + class Program + { + static void Main() + { + var svc = new DictServiceSoapClient("DictServiceSoap"); + var matchInDict = Observable.FromAsyncPattern<string, string, string, DictionaryWord[]> + (svc.BeginMatchInDict, svc.EndMatchInDict); + + var res = matchInDict("wn", "react", "prefix"); + var subscription = res.Subscribe(words => + { + foreach (var word in words) + Console.WriteLine(word.Word); + }); + + Console.ReadLine(); + + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..c07d001 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise7")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise7")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/DictService.disco b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/DictService.disco new file mode 100644 index 0000000..d8b4769 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/DictService.disco @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> + <contractRef ref="http://services.aonaware.com/DictService/DictService.asmx?wsdl" docRef="http://services.aonaware.com/DictService/DictService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q1="http://services.aonaware.com/webservices/" binding="q1:DictServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q2="http://services.aonaware.com/webservices/" binding="q2:DictServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> +</discovery>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/DictService.wsdl b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/DictService.wsdl new file mode 100644 index 0000000..72a8189 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/DictService.wsdl @@ -0,0 +1,824 @@ +<?xml version="1.0" encoding="utf-8"?> +<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://services.aonaware.com/webservices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://services.aonaware.com/webservices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:types> + <s:schema elementFormDefault="qualified" targetNamespace="http://services.aonaware.com/webservices/"> + <s:element name="ServerInfo"> + <s:complexType /> + </s:element> + <s:element name="ServerInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="ServerInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryList"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Dictionary" nillable="true" type="tns:Dictionary" /> + </s:sequence> + </s:complexType> + <s:complexType name="Dictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DictionaryListExtended"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListExtendedResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListExtendedResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfo"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="Define"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="WordDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Definitions" type="tns:ArrayOfDefinition" /> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Definition" nillable="true" type="tns:Definition" /> + </s:sequence> + </s:complexType> + <s:complexType name="Definition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Dictionary" type="tns:Dictionary" /> + <s:element minOccurs="0" maxOccurs="1" name="WordDefinition" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DefineInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineInDictResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="StrategyList"> + <s:complexType /> + </s:element> + <s:element name="StrategyListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="StrategyListResult" type="tns:ArrayOfStrategy" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfStrategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Strategy" nillable="true" type="tns:Strategy" /> + </s:sequence> + </s:complexType> + <s:complexType name="Strategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="Match"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="DictionaryWord" nillable="true" type="tns:DictionaryWord" /> + </s:sequence> + </s:complexType> + <s:complexType name="DictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="MatchInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchInDictResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="string" nillable="true" type="s:string" /> + <s:element name="ArrayOfDictionary" nillable="true" type="tns:ArrayOfDictionary" /> + <s:element name="WordDefinition" nillable="true" type="tns:WordDefinition" /> + <s:element name="ArrayOfStrategy" nillable="true" type="tns:ArrayOfStrategy" /> + <s:element name="ArrayOfDictionaryWord" nillable="true" type="tns:ArrayOfDictionaryWord" /> + </s:schema> + </wsdl:types> + <wsdl:message name="ServerInfoSoapIn"> + <wsdl:part name="parameters" element="tns:ServerInfo" /> + </wsdl:message> + <wsdl:message name="ServerInfoSoapOut"> + <wsdl:part name="parameters" element="tns:ServerInfoResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryList" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryListExtended" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListExtendedResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryInfo" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryInfoResponse" /> + </wsdl:message> + <wsdl:message name="DefineSoapIn"> + <wsdl:part name="parameters" element="tns:Define" /> + </wsdl:message> + <wsdl:message name="DefineSoapOut"> + <wsdl:part name="parameters" element="tns:DefineResponse" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapIn"> + <wsdl:part name="parameters" element="tns:DefineInDict" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapOut"> + <wsdl:part name="parameters" element="tns:DefineInDictResponse" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapIn"> + <wsdl:part name="parameters" element="tns:StrategyList" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapOut"> + <wsdl:part name="parameters" element="tns:StrategyListResponse" /> + </wsdl:message> + <wsdl:message name="MatchSoapIn"> + <wsdl:part name="parameters" element="tns:Match" /> + </wsdl:message> + <wsdl:message name="MatchSoapOut"> + <wsdl:part name="parameters" element="tns:MatchResponse" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapIn"> + <wsdl:part name="parameters" element="tns:MatchInDict" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapOut"> + <wsdl:part name="parameters" element="tns:MatchInDictResponse" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpGetIn" /> + <wsdl:message name="ServerInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpGetIn" /> + <wsdl:message name="DictionaryListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpGetIn" /> + <wsdl:message name="DictionaryListExtendedHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpGetIn" /> + <wsdl:message name="StrategyListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpPostIn" /> + <wsdl:message name="ServerInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpPostIn" /> + <wsdl:message name="DictionaryListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpPostIn" /> + <wsdl:message name="DictionaryListExtendedHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpPostIn" /> + <wsdl:message name="StrategyListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:portType name="DictServiceSoap"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoSoapIn" /> + <wsdl:output message="tns:ServerInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListSoapIn" /> + <wsdl:output message="tns:DictionaryListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedSoapIn" /> + <wsdl:output message="tns:DictionaryListExtendedSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoSoapIn" /> + <wsdl:output message="tns:DictionaryInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineSoapIn" /> + <wsdl:output message="tns:DefineSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictSoapIn" /> + <wsdl:output message="tns:DefineInDictSoapOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListSoapIn" /> + <wsdl:output message="tns:StrategyListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchSoapIn" /> + <wsdl:output message="tns:MatchSoapOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictSoapIn" /> + <wsdl:output message="tns:MatchInDictSoapOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpGet"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpGetIn" /> + <wsdl:output message="tns:ServerInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpGetIn" /> + <wsdl:output message="tns:DictionaryListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpGetIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpGetIn" /> + <wsdl:output message="tns:DictionaryInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpGetIn" /> + <wsdl:output message="tns:DefineHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpGetIn" /> + <wsdl:output message="tns:DefineInDictHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpGetIn" /> + <wsdl:output message="tns:StrategyListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpGetIn" /> + <wsdl:output message="tns:MatchHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpGetIn" /> + <wsdl:output message="tns:MatchInDictHttpGetOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpPost"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpPostIn" /> + <wsdl:output message="tns:ServerInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpPostIn" /> + <wsdl:output message="tns:DictionaryListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpPostIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpPostIn" /> + <wsdl:output message="tns:DictionaryInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpPostIn" /> + <wsdl:output message="tns:DefineHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpPostIn" /> + <wsdl:output message="tns:DefineInDictHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpPostIn" /> + <wsdl:output message="tns:StrategyListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpPostIn" /> + <wsdl:output message="tns:MatchHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpPostIn" /> + <wsdl:output message="tns:MatchInDictHttpPostOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="DictServiceSoap" type="tns:DictServiceSoap"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" 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="DictServiceSoap12" type="tns:DictServiceSoap"> + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpGet" type="tns:DictServiceHttpGet"> + <http:binding verb="GET" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpPost" type="tns:DictServiceHttpPost"> + <http:binding verb="POST" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="DictService"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:port name="DictServiceSoap" binding="tns:DictServiceSoap"> + <soap:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceSoap12" binding="tns:DictServiceSoap12"> + <soap12:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpGet" binding="tns:DictServiceHttpGet"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpPost" binding="tns:DictServiceHttpPost"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + </wsdl:service> +</wsdl:definitions>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Dictionary.datasource b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Dictionary.datasource new file mode 100644 index 0000000..eeea716 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Dictionary.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Dictionary" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise7.DictionarySuggestService.Dictionary, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.DictionaryWord.datasource b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.DictionaryWord.datasource new file mode 100644 index 0000000..599aaa5 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.DictionaryWord.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="DictionaryWord" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise7.DictionarySuggestService.DictionaryWord, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Strategy.datasource b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Strategy.datasource new file mode 100644 index 0000000..a20e8f2 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Strategy.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Strategy" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise7.DictionarySuggestService.Strategy, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.WordDefinition.datasource b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.WordDefinition.datasource new file mode 100644 index 0000000..a1ec774 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.WordDefinition.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="WordDefinition" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise7.DictionarySuggestService.WordDefinition, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/Reference.cs b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/Reference.cs new file mode 100644 index 0000000..d7ded3c --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/Reference.cs @@ -0,0 +1,1064 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.431 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace Excercise7.DictionarySuggestService { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://services.aonaware.com/webservices/", ConfigurationName="DictionarySuggestService.DictServiceSoap")] + public interface DictServiceSoap { + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string ServerInfo(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState); + + string EndServerInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryListExtended(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryListExtended(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string DictionaryInfo(string dictId); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState); + + string EndDictionaryInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise7.DictionarySuggestService.WordDefinition Define(string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState); + + Excercise7.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise7.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState); + + Excercise7.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Strategy[] StrategyList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState); + + Strategy[] EndStrategyList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] Match(string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatch(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] MatchInDict(string dictId, string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatchInDict(System.IAsyncResult result); + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Dictionary : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string nameField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class DictionaryWord : object, System.ComponentModel.INotifyPropertyChanged { + + private string dictionaryIdField; + + private string wordField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string DictionaryId { + get { + return this.dictionaryIdField; + } + set { + this.dictionaryIdField = value; + this.RaisePropertyChanged("DictionaryId"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Strategy : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string descriptionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Definition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Dictionary dictionaryField; + + private string wordDefinitionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public Dictionary Dictionary { + get { + return this.dictionaryField; + } + set { + this.dictionaryField = value; + this.RaisePropertyChanged("Dictionary"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string WordDefinition { + get { + return this.wordDefinitionField; + } + set { + this.wordDefinitionField = value; + this.RaisePropertyChanged("WordDefinition"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class WordDefinition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Definition[] definitionsField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public Definition[] Definitions { + get { + return this.definitionsField; + } + set { + this.definitionsField = value; + this.RaisePropertyChanged("Definitions"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface DictServiceSoapChannel : Excercise7.DictionarySuggestService.DictServiceSoap, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class ServerInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public ServerInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListExtendedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListExtendedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise7.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise7.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise7.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise7.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class StrategyListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public StrategyListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Strategy[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Strategy[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictServiceSoapClient : System.ServiceModel.ClientBase<Excercise7.DictionarySuggestService.DictServiceSoap>, Excercise7.DictionarySuggestService.DictServiceSoap { + + private BeginOperationDelegate onBeginServerInfoDelegate; + + private EndOperationDelegate onEndServerInfoDelegate; + + private System.Threading.SendOrPostCallback onServerInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListDelegate; + + private EndOperationDelegate onEndDictionaryListDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListExtendedDelegate; + + private EndOperationDelegate onEndDictionaryListExtendedDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListExtendedCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryInfoDelegate; + + private EndOperationDelegate onEndDictionaryInfoDelegate; + + private System.Threading.SendOrPostCallback onDictionaryInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDefineDelegate; + + private EndOperationDelegate onEndDefineDelegate; + + private System.Threading.SendOrPostCallback onDefineCompletedDelegate; + + private BeginOperationDelegate onBeginDefineInDictDelegate; + + private EndOperationDelegate onEndDefineInDictDelegate; + + private System.Threading.SendOrPostCallback onDefineInDictCompletedDelegate; + + private BeginOperationDelegate onBeginStrategyListDelegate; + + private EndOperationDelegate onEndStrategyListDelegate; + + private System.Threading.SendOrPostCallback onStrategyListCompletedDelegate; + + private BeginOperationDelegate onBeginMatchDelegate; + + private EndOperationDelegate onEndMatchDelegate; + + private System.Threading.SendOrPostCallback onMatchCompletedDelegate; + + private BeginOperationDelegate onBeginMatchInDictDelegate; + + private EndOperationDelegate onEndMatchInDictDelegate; + + private System.Threading.SendOrPostCallback onMatchInDictCompletedDelegate; + + public DictServiceSoapClient() { + } + + public DictServiceSoapClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public DictServiceSoapClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + public event System.EventHandler<ServerInfoCompletedEventArgs> ServerInfoCompleted; + + public event System.EventHandler<DictionaryListCompletedEventArgs> DictionaryListCompleted; + + public event System.EventHandler<DictionaryListExtendedCompletedEventArgs> DictionaryListExtendedCompleted; + + public event System.EventHandler<DictionaryInfoCompletedEventArgs> DictionaryInfoCompleted; + + public event System.EventHandler<DefineCompletedEventArgs> DefineCompleted; + + public event System.EventHandler<DefineInDictCompletedEventArgs> DefineInDictCompleted; + + public event System.EventHandler<StrategyListCompletedEventArgs> StrategyListCompleted; + + public event System.EventHandler<MatchCompletedEventArgs> MatchCompleted; + + public event System.EventHandler<MatchInDictCompletedEventArgs> MatchInDictCompleted; + + public string ServerInfo() { + return base.Channel.ServerInfo(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginServerInfo(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndServerInfo(System.IAsyncResult result) { + return base.Channel.EndServerInfo(result); + } + + private System.IAsyncResult OnBeginServerInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginServerInfo(callback, asyncState); + } + + private object[] OnEndServerInfo(System.IAsyncResult result) { + string retVal = this.EndServerInfo(result); + return new object[] { + retVal}; + } + + private void OnServerInfoCompleted(object state) { + if ((this.ServerInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.ServerInfoCompleted(this, new ServerInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void ServerInfoAsync() { + this.ServerInfoAsync(null); + } + + public void ServerInfoAsync(object userState) { + if ((this.onBeginServerInfoDelegate == null)) { + this.onBeginServerInfoDelegate = new BeginOperationDelegate(this.OnBeginServerInfo); + } + if ((this.onEndServerInfoDelegate == null)) { + this.onEndServerInfoDelegate = new EndOperationDelegate(this.OnEndServerInfo); + } + if ((this.onServerInfoCompletedDelegate == null)) { + this.onServerInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnServerInfoCompleted); + } + base.InvokeAsync(this.onBeginServerInfoDelegate, null, this.onEndServerInfoDelegate, this.onServerInfoCompletedDelegate, userState); + } + + public Dictionary[] DictionaryList() { + return base.Channel.DictionaryList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryList(System.IAsyncResult result) { + return base.Channel.EndDictionaryList(result); + } + + private System.IAsyncResult OnBeginDictionaryList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryList(callback, asyncState); + } + + private object[] OnEndDictionaryList(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryList(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListCompleted(object state) { + if ((this.DictionaryListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListCompleted(this, new DictionaryListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListAsync() { + this.DictionaryListAsync(null); + } + + public void DictionaryListAsync(object userState) { + if ((this.onBeginDictionaryListDelegate == null)) { + this.onBeginDictionaryListDelegate = new BeginOperationDelegate(this.OnBeginDictionaryList); + } + if ((this.onEndDictionaryListDelegate == null)) { + this.onEndDictionaryListDelegate = new EndOperationDelegate(this.OnEndDictionaryList); + } + if ((this.onDictionaryListCompletedDelegate == null)) { + this.onDictionaryListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListDelegate, null, this.onEndDictionaryListDelegate, this.onDictionaryListCompletedDelegate, userState); + } + + public Dictionary[] DictionaryListExtended() { + return base.Channel.DictionaryListExtended(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryListExtended(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryListExtended(System.IAsyncResult result) { + return base.Channel.EndDictionaryListExtended(result); + } + + private System.IAsyncResult OnBeginDictionaryListExtended(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryListExtended(callback, asyncState); + } + + private object[] OnEndDictionaryListExtended(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryListExtended(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListExtendedCompleted(object state) { + if ((this.DictionaryListExtendedCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListExtendedCompleted(this, new DictionaryListExtendedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListExtendedAsync() { + this.DictionaryListExtendedAsync(null); + } + + public void DictionaryListExtendedAsync(object userState) { + if ((this.onBeginDictionaryListExtendedDelegate == null)) { + this.onBeginDictionaryListExtendedDelegate = new BeginOperationDelegate(this.OnBeginDictionaryListExtended); + } + if ((this.onEndDictionaryListExtendedDelegate == null)) { + this.onEndDictionaryListExtendedDelegate = new EndOperationDelegate(this.OnEndDictionaryListExtended); + } + if ((this.onDictionaryListExtendedCompletedDelegate == null)) { + this.onDictionaryListExtendedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListExtendedCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListExtendedDelegate, null, this.onEndDictionaryListExtendedDelegate, this.onDictionaryListExtendedCompletedDelegate, userState); + } + + public string DictionaryInfo(string dictId) { + return base.Channel.DictionaryInfo(dictId); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryInfo(dictId, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndDictionaryInfo(System.IAsyncResult result) { + return base.Channel.EndDictionaryInfo(result); + } + + private System.IAsyncResult OnBeginDictionaryInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + return this.BeginDictionaryInfo(dictId, callback, asyncState); + } + + private object[] OnEndDictionaryInfo(System.IAsyncResult result) { + string retVal = this.EndDictionaryInfo(result); + return new object[] { + retVal}; + } + + private void OnDictionaryInfoCompleted(object state) { + if ((this.DictionaryInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryInfoCompleted(this, new DictionaryInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryInfoAsync(string dictId) { + this.DictionaryInfoAsync(dictId, null); + } + + public void DictionaryInfoAsync(string dictId, object userState) { + if ((this.onBeginDictionaryInfoDelegate == null)) { + this.onBeginDictionaryInfoDelegate = new BeginOperationDelegate(this.OnBeginDictionaryInfo); + } + if ((this.onEndDictionaryInfoDelegate == null)) { + this.onEndDictionaryInfoDelegate = new EndOperationDelegate(this.OnEndDictionaryInfo); + } + if ((this.onDictionaryInfoCompletedDelegate == null)) { + this.onDictionaryInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryInfoCompleted); + } + base.InvokeAsync(this.onBeginDictionaryInfoDelegate, new object[] { + dictId}, this.onEndDictionaryInfoDelegate, this.onDictionaryInfoCompletedDelegate, userState); + } + + public Excercise7.DictionarySuggestService.WordDefinition Define(string word) { + return base.Channel.Define(word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefine(word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise7.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result) { + return base.Channel.EndDefine(result); + } + + private System.IAsyncResult OnBeginDefine(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + return this.BeginDefine(word, callback, asyncState); + } + + private object[] OnEndDefine(System.IAsyncResult result) { + Excercise7.DictionarySuggestService.WordDefinition retVal = this.EndDefine(result); + return new object[] { + retVal}; + } + + private void OnDefineCompleted(object state) { + if ((this.DefineCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineCompleted(this, new DefineCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineAsync(string word) { + this.DefineAsync(word, null); + } + + public void DefineAsync(string word, object userState) { + if ((this.onBeginDefineDelegate == null)) { + this.onBeginDefineDelegate = new BeginOperationDelegate(this.OnBeginDefine); + } + if ((this.onEndDefineDelegate == null)) { + this.onEndDefineDelegate = new EndOperationDelegate(this.OnEndDefine); + } + if ((this.onDefineCompletedDelegate == null)) { + this.onDefineCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineCompleted); + } + base.InvokeAsync(this.onBeginDefineDelegate, new object[] { + word}, this.onEndDefineDelegate, this.onDefineCompletedDelegate, userState); + } + + public Excercise7.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word) { + return base.Channel.DefineInDict(dictId, word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefineInDict(dictId, word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise7.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result) { + return base.Channel.EndDefineInDict(result); + } + + private System.IAsyncResult OnBeginDefineInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + return this.BeginDefineInDict(dictId, word, callback, asyncState); + } + + private object[] OnEndDefineInDict(System.IAsyncResult result) { + Excercise7.DictionarySuggestService.WordDefinition retVal = this.EndDefineInDict(result); + return new object[] { + retVal}; + } + + private void OnDefineInDictCompleted(object state) { + if ((this.DefineInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineInDictCompleted(this, new DefineInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineInDictAsync(string dictId, string word) { + this.DefineInDictAsync(dictId, word, null); + } + + public void DefineInDictAsync(string dictId, string word, object userState) { + if ((this.onBeginDefineInDictDelegate == null)) { + this.onBeginDefineInDictDelegate = new BeginOperationDelegate(this.OnBeginDefineInDict); + } + if ((this.onEndDefineInDictDelegate == null)) { + this.onEndDefineInDictDelegate = new EndOperationDelegate(this.OnEndDefineInDict); + } + if ((this.onDefineInDictCompletedDelegate == null)) { + this.onDefineInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineInDictCompleted); + } + base.InvokeAsync(this.onBeginDefineInDictDelegate, new object[] { + dictId, + word}, this.onEndDefineInDictDelegate, this.onDefineInDictCompletedDelegate, userState); + } + + public Strategy[] StrategyList() { + return base.Channel.StrategyList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginStrategyList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Strategy[] EndStrategyList(System.IAsyncResult result) { + return base.Channel.EndStrategyList(result); + } + + private System.IAsyncResult OnBeginStrategyList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginStrategyList(callback, asyncState); + } + + private object[] OnEndStrategyList(System.IAsyncResult result) { + Strategy[] retVal = this.EndStrategyList(result); + return new object[] { + retVal}; + } + + private void OnStrategyListCompleted(object state) { + if ((this.StrategyListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.StrategyListCompleted(this, new StrategyListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void StrategyListAsync() { + this.StrategyListAsync(null); + } + + public void StrategyListAsync(object userState) { + if ((this.onBeginStrategyListDelegate == null)) { + this.onBeginStrategyListDelegate = new BeginOperationDelegate(this.OnBeginStrategyList); + } + if ((this.onEndStrategyListDelegate == null)) { + this.onEndStrategyListDelegate = new EndOperationDelegate(this.OnEndStrategyList); + } + if ((this.onStrategyListCompletedDelegate == null)) { + this.onStrategyListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStrategyListCompleted); + } + base.InvokeAsync(this.onBeginStrategyListDelegate, null, this.onEndStrategyListDelegate, this.onStrategyListCompletedDelegate, userState); + } + + public DictionaryWord[] Match(string word, string strategy) { + return base.Channel.Match(word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatch(word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatch(System.IAsyncResult result) { + return base.Channel.EndMatch(result); + } + + private System.IAsyncResult OnBeginMatch(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + string strategy = ((string)(inValues[1])); + return this.BeginMatch(word, strategy, callback, asyncState); + } + + private object[] OnEndMatch(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatch(result); + return new object[] { + retVal}; + } + + private void OnMatchCompleted(object state) { + if ((this.MatchCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchCompleted(this, new MatchCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchAsync(string word, string strategy) { + this.MatchAsync(word, strategy, null); + } + + public void MatchAsync(string word, string strategy, object userState) { + if ((this.onBeginMatchDelegate == null)) { + this.onBeginMatchDelegate = new BeginOperationDelegate(this.OnBeginMatch); + } + if ((this.onEndMatchDelegate == null)) { + this.onEndMatchDelegate = new EndOperationDelegate(this.OnEndMatch); + } + if ((this.onMatchCompletedDelegate == null)) { + this.onMatchCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchCompleted); + } + base.InvokeAsync(this.onBeginMatchDelegate, new object[] { + word, + strategy}, this.onEndMatchDelegate, this.onMatchCompletedDelegate, userState); + } + + public DictionaryWord[] MatchInDict(string dictId, string word, string strategy) { + return base.Channel.MatchInDict(dictId, word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatchInDict(System.IAsyncResult result) { + return base.Channel.EndMatchInDict(result); + } + + private System.IAsyncResult OnBeginMatchInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + string strategy = ((string)(inValues[2])); + return this.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + private object[] OnEndMatchInDict(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatchInDict(result); + return new object[] { + retVal}; + } + + private void OnMatchInDictCompleted(object state) { + if ((this.MatchInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchInDictCompleted(this, new MatchInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchInDictAsync(string dictId, string word, string strategy) { + this.MatchInDictAsync(dictId, word, strategy, null); + } + + public void MatchInDictAsync(string dictId, string word, string strategy, object userState) { + if ((this.onBeginMatchInDictDelegate == null)) { + this.onBeginMatchInDictDelegate = new BeginOperationDelegate(this.OnBeginMatchInDict); + } + if ((this.onEndMatchInDictDelegate == null)) { + this.onEndMatchInDictDelegate = new EndOperationDelegate(this.OnEndMatchInDict); + } + if ((this.onMatchInDictCompletedDelegate == null)) { + this.onMatchInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchInDictCompleted); + } + base.InvokeAsync(this.onBeginMatchInDictDelegate, new object[] { + dictId, + word, + strategy}, this.onEndMatchInDictDelegate, this.onMatchInDictCompletedDelegate, userState); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/Reference.svcmap b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/Reference.svcmap new file mode 100644 index 0000000..d7c3633 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/Reference.svcmap @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="e38186f9-cfd7-4334-881c-63618db94b50" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap"> + <ClientOptions> + <GenerateAsynchronousMethods>true</GenerateAsynchronousMethods> + <EnableDataBinding>true</EnableDataBinding> + <ExcludedTypes /> + <ImportXmlTypes>false</ImportXmlTypes> + <GenerateInternalTypes>false</GenerateInternalTypes> + <GenerateMessageContracts>false</GenerateMessageContracts> + <NamespaceMappings /> + <CollectionMappings /> + <GenerateSerializableTypes>true</GenerateSerializableTypes> + <Serializer>Auto</Serializer> + <UseSerializerForFaults>true</UseSerializerForFaults> + <ReferenceAllAssemblies>true</ReferenceAllAssemblies> + <ReferencedAssemblies /> + <ReferencedDataContractTypes /> + <ServiceContractMappings /> + </ClientOptions> + <MetadataSources> + <MetadataSource Address="http://services.aonaware.com/DictService/DictService.asmx" Protocol="http" SourceId="1" /> + </MetadataSources> + <Metadata> + <MetadataFile FileName="DictService.disco" MetadataType="Disco" ID="87064546-562f-40b9-899f-e2020c598914" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?disco" /> + <MetadataFile FileName="DictService.wsdl" MetadataType="Wsdl" ID="743bb2fa-2b60-444b-b1f3-ac2dc4a01af9" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?wsdl" /> + </Metadata> + <Extensions> + <ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" /> + <ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" /> + </Extensions> +</ReferenceGroup>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/configuration.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/configuration.svcinfo new file mode 100644 index 0000000..a856d3d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/configuration.svcinfo @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot"> + <behaviors /> + <bindings> + <binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" messageEncoding="Text" name="DictServiceSoap" textEncoding="utf-8" transferMode="Buffered"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /><security mode="None"><message algorithmSuite="Default" clientCredentialType="UserName" /><transport clientCredentialType="None" proxyCredentialType="None" realm="" /></security></Data>" bindingType="basicHttpBinding" name="DictServiceSoap" /> + <binding digest="System.ServiceModel.Configuration.CustomBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="DictServiceSoap12"><httpTransport allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" manualAddressing="false" maxBufferPoolSize="524288" maxBufferSize="65536" maxReceivedMessageSize="65536" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" /><textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap12" writeEncoding="utf-8"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /></textMessageEncoding></Data>" bindingType="customBinding" name="DictServiceSoap12" /> + </bindings> + <endpoints> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </endpoints> +</configurationSnapshot>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/configuration91.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/configuration91.svcinfo new file mode 100644 index 0000000..2599177 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/Service References/DictionarySuggestService/configuration91.svcinfo @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="Cb1mlQVfrIvXhoWXP+TpwPhxgGY="> + <bindingConfigurations> + <bindingConfiguration bindingType="basicHttpBinding" name="DictServiceSoap"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:10:00</serializedValue> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Text</serializedValue> + </property> + <property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue> + </property> + <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue> + </property> + <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + <property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue> + </property> + <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>UserName</serializedValue> + </property> + <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Default</serializedValue> + </property> + <property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + </properties> + </bindingConfiguration> + <bindingConfiguration bindingType="customBinding" name="DictServiceSoap12"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/textMessageEncoding" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TextMessageEncodingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.TextMessageEncodingElement</serializedValue> + </property> + <property path="/textMessageEncoding/maxReadPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>64</serializedValue> + </property> + <property path="/textMessageEncoding/maxWritePoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16</serializedValue> + </property> + <property path="/textMessageEncoding/messageVersion" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.MessageVersion, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Soap12</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/writeEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/httpTransport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportElement</serializedValue> + </property> + <property path="/httpTransport/manualAddressing" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/httpTransport/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/authenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/decompressionEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/httpTransport/keepAliveEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/proxyAddress" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/proxyAuthenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/httpTransport/unsafeConnectionNtlmAuthentication" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + </properties> + </bindingConfiguration> + </bindingConfigurations> + <endpoints> + <endpoint name="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" bindingType="basicHttpBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>basicHttpBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + <endpoint name="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" bindingType="customBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap12"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>customBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + </endpoints> +</SavedWcfConfigurationInformation>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step04/app.config b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/app.config new file mode 100644 index 0000000..cf1770f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step04/app.config @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <system.serviceModel> + <bindings> + <basicHttpBinding> + <binding name="DictServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" + receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" + bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" + maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" + messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" + useDefaultWebProxy="true"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + <security mode="None"> + <transport clientCredentialType="None" proxyCredentialType="None" + realm="" /> + <message clientCredentialType="UserName" algorithmSuite="Default" /> + </security> + </binding> + </basicHttpBinding> + <customBinding> + <binding name="DictServiceSoap12"> + <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" + messageVersion="Soap12" writeEncoding="utf-8"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + </textMessageEncoding> + <httpTransport manualAddressing="false" maxBufferPoolSize="524288" + maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous" + bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" + keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous" + realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" + useDefaultWebProxy="true" /> + </binding> + </customBinding> + </bindings> + <client> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="customBinding" bindingConfiguration="DictServiceSoap12" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </client> + </system.serviceModel> +</configuration>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Excercise7.csproj b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Excercise7.csproj new file mode 100644 index 0000000..e0d5eca --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Excercise7.csproj @@ -0,0 +1,104 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{21E64C52-6DE5-43C6-B8AE-7857302C79F7}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise7</RootNamespace> + <AssemblyName>Excercise7</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.ServiceModel" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Service References\DictionarySuggestService\Reference.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Reference.svcmap</DependentUpon> + </Compile> + </ItemGroup> + <ItemGroup> + <WCFMetadata Include="Service References\" /> + </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + <None Include="Service References\DictionarySuggestService\DictService.wsdl" /> + <None Include="Service References\DictionarySuggestService\Excercise7.DictionarySuggestService.Dictionary.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise7.DictionarySuggestService.DictionaryWord.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise7.DictionarySuggestService.Strategy.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise7.DictionarySuggestService.WordDefinition.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + </ItemGroup> + <ItemGroup> + <WCFMetadataStorage Include="Service References\DictionarySuggestService\" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\DictService.disco" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration91.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\Reference.svcmap"> + <Generator>WCF Proxy Generator</Generator> + <LastGenOutput>Reference.cs</LastGenOutput> + </None> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Excercise7.sln b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Excercise7.sln new file mode 100644 index 0000000..e45118f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Excercise7.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise7", "Excercise7.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Program.cs new file mode 100644 index 0000000..1561c64 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Program.cs @@ -0,0 +1,31 @@ +using System; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; +using Excercise7.DictionarySuggestService; + +namespace Excercise7 +{ + class Program + { + static void Main() + { + var svc = new DictServiceSoapClient("DictServiceSoap"); + var matchInDict = Observable.FromAsyncPattern<string, string, string, DictionaryWord[]> + (svc.BeginMatchInDict, svc.EndMatchInDict); + + Func<string, IObservable<DictionaryWord[]>> matchInWordNetByPrefix = + term => matchInDict("wn", term, "prefix"); + + var res = matchInWordNetByPrefix("react"); + var subscription = res.Subscribe(words => + { + foreach (var word in words) + Console.WriteLine(word.Word); + }); + + Console.ReadLine(); + + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..c07d001 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise7")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise7")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/DictService.disco b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/DictService.disco new file mode 100644 index 0000000..d8b4769 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/DictService.disco @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> + <contractRef ref="http://services.aonaware.com/DictService/DictService.asmx?wsdl" docRef="http://services.aonaware.com/DictService/DictService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q1="http://services.aonaware.com/webservices/" binding="q1:DictServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q2="http://services.aonaware.com/webservices/" binding="q2:DictServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> +</discovery>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/DictService.wsdl b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/DictService.wsdl new file mode 100644 index 0000000..72a8189 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/DictService.wsdl @@ -0,0 +1,824 @@ +<?xml version="1.0" encoding="utf-8"?> +<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://services.aonaware.com/webservices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://services.aonaware.com/webservices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:types> + <s:schema elementFormDefault="qualified" targetNamespace="http://services.aonaware.com/webservices/"> + <s:element name="ServerInfo"> + <s:complexType /> + </s:element> + <s:element name="ServerInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="ServerInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryList"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Dictionary" nillable="true" type="tns:Dictionary" /> + </s:sequence> + </s:complexType> + <s:complexType name="Dictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DictionaryListExtended"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListExtendedResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListExtendedResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfo"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="Define"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="WordDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Definitions" type="tns:ArrayOfDefinition" /> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Definition" nillable="true" type="tns:Definition" /> + </s:sequence> + </s:complexType> + <s:complexType name="Definition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Dictionary" type="tns:Dictionary" /> + <s:element minOccurs="0" maxOccurs="1" name="WordDefinition" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DefineInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineInDictResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="StrategyList"> + <s:complexType /> + </s:element> + <s:element name="StrategyListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="StrategyListResult" type="tns:ArrayOfStrategy" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfStrategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Strategy" nillable="true" type="tns:Strategy" /> + </s:sequence> + </s:complexType> + <s:complexType name="Strategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="Match"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="DictionaryWord" nillable="true" type="tns:DictionaryWord" /> + </s:sequence> + </s:complexType> + <s:complexType name="DictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="MatchInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchInDictResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="string" nillable="true" type="s:string" /> + <s:element name="ArrayOfDictionary" nillable="true" type="tns:ArrayOfDictionary" /> + <s:element name="WordDefinition" nillable="true" type="tns:WordDefinition" /> + <s:element name="ArrayOfStrategy" nillable="true" type="tns:ArrayOfStrategy" /> + <s:element name="ArrayOfDictionaryWord" nillable="true" type="tns:ArrayOfDictionaryWord" /> + </s:schema> + </wsdl:types> + <wsdl:message name="ServerInfoSoapIn"> + <wsdl:part name="parameters" element="tns:ServerInfo" /> + </wsdl:message> + <wsdl:message name="ServerInfoSoapOut"> + <wsdl:part name="parameters" element="tns:ServerInfoResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryList" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryListExtended" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListExtendedResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryInfo" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryInfoResponse" /> + </wsdl:message> + <wsdl:message name="DefineSoapIn"> + <wsdl:part name="parameters" element="tns:Define" /> + </wsdl:message> + <wsdl:message name="DefineSoapOut"> + <wsdl:part name="parameters" element="tns:DefineResponse" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapIn"> + <wsdl:part name="parameters" element="tns:DefineInDict" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapOut"> + <wsdl:part name="parameters" element="tns:DefineInDictResponse" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapIn"> + <wsdl:part name="parameters" element="tns:StrategyList" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapOut"> + <wsdl:part name="parameters" element="tns:StrategyListResponse" /> + </wsdl:message> + <wsdl:message name="MatchSoapIn"> + <wsdl:part name="parameters" element="tns:Match" /> + </wsdl:message> + <wsdl:message name="MatchSoapOut"> + <wsdl:part name="parameters" element="tns:MatchResponse" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapIn"> + <wsdl:part name="parameters" element="tns:MatchInDict" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapOut"> + <wsdl:part name="parameters" element="tns:MatchInDictResponse" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpGetIn" /> + <wsdl:message name="ServerInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpGetIn" /> + <wsdl:message name="DictionaryListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpGetIn" /> + <wsdl:message name="DictionaryListExtendedHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpGetIn" /> + <wsdl:message name="StrategyListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpPostIn" /> + <wsdl:message name="ServerInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpPostIn" /> + <wsdl:message name="DictionaryListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpPostIn" /> + <wsdl:message name="DictionaryListExtendedHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpPostIn" /> + <wsdl:message name="StrategyListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:portType name="DictServiceSoap"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoSoapIn" /> + <wsdl:output message="tns:ServerInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListSoapIn" /> + <wsdl:output message="tns:DictionaryListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedSoapIn" /> + <wsdl:output message="tns:DictionaryListExtendedSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoSoapIn" /> + <wsdl:output message="tns:DictionaryInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineSoapIn" /> + <wsdl:output message="tns:DefineSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictSoapIn" /> + <wsdl:output message="tns:DefineInDictSoapOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListSoapIn" /> + <wsdl:output message="tns:StrategyListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchSoapIn" /> + <wsdl:output message="tns:MatchSoapOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictSoapIn" /> + <wsdl:output message="tns:MatchInDictSoapOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpGet"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpGetIn" /> + <wsdl:output message="tns:ServerInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpGetIn" /> + <wsdl:output message="tns:DictionaryListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpGetIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpGetIn" /> + <wsdl:output message="tns:DictionaryInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpGetIn" /> + <wsdl:output message="tns:DefineHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpGetIn" /> + <wsdl:output message="tns:DefineInDictHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpGetIn" /> + <wsdl:output message="tns:StrategyListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpGetIn" /> + <wsdl:output message="tns:MatchHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpGetIn" /> + <wsdl:output message="tns:MatchInDictHttpGetOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpPost"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpPostIn" /> + <wsdl:output message="tns:ServerInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpPostIn" /> + <wsdl:output message="tns:DictionaryListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpPostIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpPostIn" /> + <wsdl:output message="tns:DictionaryInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpPostIn" /> + <wsdl:output message="tns:DefineHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpPostIn" /> + <wsdl:output message="tns:DefineInDictHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpPostIn" /> + <wsdl:output message="tns:StrategyListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpPostIn" /> + <wsdl:output message="tns:MatchHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpPostIn" /> + <wsdl:output message="tns:MatchInDictHttpPostOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="DictServiceSoap" type="tns:DictServiceSoap"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" 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="DictServiceSoap12" type="tns:DictServiceSoap"> + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpGet" type="tns:DictServiceHttpGet"> + <http:binding verb="GET" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpPost" type="tns:DictServiceHttpPost"> + <http:binding verb="POST" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="DictService"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:port name="DictServiceSoap" binding="tns:DictServiceSoap"> + <soap:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceSoap12" binding="tns:DictServiceSoap12"> + <soap12:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpGet" binding="tns:DictServiceHttpGet"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpPost" binding="tns:DictServiceHttpPost"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + </wsdl:service> +</wsdl:definitions>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Dictionary.datasource b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Dictionary.datasource new file mode 100644 index 0000000..eeea716 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Dictionary.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Dictionary" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise7.DictionarySuggestService.Dictionary, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.DictionaryWord.datasource b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.DictionaryWord.datasource new file mode 100644 index 0000000..599aaa5 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.DictionaryWord.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="DictionaryWord" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise7.DictionarySuggestService.DictionaryWord, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Strategy.datasource b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Strategy.datasource new file mode 100644 index 0000000..a20e8f2 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Strategy.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Strategy" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise7.DictionarySuggestService.Strategy, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.WordDefinition.datasource b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.WordDefinition.datasource new file mode 100644 index 0000000..a1ec774 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.WordDefinition.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="WordDefinition" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise7.DictionarySuggestService.WordDefinition, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/Reference.cs b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/Reference.cs new file mode 100644 index 0000000..d7ded3c --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/Reference.cs @@ -0,0 +1,1064 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.431 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace Excercise7.DictionarySuggestService { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://services.aonaware.com/webservices/", ConfigurationName="DictionarySuggestService.DictServiceSoap")] + public interface DictServiceSoap { + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string ServerInfo(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState); + + string EndServerInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryListExtended(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryListExtended(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string DictionaryInfo(string dictId); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState); + + string EndDictionaryInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise7.DictionarySuggestService.WordDefinition Define(string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState); + + Excercise7.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise7.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState); + + Excercise7.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Strategy[] StrategyList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState); + + Strategy[] EndStrategyList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] Match(string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatch(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] MatchInDict(string dictId, string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatchInDict(System.IAsyncResult result); + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Dictionary : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string nameField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class DictionaryWord : object, System.ComponentModel.INotifyPropertyChanged { + + private string dictionaryIdField; + + private string wordField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string DictionaryId { + get { + return this.dictionaryIdField; + } + set { + this.dictionaryIdField = value; + this.RaisePropertyChanged("DictionaryId"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Strategy : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string descriptionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Definition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Dictionary dictionaryField; + + private string wordDefinitionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public Dictionary Dictionary { + get { + return this.dictionaryField; + } + set { + this.dictionaryField = value; + this.RaisePropertyChanged("Dictionary"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string WordDefinition { + get { + return this.wordDefinitionField; + } + set { + this.wordDefinitionField = value; + this.RaisePropertyChanged("WordDefinition"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class WordDefinition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Definition[] definitionsField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public Definition[] Definitions { + get { + return this.definitionsField; + } + set { + this.definitionsField = value; + this.RaisePropertyChanged("Definitions"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface DictServiceSoapChannel : Excercise7.DictionarySuggestService.DictServiceSoap, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class ServerInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public ServerInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListExtendedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListExtendedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise7.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise7.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise7.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise7.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class StrategyListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public StrategyListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Strategy[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Strategy[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictServiceSoapClient : System.ServiceModel.ClientBase<Excercise7.DictionarySuggestService.DictServiceSoap>, Excercise7.DictionarySuggestService.DictServiceSoap { + + private BeginOperationDelegate onBeginServerInfoDelegate; + + private EndOperationDelegate onEndServerInfoDelegate; + + private System.Threading.SendOrPostCallback onServerInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListDelegate; + + private EndOperationDelegate onEndDictionaryListDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListExtendedDelegate; + + private EndOperationDelegate onEndDictionaryListExtendedDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListExtendedCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryInfoDelegate; + + private EndOperationDelegate onEndDictionaryInfoDelegate; + + private System.Threading.SendOrPostCallback onDictionaryInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDefineDelegate; + + private EndOperationDelegate onEndDefineDelegate; + + private System.Threading.SendOrPostCallback onDefineCompletedDelegate; + + private BeginOperationDelegate onBeginDefineInDictDelegate; + + private EndOperationDelegate onEndDefineInDictDelegate; + + private System.Threading.SendOrPostCallback onDefineInDictCompletedDelegate; + + private BeginOperationDelegate onBeginStrategyListDelegate; + + private EndOperationDelegate onEndStrategyListDelegate; + + private System.Threading.SendOrPostCallback onStrategyListCompletedDelegate; + + private BeginOperationDelegate onBeginMatchDelegate; + + private EndOperationDelegate onEndMatchDelegate; + + private System.Threading.SendOrPostCallback onMatchCompletedDelegate; + + private BeginOperationDelegate onBeginMatchInDictDelegate; + + private EndOperationDelegate onEndMatchInDictDelegate; + + private System.Threading.SendOrPostCallback onMatchInDictCompletedDelegate; + + public DictServiceSoapClient() { + } + + public DictServiceSoapClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public DictServiceSoapClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + public event System.EventHandler<ServerInfoCompletedEventArgs> ServerInfoCompleted; + + public event System.EventHandler<DictionaryListCompletedEventArgs> DictionaryListCompleted; + + public event System.EventHandler<DictionaryListExtendedCompletedEventArgs> DictionaryListExtendedCompleted; + + public event System.EventHandler<DictionaryInfoCompletedEventArgs> DictionaryInfoCompleted; + + public event System.EventHandler<DefineCompletedEventArgs> DefineCompleted; + + public event System.EventHandler<DefineInDictCompletedEventArgs> DefineInDictCompleted; + + public event System.EventHandler<StrategyListCompletedEventArgs> StrategyListCompleted; + + public event System.EventHandler<MatchCompletedEventArgs> MatchCompleted; + + public event System.EventHandler<MatchInDictCompletedEventArgs> MatchInDictCompleted; + + public string ServerInfo() { + return base.Channel.ServerInfo(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginServerInfo(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndServerInfo(System.IAsyncResult result) { + return base.Channel.EndServerInfo(result); + } + + private System.IAsyncResult OnBeginServerInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginServerInfo(callback, asyncState); + } + + private object[] OnEndServerInfo(System.IAsyncResult result) { + string retVal = this.EndServerInfo(result); + return new object[] { + retVal}; + } + + private void OnServerInfoCompleted(object state) { + if ((this.ServerInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.ServerInfoCompleted(this, new ServerInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void ServerInfoAsync() { + this.ServerInfoAsync(null); + } + + public void ServerInfoAsync(object userState) { + if ((this.onBeginServerInfoDelegate == null)) { + this.onBeginServerInfoDelegate = new BeginOperationDelegate(this.OnBeginServerInfo); + } + if ((this.onEndServerInfoDelegate == null)) { + this.onEndServerInfoDelegate = new EndOperationDelegate(this.OnEndServerInfo); + } + if ((this.onServerInfoCompletedDelegate == null)) { + this.onServerInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnServerInfoCompleted); + } + base.InvokeAsync(this.onBeginServerInfoDelegate, null, this.onEndServerInfoDelegate, this.onServerInfoCompletedDelegate, userState); + } + + public Dictionary[] DictionaryList() { + return base.Channel.DictionaryList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryList(System.IAsyncResult result) { + return base.Channel.EndDictionaryList(result); + } + + private System.IAsyncResult OnBeginDictionaryList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryList(callback, asyncState); + } + + private object[] OnEndDictionaryList(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryList(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListCompleted(object state) { + if ((this.DictionaryListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListCompleted(this, new DictionaryListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListAsync() { + this.DictionaryListAsync(null); + } + + public void DictionaryListAsync(object userState) { + if ((this.onBeginDictionaryListDelegate == null)) { + this.onBeginDictionaryListDelegate = new BeginOperationDelegate(this.OnBeginDictionaryList); + } + if ((this.onEndDictionaryListDelegate == null)) { + this.onEndDictionaryListDelegate = new EndOperationDelegate(this.OnEndDictionaryList); + } + if ((this.onDictionaryListCompletedDelegate == null)) { + this.onDictionaryListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListDelegate, null, this.onEndDictionaryListDelegate, this.onDictionaryListCompletedDelegate, userState); + } + + public Dictionary[] DictionaryListExtended() { + return base.Channel.DictionaryListExtended(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryListExtended(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryListExtended(System.IAsyncResult result) { + return base.Channel.EndDictionaryListExtended(result); + } + + private System.IAsyncResult OnBeginDictionaryListExtended(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryListExtended(callback, asyncState); + } + + private object[] OnEndDictionaryListExtended(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryListExtended(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListExtendedCompleted(object state) { + if ((this.DictionaryListExtendedCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListExtendedCompleted(this, new DictionaryListExtendedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListExtendedAsync() { + this.DictionaryListExtendedAsync(null); + } + + public void DictionaryListExtendedAsync(object userState) { + if ((this.onBeginDictionaryListExtendedDelegate == null)) { + this.onBeginDictionaryListExtendedDelegate = new BeginOperationDelegate(this.OnBeginDictionaryListExtended); + } + if ((this.onEndDictionaryListExtendedDelegate == null)) { + this.onEndDictionaryListExtendedDelegate = new EndOperationDelegate(this.OnEndDictionaryListExtended); + } + if ((this.onDictionaryListExtendedCompletedDelegate == null)) { + this.onDictionaryListExtendedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListExtendedCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListExtendedDelegate, null, this.onEndDictionaryListExtendedDelegate, this.onDictionaryListExtendedCompletedDelegate, userState); + } + + public string DictionaryInfo(string dictId) { + return base.Channel.DictionaryInfo(dictId); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryInfo(dictId, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndDictionaryInfo(System.IAsyncResult result) { + return base.Channel.EndDictionaryInfo(result); + } + + private System.IAsyncResult OnBeginDictionaryInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + return this.BeginDictionaryInfo(dictId, callback, asyncState); + } + + private object[] OnEndDictionaryInfo(System.IAsyncResult result) { + string retVal = this.EndDictionaryInfo(result); + return new object[] { + retVal}; + } + + private void OnDictionaryInfoCompleted(object state) { + if ((this.DictionaryInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryInfoCompleted(this, new DictionaryInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryInfoAsync(string dictId) { + this.DictionaryInfoAsync(dictId, null); + } + + public void DictionaryInfoAsync(string dictId, object userState) { + if ((this.onBeginDictionaryInfoDelegate == null)) { + this.onBeginDictionaryInfoDelegate = new BeginOperationDelegate(this.OnBeginDictionaryInfo); + } + if ((this.onEndDictionaryInfoDelegate == null)) { + this.onEndDictionaryInfoDelegate = new EndOperationDelegate(this.OnEndDictionaryInfo); + } + if ((this.onDictionaryInfoCompletedDelegate == null)) { + this.onDictionaryInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryInfoCompleted); + } + base.InvokeAsync(this.onBeginDictionaryInfoDelegate, new object[] { + dictId}, this.onEndDictionaryInfoDelegate, this.onDictionaryInfoCompletedDelegate, userState); + } + + public Excercise7.DictionarySuggestService.WordDefinition Define(string word) { + return base.Channel.Define(word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefine(word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise7.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result) { + return base.Channel.EndDefine(result); + } + + private System.IAsyncResult OnBeginDefine(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + return this.BeginDefine(word, callback, asyncState); + } + + private object[] OnEndDefine(System.IAsyncResult result) { + Excercise7.DictionarySuggestService.WordDefinition retVal = this.EndDefine(result); + return new object[] { + retVal}; + } + + private void OnDefineCompleted(object state) { + if ((this.DefineCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineCompleted(this, new DefineCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineAsync(string word) { + this.DefineAsync(word, null); + } + + public void DefineAsync(string word, object userState) { + if ((this.onBeginDefineDelegate == null)) { + this.onBeginDefineDelegate = new BeginOperationDelegate(this.OnBeginDefine); + } + if ((this.onEndDefineDelegate == null)) { + this.onEndDefineDelegate = new EndOperationDelegate(this.OnEndDefine); + } + if ((this.onDefineCompletedDelegate == null)) { + this.onDefineCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineCompleted); + } + base.InvokeAsync(this.onBeginDefineDelegate, new object[] { + word}, this.onEndDefineDelegate, this.onDefineCompletedDelegate, userState); + } + + public Excercise7.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word) { + return base.Channel.DefineInDict(dictId, word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefineInDict(dictId, word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise7.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result) { + return base.Channel.EndDefineInDict(result); + } + + private System.IAsyncResult OnBeginDefineInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + return this.BeginDefineInDict(dictId, word, callback, asyncState); + } + + private object[] OnEndDefineInDict(System.IAsyncResult result) { + Excercise7.DictionarySuggestService.WordDefinition retVal = this.EndDefineInDict(result); + return new object[] { + retVal}; + } + + private void OnDefineInDictCompleted(object state) { + if ((this.DefineInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineInDictCompleted(this, new DefineInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineInDictAsync(string dictId, string word) { + this.DefineInDictAsync(dictId, word, null); + } + + public void DefineInDictAsync(string dictId, string word, object userState) { + if ((this.onBeginDefineInDictDelegate == null)) { + this.onBeginDefineInDictDelegate = new BeginOperationDelegate(this.OnBeginDefineInDict); + } + if ((this.onEndDefineInDictDelegate == null)) { + this.onEndDefineInDictDelegate = new EndOperationDelegate(this.OnEndDefineInDict); + } + if ((this.onDefineInDictCompletedDelegate == null)) { + this.onDefineInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineInDictCompleted); + } + base.InvokeAsync(this.onBeginDefineInDictDelegate, new object[] { + dictId, + word}, this.onEndDefineInDictDelegate, this.onDefineInDictCompletedDelegate, userState); + } + + public Strategy[] StrategyList() { + return base.Channel.StrategyList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginStrategyList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Strategy[] EndStrategyList(System.IAsyncResult result) { + return base.Channel.EndStrategyList(result); + } + + private System.IAsyncResult OnBeginStrategyList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginStrategyList(callback, asyncState); + } + + private object[] OnEndStrategyList(System.IAsyncResult result) { + Strategy[] retVal = this.EndStrategyList(result); + return new object[] { + retVal}; + } + + private void OnStrategyListCompleted(object state) { + if ((this.StrategyListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.StrategyListCompleted(this, new StrategyListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void StrategyListAsync() { + this.StrategyListAsync(null); + } + + public void StrategyListAsync(object userState) { + if ((this.onBeginStrategyListDelegate == null)) { + this.onBeginStrategyListDelegate = new BeginOperationDelegate(this.OnBeginStrategyList); + } + if ((this.onEndStrategyListDelegate == null)) { + this.onEndStrategyListDelegate = new EndOperationDelegate(this.OnEndStrategyList); + } + if ((this.onStrategyListCompletedDelegate == null)) { + this.onStrategyListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStrategyListCompleted); + } + base.InvokeAsync(this.onBeginStrategyListDelegate, null, this.onEndStrategyListDelegate, this.onStrategyListCompletedDelegate, userState); + } + + public DictionaryWord[] Match(string word, string strategy) { + return base.Channel.Match(word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatch(word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatch(System.IAsyncResult result) { + return base.Channel.EndMatch(result); + } + + private System.IAsyncResult OnBeginMatch(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + string strategy = ((string)(inValues[1])); + return this.BeginMatch(word, strategy, callback, asyncState); + } + + private object[] OnEndMatch(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatch(result); + return new object[] { + retVal}; + } + + private void OnMatchCompleted(object state) { + if ((this.MatchCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchCompleted(this, new MatchCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchAsync(string word, string strategy) { + this.MatchAsync(word, strategy, null); + } + + public void MatchAsync(string word, string strategy, object userState) { + if ((this.onBeginMatchDelegate == null)) { + this.onBeginMatchDelegate = new BeginOperationDelegate(this.OnBeginMatch); + } + if ((this.onEndMatchDelegate == null)) { + this.onEndMatchDelegate = new EndOperationDelegate(this.OnEndMatch); + } + if ((this.onMatchCompletedDelegate == null)) { + this.onMatchCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchCompleted); + } + base.InvokeAsync(this.onBeginMatchDelegate, new object[] { + word, + strategy}, this.onEndMatchDelegate, this.onMatchCompletedDelegate, userState); + } + + public DictionaryWord[] MatchInDict(string dictId, string word, string strategy) { + return base.Channel.MatchInDict(dictId, word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatchInDict(System.IAsyncResult result) { + return base.Channel.EndMatchInDict(result); + } + + private System.IAsyncResult OnBeginMatchInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + string strategy = ((string)(inValues[2])); + return this.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + private object[] OnEndMatchInDict(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatchInDict(result); + return new object[] { + retVal}; + } + + private void OnMatchInDictCompleted(object state) { + if ((this.MatchInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchInDictCompleted(this, new MatchInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchInDictAsync(string dictId, string word, string strategy) { + this.MatchInDictAsync(dictId, word, strategy, null); + } + + public void MatchInDictAsync(string dictId, string word, string strategy, object userState) { + if ((this.onBeginMatchInDictDelegate == null)) { + this.onBeginMatchInDictDelegate = new BeginOperationDelegate(this.OnBeginMatchInDict); + } + if ((this.onEndMatchInDictDelegate == null)) { + this.onEndMatchInDictDelegate = new EndOperationDelegate(this.OnEndMatchInDict); + } + if ((this.onMatchInDictCompletedDelegate == null)) { + this.onMatchInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchInDictCompleted); + } + base.InvokeAsync(this.onBeginMatchInDictDelegate, new object[] { + dictId, + word, + strategy}, this.onEndMatchInDictDelegate, this.onMatchInDictCompletedDelegate, userState); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/Reference.svcmap b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/Reference.svcmap new file mode 100644 index 0000000..d7c3633 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/Reference.svcmap @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="e38186f9-cfd7-4334-881c-63618db94b50" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap"> + <ClientOptions> + <GenerateAsynchronousMethods>true</GenerateAsynchronousMethods> + <EnableDataBinding>true</EnableDataBinding> + <ExcludedTypes /> + <ImportXmlTypes>false</ImportXmlTypes> + <GenerateInternalTypes>false</GenerateInternalTypes> + <GenerateMessageContracts>false</GenerateMessageContracts> + <NamespaceMappings /> + <CollectionMappings /> + <GenerateSerializableTypes>true</GenerateSerializableTypes> + <Serializer>Auto</Serializer> + <UseSerializerForFaults>true</UseSerializerForFaults> + <ReferenceAllAssemblies>true</ReferenceAllAssemblies> + <ReferencedAssemblies /> + <ReferencedDataContractTypes /> + <ServiceContractMappings /> + </ClientOptions> + <MetadataSources> + <MetadataSource Address="http://services.aonaware.com/DictService/DictService.asmx" Protocol="http" SourceId="1" /> + </MetadataSources> + <Metadata> + <MetadataFile FileName="DictService.disco" MetadataType="Disco" ID="87064546-562f-40b9-899f-e2020c598914" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?disco" /> + <MetadataFile FileName="DictService.wsdl" MetadataType="Wsdl" ID="743bb2fa-2b60-444b-b1f3-ac2dc4a01af9" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?wsdl" /> + </Metadata> + <Extensions> + <ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" /> + <ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" /> + </Extensions> +</ReferenceGroup>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/configuration.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/configuration.svcinfo new file mode 100644 index 0000000..a856d3d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/configuration.svcinfo @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot"> + <behaviors /> + <bindings> + <binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" messageEncoding="Text" name="DictServiceSoap" textEncoding="utf-8" transferMode="Buffered"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /><security mode="None"><message algorithmSuite="Default" clientCredentialType="UserName" /><transport clientCredentialType="None" proxyCredentialType="None" realm="" /></security></Data>" bindingType="basicHttpBinding" name="DictServiceSoap" /> + <binding digest="System.ServiceModel.Configuration.CustomBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="DictServiceSoap12"><httpTransport allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" manualAddressing="false" maxBufferPoolSize="524288" maxBufferSize="65536" maxReceivedMessageSize="65536" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" /><textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap12" writeEncoding="utf-8"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /></textMessageEncoding></Data>" bindingType="customBinding" name="DictServiceSoap12" /> + </bindings> + <endpoints> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </endpoints> +</configurationSnapshot>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/configuration91.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/configuration91.svcinfo new file mode 100644 index 0000000..2599177 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/Service References/DictionarySuggestService/configuration91.svcinfo @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="Cb1mlQVfrIvXhoWXP+TpwPhxgGY="> + <bindingConfigurations> + <bindingConfiguration bindingType="basicHttpBinding" name="DictServiceSoap"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:10:00</serializedValue> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Text</serializedValue> + </property> + <property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue> + </property> + <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue> + </property> + <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + <property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue> + </property> + <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>UserName</serializedValue> + </property> + <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Default</serializedValue> + </property> + <property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + </properties> + </bindingConfiguration> + <bindingConfiguration bindingType="customBinding" name="DictServiceSoap12"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/textMessageEncoding" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TextMessageEncodingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.TextMessageEncodingElement</serializedValue> + </property> + <property path="/textMessageEncoding/maxReadPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>64</serializedValue> + </property> + <property path="/textMessageEncoding/maxWritePoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16</serializedValue> + </property> + <property path="/textMessageEncoding/messageVersion" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.MessageVersion, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Soap12</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/writeEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/httpTransport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportElement</serializedValue> + </property> + <property path="/httpTransport/manualAddressing" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/httpTransport/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/authenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/decompressionEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/httpTransport/keepAliveEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/proxyAddress" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/proxyAuthenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/httpTransport/unsafeConnectionNtlmAuthentication" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + </properties> + </bindingConfiguration> + </bindingConfigurations> + <endpoints> + <endpoint name="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" bindingType="basicHttpBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>basicHttpBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + <endpoint name="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" bindingType="customBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap12"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>customBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + </endpoints> +</SavedWcfConfigurationInformation>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step05/app.config b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/app.config new file mode 100644 index 0000000..cf1770f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step05/app.config @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <system.serviceModel> + <bindings> + <basicHttpBinding> + <binding name="DictServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" + receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" + bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" + maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" + messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" + useDefaultWebProxy="true"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + <security mode="None"> + <transport clientCredentialType="None" proxyCredentialType="None" + realm="" /> + <message clientCredentialType="UserName" algorithmSuite="Default" /> + </security> + </binding> + </basicHttpBinding> + <customBinding> + <binding name="DictServiceSoap12"> + <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" + messageVersion="Soap12" writeEncoding="utf-8"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + </textMessageEncoding> + <httpTransport manualAddressing="false" maxBufferPoolSize="524288" + maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous" + bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" + keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous" + realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" + useDefaultWebProxy="true" /> + </binding> + </customBinding> + </bindings> + <client> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="customBinding" bindingConfiguration="DictServiceSoap12" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </client> + </system.serviceModel> +</configuration>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Excercise7.csproj b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Excercise7.csproj new file mode 100644 index 0000000..bd633e1 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Excercise7.csproj @@ -0,0 +1,104 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{33B49FF4-8979-4EF1-8639-8A286807DC62}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise7</RootNamespace> + <AssemblyName>Excercise7</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.ServiceModel" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Service References\DictionarySuggestService\Reference.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Reference.svcmap</DependentUpon> + </Compile> + </ItemGroup> + <ItemGroup> + <WCFMetadata Include="Service References\" /> + </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + <None Include="Service References\DictionarySuggestService\DictService.wsdl" /> + <None Include="Service References\DictionarySuggestService\Excercise7.DictionarySuggestService.Dictionary.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise7.DictionarySuggestService.DictionaryWord.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise7.DictionarySuggestService.Strategy.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise7.DictionarySuggestService.WordDefinition.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + </ItemGroup> + <ItemGroup> + <WCFMetadataStorage Include="Service References\DictionarySuggestService\" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\DictService.disco" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration91.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\Reference.svcmap"> + <Generator>WCF Proxy Generator</Generator> + <LastGenOutput>Reference.cs</LastGenOutput> + </None> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Excercise7.sln b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Excercise7.sln new file mode 100644 index 0000000..e45118f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Excercise7.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise7", "Excercise7.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Program.cs new file mode 100644 index 0000000..28e07b6 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Program.cs @@ -0,0 +1,37 @@ +using System; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; +using Excercise7.DictionarySuggestService; + +namespace Excercise7 +{ + class Program + { + static void Main() + { + var svc = new DictServiceSoapClient("DictServiceSoap"); + var matchInDict = Observable.FromAsyncPattern<string, string, string, DictionaryWord[]> + (svc.BeginMatchInDict, svc.EndMatchInDict); + + Func<string, IObservable<DictionaryWord[]>> matchInWordNetByPrefix = + term => matchInDict("wn", term, "prefix"); + + var res = matchInWordNetByPrefix("react"); + var subscription = res.Subscribe( + words => + { + foreach (var word in words) + Console.WriteLine(word.Word); + }, + ex => + { + Console.Error.WriteLine(ex.Message); + } + ); + + Console.ReadLine(); + + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..c07d001 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise7")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise7")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/DictService.disco b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/DictService.disco new file mode 100644 index 0000000..d8b4769 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/DictService.disco @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> + <contractRef ref="http://services.aonaware.com/DictService/DictService.asmx?wsdl" docRef="http://services.aonaware.com/DictService/DictService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q1="http://services.aonaware.com/webservices/" binding="q1:DictServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q2="http://services.aonaware.com/webservices/" binding="q2:DictServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> +</discovery>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/DictService.wsdl b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/DictService.wsdl new file mode 100644 index 0000000..72a8189 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/DictService.wsdl @@ -0,0 +1,824 @@ +<?xml version="1.0" encoding="utf-8"?> +<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://services.aonaware.com/webservices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://services.aonaware.com/webservices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:types> + <s:schema elementFormDefault="qualified" targetNamespace="http://services.aonaware.com/webservices/"> + <s:element name="ServerInfo"> + <s:complexType /> + </s:element> + <s:element name="ServerInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="ServerInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryList"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Dictionary" nillable="true" type="tns:Dictionary" /> + </s:sequence> + </s:complexType> + <s:complexType name="Dictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DictionaryListExtended"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListExtendedResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListExtendedResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfo"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="Define"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="WordDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Definitions" type="tns:ArrayOfDefinition" /> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Definition" nillable="true" type="tns:Definition" /> + </s:sequence> + </s:complexType> + <s:complexType name="Definition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Dictionary" type="tns:Dictionary" /> + <s:element minOccurs="0" maxOccurs="1" name="WordDefinition" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DefineInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineInDictResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="StrategyList"> + <s:complexType /> + </s:element> + <s:element name="StrategyListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="StrategyListResult" type="tns:ArrayOfStrategy" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfStrategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Strategy" nillable="true" type="tns:Strategy" /> + </s:sequence> + </s:complexType> + <s:complexType name="Strategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="Match"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="DictionaryWord" nillable="true" type="tns:DictionaryWord" /> + </s:sequence> + </s:complexType> + <s:complexType name="DictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="MatchInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchInDictResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="string" nillable="true" type="s:string" /> + <s:element name="ArrayOfDictionary" nillable="true" type="tns:ArrayOfDictionary" /> + <s:element name="WordDefinition" nillable="true" type="tns:WordDefinition" /> + <s:element name="ArrayOfStrategy" nillable="true" type="tns:ArrayOfStrategy" /> + <s:element name="ArrayOfDictionaryWord" nillable="true" type="tns:ArrayOfDictionaryWord" /> + </s:schema> + </wsdl:types> + <wsdl:message name="ServerInfoSoapIn"> + <wsdl:part name="parameters" element="tns:ServerInfo" /> + </wsdl:message> + <wsdl:message name="ServerInfoSoapOut"> + <wsdl:part name="parameters" element="tns:ServerInfoResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryList" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryListExtended" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListExtendedResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryInfo" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryInfoResponse" /> + </wsdl:message> + <wsdl:message name="DefineSoapIn"> + <wsdl:part name="parameters" element="tns:Define" /> + </wsdl:message> + <wsdl:message name="DefineSoapOut"> + <wsdl:part name="parameters" element="tns:DefineResponse" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapIn"> + <wsdl:part name="parameters" element="tns:DefineInDict" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapOut"> + <wsdl:part name="parameters" element="tns:DefineInDictResponse" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapIn"> + <wsdl:part name="parameters" element="tns:StrategyList" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapOut"> + <wsdl:part name="parameters" element="tns:StrategyListResponse" /> + </wsdl:message> + <wsdl:message name="MatchSoapIn"> + <wsdl:part name="parameters" element="tns:Match" /> + </wsdl:message> + <wsdl:message name="MatchSoapOut"> + <wsdl:part name="parameters" element="tns:MatchResponse" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapIn"> + <wsdl:part name="parameters" element="tns:MatchInDict" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapOut"> + <wsdl:part name="parameters" element="tns:MatchInDictResponse" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpGetIn" /> + <wsdl:message name="ServerInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpGetIn" /> + <wsdl:message name="DictionaryListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpGetIn" /> + <wsdl:message name="DictionaryListExtendedHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpGetIn" /> + <wsdl:message name="StrategyListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpPostIn" /> + <wsdl:message name="ServerInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpPostIn" /> + <wsdl:message name="DictionaryListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpPostIn" /> + <wsdl:message name="DictionaryListExtendedHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpPostIn" /> + <wsdl:message name="StrategyListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:portType name="DictServiceSoap"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoSoapIn" /> + <wsdl:output message="tns:ServerInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListSoapIn" /> + <wsdl:output message="tns:DictionaryListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedSoapIn" /> + <wsdl:output message="tns:DictionaryListExtendedSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoSoapIn" /> + <wsdl:output message="tns:DictionaryInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineSoapIn" /> + <wsdl:output message="tns:DefineSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictSoapIn" /> + <wsdl:output message="tns:DefineInDictSoapOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListSoapIn" /> + <wsdl:output message="tns:StrategyListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchSoapIn" /> + <wsdl:output message="tns:MatchSoapOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictSoapIn" /> + <wsdl:output message="tns:MatchInDictSoapOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpGet"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpGetIn" /> + <wsdl:output message="tns:ServerInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpGetIn" /> + <wsdl:output message="tns:DictionaryListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpGetIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpGetIn" /> + <wsdl:output message="tns:DictionaryInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpGetIn" /> + <wsdl:output message="tns:DefineHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpGetIn" /> + <wsdl:output message="tns:DefineInDictHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpGetIn" /> + <wsdl:output message="tns:StrategyListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpGetIn" /> + <wsdl:output message="tns:MatchHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpGetIn" /> + <wsdl:output message="tns:MatchInDictHttpGetOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpPost"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpPostIn" /> + <wsdl:output message="tns:ServerInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpPostIn" /> + <wsdl:output message="tns:DictionaryListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpPostIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpPostIn" /> + <wsdl:output message="tns:DictionaryInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpPostIn" /> + <wsdl:output message="tns:DefineHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpPostIn" /> + <wsdl:output message="tns:DefineInDictHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpPostIn" /> + <wsdl:output message="tns:StrategyListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpPostIn" /> + <wsdl:output message="tns:MatchHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpPostIn" /> + <wsdl:output message="tns:MatchInDictHttpPostOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="DictServiceSoap" type="tns:DictServiceSoap"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" 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="DictServiceSoap12" type="tns:DictServiceSoap"> + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpGet" type="tns:DictServiceHttpGet"> + <http:binding verb="GET" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpPost" type="tns:DictServiceHttpPost"> + <http:binding verb="POST" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="DictService"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:port name="DictServiceSoap" binding="tns:DictServiceSoap"> + <soap:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceSoap12" binding="tns:DictServiceSoap12"> + <soap12:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpGet" binding="tns:DictServiceHttpGet"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpPost" binding="tns:DictServiceHttpPost"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + </wsdl:service> +</wsdl:definitions>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Dictionary.datasource b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Dictionary.datasource new file mode 100644 index 0000000..eeea716 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Dictionary.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Dictionary" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise7.DictionarySuggestService.Dictionary, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.DictionaryWord.datasource b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.DictionaryWord.datasource new file mode 100644 index 0000000..599aaa5 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.DictionaryWord.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="DictionaryWord" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise7.DictionarySuggestService.DictionaryWord, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Strategy.datasource b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Strategy.datasource new file mode 100644 index 0000000..a20e8f2 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Strategy.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Strategy" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise7.DictionarySuggestService.Strategy, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.WordDefinition.datasource b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.WordDefinition.datasource new file mode 100644 index 0000000..a1ec774 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.WordDefinition.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="WordDefinition" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise7.DictionarySuggestService.WordDefinition, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/Reference.cs b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/Reference.cs new file mode 100644 index 0000000..d7ded3c --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/Reference.cs @@ -0,0 +1,1064 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.431 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace Excercise7.DictionarySuggestService { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://services.aonaware.com/webservices/", ConfigurationName="DictionarySuggestService.DictServiceSoap")] + public interface DictServiceSoap { + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string ServerInfo(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState); + + string EndServerInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryListExtended(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryListExtended(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string DictionaryInfo(string dictId); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState); + + string EndDictionaryInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise7.DictionarySuggestService.WordDefinition Define(string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState); + + Excercise7.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise7.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState); + + Excercise7.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Strategy[] StrategyList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState); + + Strategy[] EndStrategyList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] Match(string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatch(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] MatchInDict(string dictId, string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatchInDict(System.IAsyncResult result); + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Dictionary : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string nameField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class DictionaryWord : object, System.ComponentModel.INotifyPropertyChanged { + + private string dictionaryIdField; + + private string wordField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string DictionaryId { + get { + return this.dictionaryIdField; + } + set { + this.dictionaryIdField = value; + this.RaisePropertyChanged("DictionaryId"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Strategy : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string descriptionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Definition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Dictionary dictionaryField; + + private string wordDefinitionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public Dictionary Dictionary { + get { + return this.dictionaryField; + } + set { + this.dictionaryField = value; + this.RaisePropertyChanged("Dictionary"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string WordDefinition { + get { + return this.wordDefinitionField; + } + set { + this.wordDefinitionField = value; + this.RaisePropertyChanged("WordDefinition"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class WordDefinition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Definition[] definitionsField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public Definition[] Definitions { + get { + return this.definitionsField; + } + set { + this.definitionsField = value; + this.RaisePropertyChanged("Definitions"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface DictServiceSoapChannel : Excercise7.DictionarySuggestService.DictServiceSoap, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class ServerInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public ServerInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListExtendedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListExtendedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise7.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise7.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise7.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise7.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class StrategyListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public StrategyListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Strategy[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Strategy[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictServiceSoapClient : System.ServiceModel.ClientBase<Excercise7.DictionarySuggestService.DictServiceSoap>, Excercise7.DictionarySuggestService.DictServiceSoap { + + private BeginOperationDelegate onBeginServerInfoDelegate; + + private EndOperationDelegate onEndServerInfoDelegate; + + private System.Threading.SendOrPostCallback onServerInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListDelegate; + + private EndOperationDelegate onEndDictionaryListDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListExtendedDelegate; + + private EndOperationDelegate onEndDictionaryListExtendedDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListExtendedCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryInfoDelegate; + + private EndOperationDelegate onEndDictionaryInfoDelegate; + + private System.Threading.SendOrPostCallback onDictionaryInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDefineDelegate; + + private EndOperationDelegate onEndDefineDelegate; + + private System.Threading.SendOrPostCallback onDefineCompletedDelegate; + + private BeginOperationDelegate onBeginDefineInDictDelegate; + + private EndOperationDelegate onEndDefineInDictDelegate; + + private System.Threading.SendOrPostCallback onDefineInDictCompletedDelegate; + + private BeginOperationDelegate onBeginStrategyListDelegate; + + private EndOperationDelegate onEndStrategyListDelegate; + + private System.Threading.SendOrPostCallback onStrategyListCompletedDelegate; + + private BeginOperationDelegate onBeginMatchDelegate; + + private EndOperationDelegate onEndMatchDelegate; + + private System.Threading.SendOrPostCallback onMatchCompletedDelegate; + + private BeginOperationDelegate onBeginMatchInDictDelegate; + + private EndOperationDelegate onEndMatchInDictDelegate; + + private System.Threading.SendOrPostCallback onMatchInDictCompletedDelegate; + + public DictServiceSoapClient() { + } + + public DictServiceSoapClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public DictServiceSoapClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + public event System.EventHandler<ServerInfoCompletedEventArgs> ServerInfoCompleted; + + public event System.EventHandler<DictionaryListCompletedEventArgs> DictionaryListCompleted; + + public event System.EventHandler<DictionaryListExtendedCompletedEventArgs> DictionaryListExtendedCompleted; + + public event System.EventHandler<DictionaryInfoCompletedEventArgs> DictionaryInfoCompleted; + + public event System.EventHandler<DefineCompletedEventArgs> DefineCompleted; + + public event System.EventHandler<DefineInDictCompletedEventArgs> DefineInDictCompleted; + + public event System.EventHandler<StrategyListCompletedEventArgs> StrategyListCompleted; + + public event System.EventHandler<MatchCompletedEventArgs> MatchCompleted; + + public event System.EventHandler<MatchInDictCompletedEventArgs> MatchInDictCompleted; + + public string ServerInfo() { + return base.Channel.ServerInfo(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginServerInfo(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndServerInfo(System.IAsyncResult result) { + return base.Channel.EndServerInfo(result); + } + + private System.IAsyncResult OnBeginServerInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginServerInfo(callback, asyncState); + } + + private object[] OnEndServerInfo(System.IAsyncResult result) { + string retVal = this.EndServerInfo(result); + return new object[] { + retVal}; + } + + private void OnServerInfoCompleted(object state) { + if ((this.ServerInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.ServerInfoCompleted(this, new ServerInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void ServerInfoAsync() { + this.ServerInfoAsync(null); + } + + public void ServerInfoAsync(object userState) { + if ((this.onBeginServerInfoDelegate == null)) { + this.onBeginServerInfoDelegate = new BeginOperationDelegate(this.OnBeginServerInfo); + } + if ((this.onEndServerInfoDelegate == null)) { + this.onEndServerInfoDelegate = new EndOperationDelegate(this.OnEndServerInfo); + } + if ((this.onServerInfoCompletedDelegate == null)) { + this.onServerInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnServerInfoCompleted); + } + base.InvokeAsync(this.onBeginServerInfoDelegate, null, this.onEndServerInfoDelegate, this.onServerInfoCompletedDelegate, userState); + } + + public Dictionary[] DictionaryList() { + return base.Channel.DictionaryList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryList(System.IAsyncResult result) { + return base.Channel.EndDictionaryList(result); + } + + private System.IAsyncResult OnBeginDictionaryList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryList(callback, asyncState); + } + + private object[] OnEndDictionaryList(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryList(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListCompleted(object state) { + if ((this.DictionaryListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListCompleted(this, new DictionaryListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListAsync() { + this.DictionaryListAsync(null); + } + + public void DictionaryListAsync(object userState) { + if ((this.onBeginDictionaryListDelegate == null)) { + this.onBeginDictionaryListDelegate = new BeginOperationDelegate(this.OnBeginDictionaryList); + } + if ((this.onEndDictionaryListDelegate == null)) { + this.onEndDictionaryListDelegate = new EndOperationDelegate(this.OnEndDictionaryList); + } + if ((this.onDictionaryListCompletedDelegate == null)) { + this.onDictionaryListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListDelegate, null, this.onEndDictionaryListDelegate, this.onDictionaryListCompletedDelegate, userState); + } + + public Dictionary[] DictionaryListExtended() { + return base.Channel.DictionaryListExtended(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryListExtended(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryListExtended(System.IAsyncResult result) { + return base.Channel.EndDictionaryListExtended(result); + } + + private System.IAsyncResult OnBeginDictionaryListExtended(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryListExtended(callback, asyncState); + } + + private object[] OnEndDictionaryListExtended(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryListExtended(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListExtendedCompleted(object state) { + if ((this.DictionaryListExtendedCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListExtendedCompleted(this, new DictionaryListExtendedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListExtendedAsync() { + this.DictionaryListExtendedAsync(null); + } + + public void DictionaryListExtendedAsync(object userState) { + if ((this.onBeginDictionaryListExtendedDelegate == null)) { + this.onBeginDictionaryListExtendedDelegate = new BeginOperationDelegate(this.OnBeginDictionaryListExtended); + } + if ((this.onEndDictionaryListExtendedDelegate == null)) { + this.onEndDictionaryListExtendedDelegate = new EndOperationDelegate(this.OnEndDictionaryListExtended); + } + if ((this.onDictionaryListExtendedCompletedDelegate == null)) { + this.onDictionaryListExtendedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListExtendedCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListExtendedDelegate, null, this.onEndDictionaryListExtendedDelegate, this.onDictionaryListExtendedCompletedDelegate, userState); + } + + public string DictionaryInfo(string dictId) { + return base.Channel.DictionaryInfo(dictId); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryInfo(dictId, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndDictionaryInfo(System.IAsyncResult result) { + return base.Channel.EndDictionaryInfo(result); + } + + private System.IAsyncResult OnBeginDictionaryInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + return this.BeginDictionaryInfo(dictId, callback, asyncState); + } + + private object[] OnEndDictionaryInfo(System.IAsyncResult result) { + string retVal = this.EndDictionaryInfo(result); + return new object[] { + retVal}; + } + + private void OnDictionaryInfoCompleted(object state) { + if ((this.DictionaryInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryInfoCompleted(this, new DictionaryInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryInfoAsync(string dictId) { + this.DictionaryInfoAsync(dictId, null); + } + + public void DictionaryInfoAsync(string dictId, object userState) { + if ((this.onBeginDictionaryInfoDelegate == null)) { + this.onBeginDictionaryInfoDelegate = new BeginOperationDelegate(this.OnBeginDictionaryInfo); + } + if ((this.onEndDictionaryInfoDelegate == null)) { + this.onEndDictionaryInfoDelegate = new EndOperationDelegate(this.OnEndDictionaryInfo); + } + if ((this.onDictionaryInfoCompletedDelegate == null)) { + this.onDictionaryInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryInfoCompleted); + } + base.InvokeAsync(this.onBeginDictionaryInfoDelegate, new object[] { + dictId}, this.onEndDictionaryInfoDelegate, this.onDictionaryInfoCompletedDelegate, userState); + } + + public Excercise7.DictionarySuggestService.WordDefinition Define(string word) { + return base.Channel.Define(word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefine(word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise7.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result) { + return base.Channel.EndDefine(result); + } + + private System.IAsyncResult OnBeginDefine(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + return this.BeginDefine(word, callback, asyncState); + } + + private object[] OnEndDefine(System.IAsyncResult result) { + Excercise7.DictionarySuggestService.WordDefinition retVal = this.EndDefine(result); + return new object[] { + retVal}; + } + + private void OnDefineCompleted(object state) { + if ((this.DefineCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineCompleted(this, new DefineCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineAsync(string word) { + this.DefineAsync(word, null); + } + + public void DefineAsync(string word, object userState) { + if ((this.onBeginDefineDelegate == null)) { + this.onBeginDefineDelegate = new BeginOperationDelegate(this.OnBeginDefine); + } + if ((this.onEndDefineDelegate == null)) { + this.onEndDefineDelegate = new EndOperationDelegate(this.OnEndDefine); + } + if ((this.onDefineCompletedDelegate == null)) { + this.onDefineCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineCompleted); + } + base.InvokeAsync(this.onBeginDefineDelegate, new object[] { + word}, this.onEndDefineDelegate, this.onDefineCompletedDelegate, userState); + } + + public Excercise7.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word) { + return base.Channel.DefineInDict(dictId, word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefineInDict(dictId, word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise7.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result) { + return base.Channel.EndDefineInDict(result); + } + + private System.IAsyncResult OnBeginDefineInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + return this.BeginDefineInDict(dictId, word, callback, asyncState); + } + + private object[] OnEndDefineInDict(System.IAsyncResult result) { + Excercise7.DictionarySuggestService.WordDefinition retVal = this.EndDefineInDict(result); + return new object[] { + retVal}; + } + + private void OnDefineInDictCompleted(object state) { + if ((this.DefineInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineInDictCompleted(this, new DefineInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineInDictAsync(string dictId, string word) { + this.DefineInDictAsync(dictId, word, null); + } + + public void DefineInDictAsync(string dictId, string word, object userState) { + if ((this.onBeginDefineInDictDelegate == null)) { + this.onBeginDefineInDictDelegate = new BeginOperationDelegate(this.OnBeginDefineInDict); + } + if ((this.onEndDefineInDictDelegate == null)) { + this.onEndDefineInDictDelegate = new EndOperationDelegate(this.OnEndDefineInDict); + } + if ((this.onDefineInDictCompletedDelegate == null)) { + this.onDefineInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineInDictCompleted); + } + base.InvokeAsync(this.onBeginDefineInDictDelegate, new object[] { + dictId, + word}, this.onEndDefineInDictDelegate, this.onDefineInDictCompletedDelegate, userState); + } + + public Strategy[] StrategyList() { + return base.Channel.StrategyList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginStrategyList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Strategy[] EndStrategyList(System.IAsyncResult result) { + return base.Channel.EndStrategyList(result); + } + + private System.IAsyncResult OnBeginStrategyList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginStrategyList(callback, asyncState); + } + + private object[] OnEndStrategyList(System.IAsyncResult result) { + Strategy[] retVal = this.EndStrategyList(result); + return new object[] { + retVal}; + } + + private void OnStrategyListCompleted(object state) { + if ((this.StrategyListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.StrategyListCompleted(this, new StrategyListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void StrategyListAsync() { + this.StrategyListAsync(null); + } + + public void StrategyListAsync(object userState) { + if ((this.onBeginStrategyListDelegate == null)) { + this.onBeginStrategyListDelegate = new BeginOperationDelegate(this.OnBeginStrategyList); + } + if ((this.onEndStrategyListDelegate == null)) { + this.onEndStrategyListDelegate = new EndOperationDelegate(this.OnEndStrategyList); + } + if ((this.onStrategyListCompletedDelegate == null)) { + this.onStrategyListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStrategyListCompleted); + } + base.InvokeAsync(this.onBeginStrategyListDelegate, null, this.onEndStrategyListDelegate, this.onStrategyListCompletedDelegate, userState); + } + + public DictionaryWord[] Match(string word, string strategy) { + return base.Channel.Match(word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatch(word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatch(System.IAsyncResult result) { + return base.Channel.EndMatch(result); + } + + private System.IAsyncResult OnBeginMatch(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + string strategy = ((string)(inValues[1])); + return this.BeginMatch(word, strategy, callback, asyncState); + } + + private object[] OnEndMatch(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatch(result); + return new object[] { + retVal}; + } + + private void OnMatchCompleted(object state) { + if ((this.MatchCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchCompleted(this, new MatchCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchAsync(string word, string strategy) { + this.MatchAsync(word, strategy, null); + } + + public void MatchAsync(string word, string strategy, object userState) { + if ((this.onBeginMatchDelegate == null)) { + this.onBeginMatchDelegate = new BeginOperationDelegate(this.OnBeginMatch); + } + if ((this.onEndMatchDelegate == null)) { + this.onEndMatchDelegate = new EndOperationDelegate(this.OnEndMatch); + } + if ((this.onMatchCompletedDelegate == null)) { + this.onMatchCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchCompleted); + } + base.InvokeAsync(this.onBeginMatchDelegate, new object[] { + word, + strategy}, this.onEndMatchDelegate, this.onMatchCompletedDelegate, userState); + } + + public DictionaryWord[] MatchInDict(string dictId, string word, string strategy) { + return base.Channel.MatchInDict(dictId, word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatchInDict(System.IAsyncResult result) { + return base.Channel.EndMatchInDict(result); + } + + private System.IAsyncResult OnBeginMatchInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + string strategy = ((string)(inValues[2])); + return this.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + private object[] OnEndMatchInDict(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatchInDict(result); + return new object[] { + retVal}; + } + + private void OnMatchInDictCompleted(object state) { + if ((this.MatchInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchInDictCompleted(this, new MatchInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchInDictAsync(string dictId, string word, string strategy) { + this.MatchInDictAsync(dictId, word, strategy, null); + } + + public void MatchInDictAsync(string dictId, string word, string strategy, object userState) { + if ((this.onBeginMatchInDictDelegate == null)) { + this.onBeginMatchInDictDelegate = new BeginOperationDelegate(this.OnBeginMatchInDict); + } + if ((this.onEndMatchInDictDelegate == null)) { + this.onEndMatchInDictDelegate = new EndOperationDelegate(this.OnEndMatchInDict); + } + if ((this.onMatchInDictCompletedDelegate == null)) { + this.onMatchInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchInDictCompleted); + } + base.InvokeAsync(this.onBeginMatchInDictDelegate, new object[] { + dictId, + word, + strategy}, this.onEndMatchInDictDelegate, this.onMatchInDictCompletedDelegate, userState); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/Reference.svcmap b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/Reference.svcmap new file mode 100644 index 0000000..d7c3633 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/Reference.svcmap @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="e38186f9-cfd7-4334-881c-63618db94b50" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap"> + <ClientOptions> + <GenerateAsynchronousMethods>true</GenerateAsynchronousMethods> + <EnableDataBinding>true</EnableDataBinding> + <ExcludedTypes /> + <ImportXmlTypes>false</ImportXmlTypes> + <GenerateInternalTypes>false</GenerateInternalTypes> + <GenerateMessageContracts>false</GenerateMessageContracts> + <NamespaceMappings /> + <CollectionMappings /> + <GenerateSerializableTypes>true</GenerateSerializableTypes> + <Serializer>Auto</Serializer> + <UseSerializerForFaults>true</UseSerializerForFaults> + <ReferenceAllAssemblies>true</ReferenceAllAssemblies> + <ReferencedAssemblies /> + <ReferencedDataContractTypes /> + <ServiceContractMappings /> + </ClientOptions> + <MetadataSources> + <MetadataSource Address="http://services.aonaware.com/DictService/DictService.asmx" Protocol="http" SourceId="1" /> + </MetadataSources> + <Metadata> + <MetadataFile FileName="DictService.disco" MetadataType="Disco" ID="87064546-562f-40b9-899f-e2020c598914" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?disco" /> + <MetadataFile FileName="DictService.wsdl" MetadataType="Wsdl" ID="743bb2fa-2b60-444b-b1f3-ac2dc4a01af9" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?wsdl" /> + </Metadata> + <Extensions> + <ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" /> + <ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" /> + </Extensions> +</ReferenceGroup>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/configuration.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/configuration.svcinfo new file mode 100644 index 0000000..a856d3d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/configuration.svcinfo @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot"> + <behaviors /> + <bindings> + <binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" messageEncoding="Text" name="DictServiceSoap" textEncoding="utf-8" transferMode="Buffered"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /><security mode="None"><message algorithmSuite="Default" clientCredentialType="UserName" /><transport clientCredentialType="None" proxyCredentialType="None" realm="" /></security></Data>" bindingType="basicHttpBinding" name="DictServiceSoap" /> + <binding digest="System.ServiceModel.Configuration.CustomBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="DictServiceSoap12"><httpTransport allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" manualAddressing="false" maxBufferPoolSize="524288" maxBufferSize="65536" maxReceivedMessageSize="65536" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" /><textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap12" writeEncoding="utf-8"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /></textMessageEncoding></Data>" bindingType="customBinding" name="DictServiceSoap12" /> + </bindings> + <endpoints> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </endpoints> +</configurationSnapshot>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/configuration91.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/configuration91.svcinfo new file mode 100644 index 0000000..2599177 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/Service References/DictionarySuggestService/configuration91.svcinfo @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="Cb1mlQVfrIvXhoWXP+TpwPhxgGY="> + <bindingConfigurations> + <bindingConfiguration bindingType="basicHttpBinding" name="DictServiceSoap"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:10:00</serializedValue> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Text</serializedValue> + </property> + <property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue> + </property> + <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue> + </property> + <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + <property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue> + </property> + <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>UserName</serializedValue> + </property> + <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Default</serializedValue> + </property> + <property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + </properties> + </bindingConfiguration> + <bindingConfiguration bindingType="customBinding" name="DictServiceSoap12"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/textMessageEncoding" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TextMessageEncodingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.TextMessageEncodingElement</serializedValue> + </property> + <property path="/textMessageEncoding/maxReadPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>64</serializedValue> + </property> + <property path="/textMessageEncoding/maxWritePoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16</serializedValue> + </property> + <property path="/textMessageEncoding/messageVersion" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.MessageVersion, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Soap12</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/writeEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/httpTransport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportElement</serializedValue> + </property> + <property path="/httpTransport/manualAddressing" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/httpTransport/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/authenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/decompressionEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/httpTransport/keepAliveEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/proxyAddress" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/proxyAuthenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/httpTransport/unsafeConnectionNtlmAuthentication" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + </properties> + </bindingConfiguration> + </bindingConfigurations> + <endpoints> + <endpoint name="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" bindingType="basicHttpBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>basicHttpBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + <endpoint name="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" bindingType="customBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap12"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>customBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + </endpoints> +</SavedWcfConfigurationInformation>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step06/app.config b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/app.config new file mode 100644 index 0000000..cf1770f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step06/app.config @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <system.serviceModel> + <bindings> + <basicHttpBinding> + <binding name="DictServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" + receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" + bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" + maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" + messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" + useDefaultWebProxy="true"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + <security mode="None"> + <transport clientCredentialType="None" proxyCredentialType="None" + realm="" /> + <message clientCredentialType="UserName" algorithmSuite="Default" /> + </security> + </binding> + </basicHttpBinding> + <customBinding> + <binding name="DictServiceSoap12"> + <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" + messageVersion="Soap12" writeEncoding="utf-8"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + </textMessageEncoding> + <httpTransport manualAddressing="false" maxBufferPoolSize="524288" + maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous" + bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" + keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous" + realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" + useDefaultWebProxy="true" /> + </binding> + </customBinding> + </bindings> + <client> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="customBinding" bindingConfiguration="DictServiceSoap12" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </client> + </system.serviceModel> +</configuration>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Excercise7.csproj b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Excercise7.csproj new file mode 100644 index 0000000..aefd3be --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Excercise7.csproj @@ -0,0 +1,104 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{488A98AD-01C0-4C12-880E-FD90696A7205}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise7</RootNamespace> + <AssemblyName>Excercise7</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.ServiceModel" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Service References\DictionarySuggestService\Reference.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Reference.svcmap</DependentUpon> + </Compile> + </ItemGroup> + <ItemGroup> + <WCFMetadata Include="Service References\" /> + </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + <None Include="Service References\DictionarySuggestService\DictService.wsdl" /> + <None Include="Service References\DictionarySuggestService\Excercise7.DictionarySuggestService.Dictionary.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise7.DictionarySuggestService.DictionaryWord.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise7.DictionarySuggestService.Strategy.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise7.DictionarySuggestService.WordDefinition.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + </ItemGroup> + <ItemGroup> + <WCFMetadataStorage Include="Service References\DictionarySuggestService\" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\DictService.disco" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration91.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\Reference.svcmap"> + <Generator>WCF Proxy Generator</Generator> + <LastGenOutput>Reference.cs</LastGenOutput> + </None> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Excercise7.sln b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Excercise7.sln new file mode 100644 index 0000000..e45118f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Excercise7.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise7", "Excercise7.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Program.cs new file mode 100644 index 0000000..f98cd83 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Program.cs @@ -0,0 +1,32 @@ +using System; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; +using Excercise7.DictionarySuggestService; + +namespace Excercise7 +{ + class Program + { + static void Main() + { + var svc = new DictServiceSoapClient("DictServiceSoap"); + var matchInDict = Observable.FromAsyncPattern<string, string, string, DictionaryWord[]> + (svc.BeginMatchInDict, svc.EndMatchInDict); + + Func<string, IObservable<DictionaryWord[]>> matchInWordNetByPrefix = + term => matchInDict("wn", term, "prefix"); + + var input = "reactive"; + for (int len = 3; len <= input.Length; len++) + { + var req = input.Substring(0, len); + matchInWordNetByPrefix(req).Subscribe( + words => Console.WriteLine(req + " --> " + words.Length) + ); + } + + Console.ReadLine(); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..c07d001 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise7")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise7")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/DictService.disco b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/DictService.disco new file mode 100644 index 0000000..d8b4769 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/DictService.disco @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> + <contractRef ref="http://services.aonaware.com/DictService/DictService.asmx?wsdl" docRef="http://services.aonaware.com/DictService/DictService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q1="http://services.aonaware.com/webservices/" binding="q1:DictServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q2="http://services.aonaware.com/webservices/" binding="q2:DictServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> +</discovery>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/DictService.wsdl b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/DictService.wsdl new file mode 100644 index 0000000..72a8189 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/DictService.wsdl @@ -0,0 +1,824 @@ +<?xml version="1.0" encoding="utf-8"?> +<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://services.aonaware.com/webservices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://services.aonaware.com/webservices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:types> + <s:schema elementFormDefault="qualified" targetNamespace="http://services.aonaware.com/webservices/"> + <s:element name="ServerInfo"> + <s:complexType /> + </s:element> + <s:element name="ServerInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="ServerInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryList"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Dictionary" nillable="true" type="tns:Dictionary" /> + </s:sequence> + </s:complexType> + <s:complexType name="Dictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DictionaryListExtended"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListExtendedResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListExtendedResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfo"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="Define"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="WordDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Definitions" type="tns:ArrayOfDefinition" /> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Definition" nillable="true" type="tns:Definition" /> + </s:sequence> + </s:complexType> + <s:complexType name="Definition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Dictionary" type="tns:Dictionary" /> + <s:element minOccurs="0" maxOccurs="1" name="WordDefinition" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DefineInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineInDictResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="StrategyList"> + <s:complexType /> + </s:element> + <s:element name="StrategyListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="StrategyListResult" type="tns:ArrayOfStrategy" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfStrategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Strategy" nillable="true" type="tns:Strategy" /> + </s:sequence> + </s:complexType> + <s:complexType name="Strategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="Match"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="DictionaryWord" nillable="true" type="tns:DictionaryWord" /> + </s:sequence> + </s:complexType> + <s:complexType name="DictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="MatchInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchInDictResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="string" nillable="true" type="s:string" /> + <s:element name="ArrayOfDictionary" nillable="true" type="tns:ArrayOfDictionary" /> + <s:element name="WordDefinition" nillable="true" type="tns:WordDefinition" /> + <s:element name="ArrayOfStrategy" nillable="true" type="tns:ArrayOfStrategy" /> + <s:element name="ArrayOfDictionaryWord" nillable="true" type="tns:ArrayOfDictionaryWord" /> + </s:schema> + </wsdl:types> + <wsdl:message name="ServerInfoSoapIn"> + <wsdl:part name="parameters" element="tns:ServerInfo" /> + </wsdl:message> + <wsdl:message name="ServerInfoSoapOut"> + <wsdl:part name="parameters" element="tns:ServerInfoResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryList" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryListExtended" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListExtendedResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryInfo" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryInfoResponse" /> + </wsdl:message> + <wsdl:message name="DefineSoapIn"> + <wsdl:part name="parameters" element="tns:Define" /> + </wsdl:message> + <wsdl:message name="DefineSoapOut"> + <wsdl:part name="parameters" element="tns:DefineResponse" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapIn"> + <wsdl:part name="parameters" element="tns:DefineInDict" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapOut"> + <wsdl:part name="parameters" element="tns:DefineInDictResponse" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapIn"> + <wsdl:part name="parameters" element="tns:StrategyList" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapOut"> + <wsdl:part name="parameters" element="tns:StrategyListResponse" /> + </wsdl:message> + <wsdl:message name="MatchSoapIn"> + <wsdl:part name="parameters" element="tns:Match" /> + </wsdl:message> + <wsdl:message name="MatchSoapOut"> + <wsdl:part name="parameters" element="tns:MatchResponse" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapIn"> + <wsdl:part name="parameters" element="tns:MatchInDict" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapOut"> + <wsdl:part name="parameters" element="tns:MatchInDictResponse" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpGetIn" /> + <wsdl:message name="ServerInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpGetIn" /> + <wsdl:message name="DictionaryListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpGetIn" /> + <wsdl:message name="DictionaryListExtendedHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpGetIn" /> + <wsdl:message name="StrategyListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpPostIn" /> + <wsdl:message name="ServerInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpPostIn" /> + <wsdl:message name="DictionaryListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpPostIn" /> + <wsdl:message name="DictionaryListExtendedHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpPostIn" /> + <wsdl:message name="StrategyListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:portType name="DictServiceSoap"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoSoapIn" /> + <wsdl:output message="tns:ServerInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListSoapIn" /> + <wsdl:output message="tns:DictionaryListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedSoapIn" /> + <wsdl:output message="tns:DictionaryListExtendedSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoSoapIn" /> + <wsdl:output message="tns:DictionaryInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineSoapIn" /> + <wsdl:output message="tns:DefineSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictSoapIn" /> + <wsdl:output message="tns:DefineInDictSoapOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListSoapIn" /> + <wsdl:output message="tns:StrategyListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchSoapIn" /> + <wsdl:output message="tns:MatchSoapOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictSoapIn" /> + <wsdl:output message="tns:MatchInDictSoapOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpGet"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpGetIn" /> + <wsdl:output message="tns:ServerInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpGetIn" /> + <wsdl:output message="tns:DictionaryListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpGetIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpGetIn" /> + <wsdl:output message="tns:DictionaryInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpGetIn" /> + <wsdl:output message="tns:DefineHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpGetIn" /> + <wsdl:output message="tns:DefineInDictHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpGetIn" /> + <wsdl:output message="tns:StrategyListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpGetIn" /> + <wsdl:output message="tns:MatchHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpGetIn" /> + <wsdl:output message="tns:MatchInDictHttpGetOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpPost"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpPostIn" /> + <wsdl:output message="tns:ServerInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpPostIn" /> + <wsdl:output message="tns:DictionaryListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpPostIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpPostIn" /> + <wsdl:output message="tns:DictionaryInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpPostIn" /> + <wsdl:output message="tns:DefineHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpPostIn" /> + <wsdl:output message="tns:DefineInDictHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpPostIn" /> + <wsdl:output message="tns:StrategyListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpPostIn" /> + <wsdl:output message="tns:MatchHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpPostIn" /> + <wsdl:output message="tns:MatchInDictHttpPostOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="DictServiceSoap" type="tns:DictServiceSoap"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" 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="DictServiceSoap12" type="tns:DictServiceSoap"> + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpGet" type="tns:DictServiceHttpGet"> + <http:binding verb="GET" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpPost" type="tns:DictServiceHttpPost"> + <http:binding verb="POST" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="DictService"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:port name="DictServiceSoap" binding="tns:DictServiceSoap"> + <soap:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceSoap12" binding="tns:DictServiceSoap12"> + <soap12:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpGet" binding="tns:DictServiceHttpGet"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpPost" binding="tns:DictServiceHttpPost"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + </wsdl:service> +</wsdl:definitions>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Dictionary.datasource b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Dictionary.datasource new file mode 100644 index 0000000..eeea716 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Dictionary.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Dictionary" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise7.DictionarySuggestService.Dictionary, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.DictionaryWord.datasource b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.DictionaryWord.datasource new file mode 100644 index 0000000..599aaa5 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.DictionaryWord.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="DictionaryWord" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise7.DictionarySuggestService.DictionaryWord, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Strategy.datasource b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Strategy.datasource new file mode 100644 index 0000000..a20e8f2 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.Strategy.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Strategy" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise7.DictionarySuggestService.Strategy, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.WordDefinition.datasource b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.WordDefinition.datasource new file mode 100644 index 0000000..a1ec774 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/Excercise7.DictionarySuggestService.WordDefinition.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="WordDefinition" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise7.DictionarySuggestService.WordDefinition, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/Reference.cs b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/Reference.cs new file mode 100644 index 0000000..d7ded3c --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/Reference.cs @@ -0,0 +1,1064 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.431 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace Excercise7.DictionarySuggestService { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://services.aonaware.com/webservices/", ConfigurationName="DictionarySuggestService.DictServiceSoap")] + public interface DictServiceSoap { + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string ServerInfo(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState); + + string EndServerInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryListExtended(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryListExtended(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string DictionaryInfo(string dictId); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState); + + string EndDictionaryInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise7.DictionarySuggestService.WordDefinition Define(string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState); + + Excercise7.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise7.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState); + + Excercise7.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Strategy[] StrategyList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState); + + Strategy[] EndStrategyList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] Match(string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatch(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] MatchInDict(string dictId, string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatchInDict(System.IAsyncResult result); + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Dictionary : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string nameField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class DictionaryWord : object, System.ComponentModel.INotifyPropertyChanged { + + private string dictionaryIdField; + + private string wordField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string DictionaryId { + get { + return this.dictionaryIdField; + } + set { + this.dictionaryIdField = value; + this.RaisePropertyChanged("DictionaryId"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Strategy : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string descriptionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Definition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Dictionary dictionaryField; + + private string wordDefinitionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public Dictionary Dictionary { + get { + return this.dictionaryField; + } + set { + this.dictionaryField = value; + this.RaisePropertyChanged("Dictionary"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string WordDefinition { + get { + return this.wordDefinitionField; + } + set { + this.wordDefinitionField = value; + this.RaisePropertyChanged("WordDefinition"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class WordDefinition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Definition[] definitionsField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public Definition[] Definitions { + get { + return this.definitionsField; + } + set { + this.definitionsField = value; + this.RaisePropertyChanged("Definitions"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface DictServiceSoapChannel : Excercise7.DictionarySuggestService.DictServiceSoap, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class ServerInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public ServerInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListExtendedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListExtendedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise7.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise7.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise7.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise7.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class StrategyListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public StrategyListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Strategy[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Strategy[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictServiceSoapClient : System.ServiceModel.ClientBase<Excercise7.DictionarySuggestService.DictServiceSoap>, Excercise7.DictionarySuggestService.DictServiceSoap { + + private BeginOperationDelegate onBeginServerInfoDelegate; + + private EndOperationDelegate onEndServerInfoDelegate; + + private System.Threading.SendOrPostCallback onServerInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListDelegate; + + private EndOperationDelegate onEndDictionaryListDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListExtendedDelegate; + + private EndOperationDelegate onEndDictionaryListExtendedDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListExtendedCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryInfoDelegate; + + private EndOperationDelegate onEndDictionaryInfoDelegate; + + private System.Threading.SendOrPostCallback onDictionaryInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDefineDelegate; + + private EndOperationDelegate onEndDefineDelegate; + + private System.Threading.SendOrPostCallback onDefineCompletedDelegate; + + private BeginOperationDelegate onBeginDefineInDictDelegate; + + private EndOperationDelegate onEndDefineInDictDelegate; + + private System.Threading.SendOrPostCallback onDefineInDictCompletedDelegate; + + private BeginOperationDelegate onBeginStrategyListDelegate; + + private EndOperationDelegate onEndStrategyListDelegate; + + private System.Threading.SendOrPostCallback onStrategyListCompletedDelegate; + + private BeginOperationDelegate onBeginMatchDelegate; + + private EndOperationDelegate onEndMatchDelegate; + + private System.Threading.SendOrPostCallback onMatchCompletedDelegate; + + private BeginOperationDelegate onBeginMatchInDictDelegate; + + private EndOperationDelegate onEndMatchInDictDelegate; + + private System.Threading.SendOrPostCallback onMatchInDictCompletedDelegate; + + public DictServiceSoapClient() { + } + + public DictServiceSoapClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public DictServiceSoapClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + public event System.EventHandler<ServerInfoCompletedEventArgs> ServerInfoCompleted; + + public event System.EventHandler<DictionaryListCompletedEventArgs> DictionaryListCompleted; + + public event System.EventHandler<DictionaryListExtendedCompletedEventArgs> DictionaryListExtendedCompleted; + + public event System.EventHandler<DictionaryInfoCompletedEventArgs> DictionaryInfoCompleted; + + public event System.EventHandler<DefineCompletedEventArgs> DefineCompleted; + + public event System.EventHandler<DefineInDictCompletedEventArgs> DefineInDictCompleted; + + public event System.EventHandler<StrategyListCompletedEventArgs> StrategyListCompleted; + + public event System.EventHandler<MatchCompletedEventArgs> MatchCompleted; + + public event System.EventHandler<MatchInDictCompletedEventArgs> MatchInDictCompleted; + + public string ServerInfo() { + return base.Channel.ServerInfo(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginServerInfo(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndServerInfo(System.IAsyncResult result) { + return base.Channel.EndServerInfo(result); + } + + private System.IAsyncResult OnBeginServerInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginServerInfo(callback, asyncState); + } + + private object[] OnEndServerInfo(System.IAsyncResult result) { + string retVal = this.EndServerInfo(result); + return new object[] { + retVal}; + } + + private void OnServerInfoCompleted(object state) { + if ((this.ServerInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.ServerInfoCompleted(this, new ServerInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void ServerInfoAsync() { + this.ServerInfoAsync(null); + } + + public void ServerInfoAsync(object userState) { + if ((this.onBeginServerInfoDelegate == null)) { + this.onBeginServerInfoDelegate = new BeginOperationDelegate(this.OnBeginServerInfo); + } + if ((this.onEndServerInfoDelegate == null)) { + this.onEndServerInfoDelegate = new EndOperationDelegate(this.OnEndServerInfo); + } + if ((this.onServerInfoCompletedDelegate == null)) { + this.onServerInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnServerInfoCompleted); + } + base.InvokeAsync(this.onBeginServerInfoDelegate, null, this.onEndServerInfoDelegate, this.onServerInfoCompletedDelegate, userState); + } + + public Dictionary[] DictionaryList() { + return base.Channel.DictionaryList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryList(System.IAsyncResult result) { + return base.Channel.EndDictionaryList(result); + } + + private System.IAsyncResult OnBeginDictionaryList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryList(callback, asyncState); + } + + private object[] OnEndDictionaryList(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryList(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListCompleted(object state) { + if ((this.DictionaryListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListCompleted(this, new DictionaryListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListAsync() { + this.DictionaryListAsync(null); + } + + public void DictionaryListAsync(object userState) { + if ((this.onBeginDictionaryListDelegate == null)) { + this.onBeginDictionaryListDelegate = new BeginOperationDelegate(this.OnBeginDictionaryList); + } + if ((this.onEndDictionaryListDelegate == null)) { + this.onEndDictionaryListDelegate = new EndOperationDelegate(this.OnEndDictionaryList); + } + if ((this.onDictionaryListCompletedDelegate == null)) { + this.onDictionaryListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListDelegate, null, this.onEndDictionaryListDelegate, this.onDictionaryListCompletedDelegate, userState); + } + + public Dictionary[] DictionaryListExtended() { + return base.Channel.DictionaryListExtended(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryListExtended(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryListExtended(System.IAsyncResult result) { + return base.Channel.EndDictionaryListExtended(result); + } + + private System.IAsyncResult OnBeginDictionaryListExtended(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryListExtended(callback, asyncState); + } + + private object[] OnEndDictionaryListExtended(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryListExtended(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListExtendedCompleted(object state) { + if ((this.DictionaryListExtendedCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListExtendedCompleted(this, new DictionaryListExtendedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListExtendedAsync() { + this.DictionaryListExtendedAsync(null); + } + + public void DictionaryListExtendedAsync(object userState) { + if ((this.onBeginDictionaryListExtendedDelegate == null)) { + this.onBeginDictionaryListExtendedDelegate = new BeginOperationDelegate(this.OnBeginDictionaryListExtended); + } + if ((this.onEndDictionaryListExtendedDelegate == null)) { + this.onEndDictionaryListExtendedDelegate = new EndOperationDelegate(this.OnEndDictionaryListExtended); + } + if ((this.onDictionaryListExtendedCompletedDelegate == null)) { + this.onDictionaryListExtendedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListExtendedCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListExtendedDelegate, null, this.onEndDictionaryListExtendedDelegate, this.onDictionaryListExtendedCompletedDelegate, userState); + } + + public string DictionaryInfo(string dictId) { + return base.Channel.DictionaryInfo(dictId); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryInfo(dictId, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndDictionaryInfo(System.IAsyncResult result) { + return base.Channel.EndDictionaryInfo(result); + } + + private System.IAsyncResult OnBeginDictionaryInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + return this.BeginDictionaryInfo(dictId, callback, asyncState); + } + + private object[] OnEndDictionaryInfo(System.IAsyncResult result) { + string retVal = this.EndDictionaryInfo(result); + return new object[] { + retVal}; + } + + private void OnDictionaryInfoCompleted(object state) { + if ((this.DictionaryInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryInfoCompleted(this, new DictionaryInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryInfoAsync(string dictId) { + this.DictionaryInfoAsync(dictId, null); + } + + public void DictionaryInfoAsync(string dictId, object userState) { + if ((this.onBeginDictionaryInfoDelegate == null)) { + this.onBeginDictionaryInfoDelegate = new BeginOperationDelegate(this.OnBeginDictionaryInfo); + } + if ((this.onEndDictionaryInfoDelegate == null)) { + this.onEndDictionaryInfoDelegate = new EndOperationDelegate(this.OnEndDictionaryInfo); + } + if ((this.onDictionaryInfoCompletedDelegate == null)) { + this.onDictionaryInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryInfoCompleted); + } + base.InvokeAsync(this.onBeginDictionaryInfoDelegate, new object[] { + dictId}, this.onEndDictionaryInfoDelegate, this.onDictionaryInfoCompletedDelegate, userState); + } + + public Excercise7.DictionarySuggestService.WordDefinition Define(string word) { + return base.Channel.Define(word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefine(word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise7.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result) { + return base.Channel.EndDefine(result); + } + + private System.IAsyncResult OnBeginDefine(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + return this.BeginDefine(word, callback, asyncState); + } + + private object[] OnEndDefine(System.IAsyncResult result) { + Excercise7.DictionarySuggestService.WordDefinition retVal = this.EndDefine(result); + return new object[] { + retVal}; + } + + private void OnDefineCompleted(object state) { + if ((this.DefineCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineCompleted(this, new DefineCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineAsync(string word) { + this.DefineAsync(word, null); + } + + public void DefineAsync(string word, object userState) { + if ((this.onBeginDefineDelegate == null)) { + this.onBeginDefineDelegate = new BeginOperationDelegate(this.OnBeginDefine); + } + if ((this.onEndDefineDelegate == null)) { + this.onEndDefineDelegate = new EndOperationDelegate(this.OnEndDefine); + } + if ((this.onDefineCompletedDelegate == null)) { + this.onDefineCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineCompleted); + } + base.InvokeAsync(this.onBeginDefineDelegate, new object[] { + word}, this.onEndDefineDelegate, this.onDefineCompletedDelegate, userState); + } + + public Excercise7.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word) { + return base.Channel.DefineInDict(dictId, word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefineInDict(dictId, word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise7.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result) { + return base.Channel.EndDefineInDict(result); + } + + private System.IAsyncResult OnBeginDefineInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + return this.BeginDefineInDict(dictId, word, callback, asyncState); + } + + private object[] OnEndDefineInDict(System.IAsyncResult result) { + Excercise7.DictionarySuggestService.WordDefinition retVal = this.EndDefineInDict(result); + return new object[] { + retVal}; + } + + private void OnDefineInDictCompleted(object state) { + if ((this.DefineInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineInDictCompleted(this, new DefineInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineInDictAsync(string dictId, string word) { + this.DefineInDictAsync(dictId, word, null); + } + + public void DefineInDictAsync(string dictId, string word, object userState) { + if ((this.onBeginDefineInDictDelegate == null)) { + this.onBeginDefineInDictDelegate = new BeginOperationDelegate(this.OnBeginDefineInDict); + } + if ((this.onEndDefineInDictDelegate == null)) { + this.onEndDefineInDictDelegate = new EndOperationDelegate(this.OnEndDefineInDict); + } + if ((this.onDefineInDictCompletedDelegate == null)) { + this.onDefineInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineInDictCompleted); + } + base.InvokeAsync(this.onBeginDefineInDictDelegate, new object[] { + dictId, + word}, this.onEndDefineInDictDelegate, this.onDefineInDictCompletedDelegate, userState); + } + + public Strategy[] StrategyList() { + return base.Channel.StrategyList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginStrategyList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Strategy[] EndStrategyList(System.IAsyncResult result) { + return base.Channel.EndStrategyList(result); + } + + private System.IAsyncResult OnBeginStrategyList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginStrategyList(callback, asyncState); + } + + private object[] OnEndStrategyList(System.IAsyncResult result) { + Strategy[] retVal = this.EndStrategyList(result); + return new object[] { + retVal}; + } + + private void OnStrategyListCompleted(object state) { + if ((this.StrategyListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.StrategyListCompleted(this, new StrategyListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void StrategyListAsync() { + this.StrategyListAsync(null); + } + + public void StrategyListAsync(object userState) { + if ((this.onBeginStrategyListDelegate == null)) { + this.onBeginStrategyListDelegate = new BeginOperationDelegate(this.OnBeginStrategyList); + } + if ((this.onEndStrategyListDelegate == null)) { + this.onEndStrategyListDelegate = new EndOperationDelegate(this.OnEndStrategyList); + } + if ((this.onStrategyListCompletedDelegate == null)) { + this.onStrategyListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStrategyListCompleted); + } + base.InvokeAsync(this.onBeginStrategyListDelegate, null, this.onEndStrategyListDelegate, this.onStrategyListCompletedDelegate, userState); + } + + public DictionaryWord[] Match(string word, string strategy) { + return base.Channel.Match(word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatch(word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatch(System.IAsyncResult result) { + return base.Channel.EndMatch(result); + } + + private System.IAsyncResult OnBeginMatch(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + string strategy = ((string)(inValues[1])); + return this.BeginMatch(word, strategy, callback, asyncState); + } + + private object[] OnEndMatch(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatch(result); + return new object[] { + retVal}; + } + + private void OnMatchCompleted(object state) { + if ((this.MatchCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchCompleted(this, new MatchCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchAsync(string word, string strategy) { + this.MatchAsync(word, strategy, null); + } + + public void MatchAsync(string word, string strategy, object userState) { + if ((this.onBeginMatchDelegate == null)) { + this.onBeginMatchDelegate = new BeginOperationDelegate(this.OnBeginMatch); + } + if ((this.onEndMatchDelegate == null)) { + this.onEndMatchDelegate = new EndOperationDelegate(this.OnEndMatch); + } + if ((this.onMatchCompletedDelegate == null)) { + this.onMatchCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchCompleted); + } + base.InvokeAsync(this.onBeginMatchDelegate, new object[] { + word, + strategy}, this.onEndMatchDelegate, this.onMatchCompletedDelegate, userState); + } + + public DictionaryWord[] MatchInDict(string dictId, string word, string strategy) { + return base.Channel.MatchInDict(dictId, word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatchInDict(System.IAsyncResult result) { + return base.Channel.EndMatchInDict(result); + } + + private System.IAsyncResult OnBeginMatchInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + string strategy = ((string)(inValues[2])); + return this.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + private object[] OnEndMatchInDict(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatchInDict(result); + return new object[] { + retVal}; + } + + private void OnMatchInDictCompleted(object state) { + if ((this.MatchInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchInDictCompleted(this, new MatchInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchInDictAsync(string dictId, string word, string strategy) { + this.MatchInDictAsync(dictId, word, strategy, null); + } + + public void MatchInDictAsync(string dictId, string word, string strategy, object userState) { + if ((this.onBeginMatchInDictDelegate == null)) { + this.onBeginMatchInDictDelegate = new BeginOperationDelegate(this.OnBeginMatchInDict); + } + if ((this.onEndMatchInDictDelegate == null)) { + this.onEndMatchInDictDelegate = new EndOperationDelegate(this.OnEndMatchInDict); + } + if ((this.onMatchInDictCompletedDelegate == null)) { + this.onMatchInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchInDictCompleted); + } + base.InvokeAsync(this.onBeginMatchInDictDelegate, new object[] { + dictId, + word, + strategy}, this.onEndMatchInDictDelegate, this.onMatchInDictCompletedDelegate, userState); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/Reference.svcmap b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/Reference.svcmap new file mode 100644 index 0000000..d7c3633 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/Reference.svcmap @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="e38186f9-cfd7-4334-881c-63618db94b50" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap"> + <ClientOptions> + <GenerateAsynchronousMethods>true</GenerateAsynchronousMethods> + <EnableDataBinding>true</EnableDataBinding> + <ExcludedTypes /> + <ImportXmlTypes>false</ImportXmlTypes> + <GenerateInternalTypes>false</GenerateInternalTypes> + <GenerateMessageContracts>false</GenerateMessageContracts> + <NamespaceMappings /> + <CollectionMappings /> + <GenerateSerializableTypes>true</GenerateSerializableTypes> + <Serializer>Auto</Serializer> + <UseSerializerForFaults>true</UseSerializerForFaults> + <ReferenceAllAssemblies>true</ReferenceAllAssemblies> + <ReferencedAssemblies /> + <ReferencedDataContractTypes /> + <ServiceContractMappings /> + </ClientOptions> + <MetadataSources> + <MetadataSource Address="http://services.aonaware.com/DictService/DictService.asmx" Protocol="http" SourceId="1" /> + </MetadataSources> + <Metadata> + <MetadataFile FileName="DictService.disco" MetadataType="Disco" ID="87064546-562f-40b9-899f-e2020c598914" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?disco" /> + <MetadataFile FileName="DictService.wsdl" MetadataType="Wsdl" ID="743bb2fa-2b60-444b-b1f3-ac2dc4a01af9" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?wsdl" /> + </Metadata> + <Extensions> + <ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" /> + <ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" /> + </Extensions> +</ReferenceGroup>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/configuration.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/configuration.svcinfo new file mode 100644 index 0000000..a856d3d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/configuration.svcinfo @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot"> + <behaviors /> + <bindings> + <binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" messageEncoding="Text" name="DictServiceSoap" textEncoding="utf-8" transferMode="Buffered"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /><security mode="None"><message algorithmSuite="Default" clientCredentialType="UserName" /><transport clientCredentialType="None" proxyCredentialType="None" realm="" /></security></Data>" bindingType="basicHttpBinding" name="DictServiceSoap" /> + <binding digest="System.ServiceModel.Configuration.CustomBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="DictServiceSoap12"><httpTransport allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" manualAddressing="false" maxBufferPoolSize="524288" maxBufferSize="65536" maxReceivedMessageSize="65536" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" /><textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap12" writeEncoding="utf-8"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /></textMessageEncoding></Data>" bindingType="customBinding" name="DictServiceSoap12" /> + </bindings> + <endpoints> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </endpoints> +</configurationSnapshot>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/configuration91.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/configuration91.svcinfo new file mode 100644 index 0000000..2599177 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/Service References/DictionarySuggestService/configuration91.svcinfo @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="Cb1mlQVfrIvXhoWXP+TpwPhxgGY="> + <bindingConfigurations> + <bindingConfiguration bindingType="basicHttpBinding" name="DictServiceSoap"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:10:00</serializedValue> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Text</serializedValue> + </property> + <property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue> + </property> + <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue> + </property> + <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + <property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue> + </property> + <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>UserName</serializedValue> + </property> + <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Default</serializedValue> + </property> + <property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + </properties> + </bindingConfiguration> + <bindingConfiguration bindingType="customBinding" name="DictServiceSoap12"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/textMessageEncoding" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TextMessageEncodingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.TextMessageEncodingElement</serializedValue> + </property> + <property path="/textMessageEncoding/maxReadPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>64</serializedValue> + </property> + <property path="/textMessageEncoding/maxWritePoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16</serializedValue> + </property> + <property path="/textMessageEncoding/messageVersion" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.MessageVersion, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Soap12</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/writeEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/httpTransport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportElement</serializedValue> + </property> + <property path="/httpTransport/manualAddressing" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/httpTransport/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/authenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/decompressionEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/httpTransport/keepAliveEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/proxyAddress" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/proxyAuthenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/httpTransport/unsafeConnectionNtlmAuthentication" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + </properties> + </bindingConfiguration> + </bindingConfigurations> + <endpoints> + <endpoint name="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" bindingType="basicHttpBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>basicHttpBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + <endpoint name="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" bindingType="customBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap12"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>customBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + </endpoints> +</SavedWcfConfigurationInformation>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise7/Step07/app.config b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/app.config new file mode 100644 index 0000000..cf1770f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise7/Step07/app.config @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <system.serviceModel> + <bindings> + <basicHttpBinding> + <binding name="DictServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" + receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" + bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" + maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" + messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" + useDefaultWebProxy="true"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + <security mode="None"> + <transport clientCredentialType="None" proxyCredentialType="None" + realm="" /> + <message clientCredentialType="UserName" algorithmSuite="Default" /> + </security> + </binding> + </basicHttpBinding> + <customBinding> + <binding name="DictServiceSoap12"> + <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" + messageVersion="Soap12" writeEncoding="utf-8"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + </textMessageEncoding> + <httpTransport manualAddressing="false" maxBufferPoolSize="524288" + maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous" + bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" + keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous" + realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" + useDefaultWebProxy="true" /> + </binding> + </customBinding> + </bindings> + <client> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="customBinding" bindingConfiguration="DictServiceSoap12" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </client> + </system.serviceModel> +</configuration>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Start/Excercise8.csproj b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Excercise8.csproj new file mode 100644 index 0000000..1d8e4f6 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Excercise8.csproj @@ -0,0 +1,104 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{911E68A6-E9E1-4A5B-939E-C38A0F1B45A8}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise8</RootNamespace> + <AssemblyName>Excercise8</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.ServiceModel" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Service References\DictionarySuggestService\Reference.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Reference.svcmap</DependentUpon> + </Compile> + </ItemGroup> + <ItemGroup> + <WCFMetadata Include="Service References\" /> + </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + <None Include="Service References\DictionarySuggestService\DictService.wsdl" /> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.Dictionary.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.DictionaryWord.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.Strategy.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.WordDefinition.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + </ItemGroup> + <ItemGroup> + <WCFMetadataStorage Include="Service References\DictionarySuggestService\" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\DictService.disco" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration91.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\Reference.svcmap"> + <Generator>WCF Proxy Generator</Generator> + <LastGenOutput>Reference.cs</LastGenOutput> + </None> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Start/Excercise8.sln b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Excercise8.sln new file mode 100644 index 0000000..e2c0652 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Excercise8.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise8", "Excercise8.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Start/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Program.cs new file mode 100644 index 0000000..7afb10e --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Program.cs @@ -0,0 +1,23 @@ +using System; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; + +namespace Excercise8 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + + var frm = new Form() + { + Controls = { txt } + }; + + Application.Run(frm); + + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Start/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f320cdf --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise8")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise8")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/DictService.disco b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/DictService.disco new file mode 100644 index 0000000..d8b4769 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/DictService.disco @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> + <contractRef ref="http://services.aonaware.com/DictService/DictService.asmx?wsdl" docRef="http://services.aonaware.com/DictService/DictService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q1="http://services.aonaware.com/webservices/" binding="q1:DictServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q2="http://services.aonaware.com/webservices/" binding="q2:DictServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> +</discovery>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/DictService.wsdl b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/DictService.wsdl new file mode 100644 index 0000000..72a8189 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/DictService.wsdl @@ -0,0 +1,824 @@ +<?xml version="1.0" encoding="utf-8"?> +<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://services.aonaware.com/webservices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://services.aonaware.com/webservices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:types> + <s:schema elementFormDefault="qualified" targetNamespace="http://services.aonaware.com/webservices/"> + <s:element name="ServerInfo"> + <s:complexType /> + </s:element> + <s:element name="ServerInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="ServerInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryList"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Dictionary" nillable="true" type="tns:Dictionary" /> + </s:sequence> + </s:complexType> + <s:complexType name="Dictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DictionaryListExtended"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListExtendedResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListExtendedResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfo"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="Define"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="WordDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Definitions" type="tns:ArrayOfDefinition" /> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Definition" nillable="true" type="tns:Definition" /> + </s:sequence> + </s:complexType> + <s:complexType name="Definition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Dictionary" type="tns:Dictionary" /> + <s:element minOccurs="0" maxOccurs="1" name="WordDefinition" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DefineInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineInDictResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="StrategyList"> + <s:complexType /> + </s:element> + <s:element name="StrategyListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="StrategyListResult" type="tns:ArrayOfStrategy" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfStrategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Strategy" nillable="true" type="tns:Strategy" /> + </s:sequence> + </s:complexType> + <s:complexType name="Strategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="Match"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="DictionaryWord" nillable="true" type="tns:DictionaryWord" /> + </s:sequence> + </s:complexType> + <s:complexType name="DictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="MatchInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchInDictResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="string" nillable="true" type="s:string" /> + <s:element name="ArrayOfDictionary" nillable="true" type="tns:ArrayOfDictionary" /> + <s:element name="WordDefinition" nillable="true" type="tns:WordDefinition" /> + <s:element name="ArrayOfStrategy" nillable="true" type="tns:ArrayOfStrategy" /> + <s:element name="ArrayOfDictionaryWord" nillable="true" type="tns:ArrayOfDictionaryWord" /> + </s:schema> + </wsdl:types> + <wsdl:message name="ServerInfoSoapIn"> + <wsdl:part name="parameters" element="tns:ServerInfo" /> + </wsdl:message> + <wsdl:message name="ServerInfoSoapOut"> + <wsdl:part name="parameters" element="tns:ServerInfoResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryList" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryListExtended" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListExtendedResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryInfo" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryInfoResponse" /> + </wsdl:message> + <wsdl:message name="DefineSoapIn"> + <wsdl:part name="parameters" element="tns:Define" /> + </wsdl:message> + <wsdl:message name="DefineSoapOut"> + <wsdl:part name="parameters" element="tns:DefineResponse" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapIn"> + <wsdl:part name="parameters" element="tns:DefineInDict" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapOut"> + <wsdl:part name="parameters" element="tns:DefineInDictResponse" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapIn"> + <wsdl:part name="parameters" element="tns:StrategyList" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapOut"> + <wsdl:part name="parameters" element="tns:StrategyListResponse" /> + </wsdl:message> + <wsdl:message name="MatchSoapIn"> + <wsdl:part name="parameters" element="tns:Match" /> + </wsdl:message> + <wsdl:message name="MatchSoapOut"> + <wsdl:part name="parameters" element="tns:MatchResponse" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapIn"> + <wsdl:part name="parameters" element="tns:MatchInDict" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapOut"> + <wsdl:part name="parameters" element="tns:MatchInDictResponse" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpGetIn" /> + <wsdl:message name="ServerInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpGetIn" /> + <wsdl:message name="DictionaryListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpGetIn" /> + <wsdl:message name="DictionaryListExtendedHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpGetIn" /> + <wsdl:message name="StrategyListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpPostIn" /> + <wsdl:message name="ServerInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpPostIn" /> + <wsdl:message name="DictionaryListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpPostIn" /> + <wsdl:message name="DictionaryListExtendedHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpPostIn" /> + <wsdl:message name="StrategyListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:portType name="DictServiceSoap"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoSoapIn" /> + <wsdl:output message="tns:ServerInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListSoapIn" /> + <wsdl:output message="tns:DictionaryListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedSoapIn" /> + <wsdl:output message="tns:DictionaryListExtendedSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoSoapIn" /> + <wsdl:output message="tns:DictionaryInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineSoapIn" /> + <wsdl:output message="tns:DefineSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictSoapIn" /> + <wsdl:output message="tns:DefineInDictSoapOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListSoapIn" /> + <wsdl:output message="tns:StrategyListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchSoapIn" /> + <wsdl:output message="tns:MatchSoapOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictSoapIn" /> + <wsdl:output message="tns:MatchInDictSoapOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpGet"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpGetIn" /> + <wsdl:output message="tns:ServerInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpGetIn" /> + <wsdl:output message="tns:DictionaryListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpGetIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpGetIn" /> + <wsdl:output message="tns:DictionaryInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpGetIn" /> + <wsdl:output message="tns:DefineHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpGetIn" /> + <wsdl:output message="tns:DefineInDictHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpGetIn" /> + <wsdl:output message="tns:StrategyListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpGetIn" /> + <wsdl:output message="tns:MatchHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpGetIn" /> + <wsdl:output message="tns:MatchInDictHttpGetOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpPost"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpPostIn" /> + <wsdl:output message="tns:ServerInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpPostIn" /> + <wsdl:output message="tns:DictionaryListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpPostIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpPostIn" /> + <wsdl:output message="tns:DictionaryInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpPostIn" /> + <wsdl:output message="tns:DefineHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpPostIn" /> + <wsdl:output message="tns:DefineInDictHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpPostIn" /> + <wsdl:output message="tns:StrategyListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpPostIn" /> + <wsdl:output message="tns:MatchHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpPostIn" /> + <wsdl:output message="tns:MatchInDictHttpPostOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="DictServiceSoap" type="tns:DictServiceSoap"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" 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="DictServiceSoap12" type="tns:DictServiceSoap"> + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpGet" type="tns:DictServiceHttpGet"> + <http:binding verb="GET" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpPost" type="tns:DictServiceHttpPost"> + <http:binding verb="POST" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="DictService"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:port name="DictServiceSoap" binding="tns:DictServiceSoap"> + <soap:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceSoap12" binding="tns:DictServiceSoap12"> + <soap12:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpGet" binding="tns:DictServiceHttpGet"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpPost" binding="tns:DictServiceHttpPost"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + </wsdl:service> +</wsdl:definitions>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource new file mode 100644 index 0000000..b6db5d2 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Dictionary" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.Dictionary, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource new file mode 100644 index 0000000..9fd63a4 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="DictionaryWord" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.DictionaryWord, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource new file mode 100644 index 0000000..7cdc3ab --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Strategy" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.Strategy, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource new file mode 100644 index 0000000..327195d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="WordDefinition" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.WordDefinition, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/Reference.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/Reference.cs new file mode 100644 index 0000000..ab76343 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/Reference.cs @@ -0,0 +1,1064 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.431 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace Excercise8.DictionarySuggestService { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://services.aonaware.com/webservices/", ConfigurationName="DictionarySuggestService.DictServiceSoap")] + public interface DictServiceSoap { + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string ServerInfo(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState); + + string EndServerInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryListExtended(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryListExtended(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string DictionaryInfo(string dictId); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState); + + string EndDictionaryInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise8.DictionarySuggestService.WordDefinition Define(string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState); + + Excercise8.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise8.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState); + + Excercise8.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Strategy[] StrategyList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState); + + Strategy[] EndStrategyList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] Match(string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatch(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] MatchInDict(string dictId, string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatchInDict(System.IAsyncResult result); + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Dictionary : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string nameField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class DictionaryWord : object, System.ComponentModel.INotifyPropertyChanged { + + private string dictionaryIdField; + + private string wordField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string DictionaryId { + get { + return this.dictionaryIdField; + } + set { + this.dictionaryIdField = value; + this.RaisePropertyChanged("DictionaryId"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Strategy : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string descriptionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Definition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Dictionary dictionaryField; + + private string wordDefinitionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public Dictionary Dictionary { + get { + return this.dictionaryField; + } + set { + this.dictionaryField = value; + this.RaisePropertyChanged("Dictionary"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string WordDefinition { + get { + return this.wordDefinitionField; + } + set { + this.wordDefinitionField = value; + this.RaisePropertyChanged("WordDefinition"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class WordDefinition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Definition[] definitionsField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public Definition[] Definitions { + get { + return this.definitionsField; + } + set { + this.definitionsField = value; + this.RaisePropertyChanged("Definitions"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface DictServiceSoapChannel : Excercise8.DictionarySuggestService.DictServiceSoap, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class ServerInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public ServerInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListExtendedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListExtendedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise8.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise8.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise8.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise8.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class StrategyListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public StrategyListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Strategy[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Strategy[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictServiceSoapClient : System.ServiceModel.ClientBase<Excercise8.DictionarySuggestService.DictServiceSoap>, Excercise8.DictionarySuggestService.DictServiceSoap { + + private BeginOperationDelegate onBeginServerInfoDelegate; + + private EndOperationDelegate onEndServerInfoDelegate; + + private System.Threading.SendOrPostCallback onServerInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListDelegate; + + private EndOperationDelegate onEndDictionaryListDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListExtendedDelegate; + + private EndOperationDelegate onEndDictionaryListExtendedDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListExtendedCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryInfoDelegate; + + private EndOperationDelegate onEndDictionaryInfoDelegate; + + private System.Threading.SendOrPostCallback onDictionaryInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDefineDelegate; + + private EndOperationDelegate onEndDefineDelegate; + + private System.Threading.SendOrPostCallback onDefineCompletedDelegate; + + private BeginOperationDelegate onBeginDefineInDictDelegate; + + private EndOperationDelegate onEndDefineInDictDelegate; + + private System.Threading.SendOrPostCallback onDefineInDictCompletedDelegate; + + private BeginOperationDelegate onBeginStrategyListDelegate; + + private EndOperationDelegate onEndStrategyListDelegate; + + private System.Threading.SendOrPostCallback onStrategyListCompletedDelegate; + + private BeginOperationDelegate onBeginMatchDelegate; + + private EndOperationDelegate onEndMatchDelegate; + + private System.Threading.SendOrPostCallback onMatchCompletedDelegate; + + private BeginOperationDelegate onBeginMatchInDictDelegate; + + private EndOperationDelegate onEndMatchInDictDelegate; + + private System.Threading.SendOrPostCallback onMatchInDictCompletedDelegate; + + public DictServiceSoapClient() { + } + + public DictServiceSoapClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public DictServiceSoapClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + public event System.EventHandler<ServerInfoCompletedEventArgs> ServerInfoCompleted; + + public event System.EventHandler<DictionaryListCompletedEventArgs> DictionaryListCompleted; + + public event System.EventHandler<DictionaryListExtendedCompletedEventArgs> DictionaryListExtendedCompleted; + + public event System.EventHandler<DictionaryInfoCompletedEventArgs> DictionaryInfoCompleted; + + public event System.EventHandler<DefineCompletedEventArgs> DefineCompleted; + + public event System.EventHandler<DefineInDictCompletedEventArgs> DefineInDictCompleted; + + public event System.EventHandler<StrategyListCompletedEventArgs> StrategyListCompleted; + + public event System.EventHandler<MatchCompletedEventArgs> MatchCompleted; + + public event System.EventHandler<MatchInDictCompletedEventArgs> MatchInDictCompleted; + + public string ServerInfo() { + return base.Channel.ServerInfo(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginServerInfo(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndServerInfo(System.IAsyncResult result) { + return base.Channel.EndServerInfo(result); + } + + private System.IAsyncResult OnBeginServerInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginServerInfo(callback, asyncState); + } + + private object[] OnEndServerInfo(System.IAsyncResult result) { + string retVal = this.EndServerInfo(result); + return new object[] { + retVal}; + } + + private void OnServerInfoCompleted(object state) { + if ((this.ServerInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.ServerInfoCompleted(this, new ServerInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void ServerInfoAsync() { + this.ServerInfoAsync(null); + } + + public void ServerInfoAsync(object userState) { + if ((this.onBeginServerInfoDelegate == null)) { + this.onBeginServerInfoDelegate = new BeginOperationDelegate(this.OnBeginServerInfo); + } + if ((this.onEndServerInfoDelegate == null)) { + this.onEndServerInfoDelegate = new EndOperationDelegate(this.OnEndServerInfo); + } + if ((this.onServerInfoCompletedDelegate == null)) { + this.onServerInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnServerInfoCompleted); + } + base.InvokeAsync(this.onBeginServerInfoDelegate, null, this.onEndServerInfoDelegate, this.onServerInfoCompletedDelegate, userState); + } + + public Dictionary[] DictionaryList() { + return base.Channel.DictionaryList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryList(System.IAsyncResult result) { + return base.Channel.EndDictionaryList(result); + } + + private System.IAsyncResult OnBeginDictionaryList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryList(callback, asyncState); + } + + private object[] OnEndDictionaryList(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryList(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListCompleted(object state) { + if ((this.DictionaryListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListCompleted(this, new DictionaryListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListAsync() { + this.DictionaryListAsync(null); + } + + public void DictionaryListAsync(object userState) { + if ((this.onBeginDictionaryListDelegate == null)) { + this.onBeginDictionaryListDelegate = new BeginOperationDelegate(this.OnBeginDictionaryList); + } + if ((this.onEndDictionaryListDelegate == null)) { + this.onEndDictionaryListDelegate = new EndOperationDelegate(this.OnEndDictionaryList); + } + if ((this.onDictionaryListCompletedDelegate == null)) { + this.onDictionaryListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListDelegate, null, this.onEndDictionaryListDelegate, this.onDictionaryListCompletedDelegate, userState); + } + + public Dictionary[] DictionaryListExtended() { + return base.Channel.DictionaryListExtended(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryListExtended(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryListExtended(System.IAsyncResult result) { + return base.Channel.EndDictionaryListExtended(result); + } + + private System.IAsyncResult OnBeginDictionaryListExtended(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryListExtended(callback, asyncState); + } + + private object[] OnEndDictionaryListExtended(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryListExtended(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListExtendedCompleted(object state) { + if ((this.DictionaryListExtendedCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListExtendedCompleted(this, new DictionaryListExtendedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListExtendedAsync() { + this.DictionaryListExtendedAsync(null); + } + + public void DictionaryListExtendedAsync(object userState) { + if ((this.onBeginDictionaryListExtendedDelegate == null)) { + this.onBeginDictionaryListExtendedDelegate = new BeginOperationDelegate(this.OnBeginDictionaryListExtended); + } + if ((this.onEndDictionaryListExtendedDelegate == null)) { + this.onEndDictionaryListExtendedDelegate = new EndOperationDelegate(this.OnEndDictionaryListExtended); + } + if ((this.onDictionaryListExtendedCompletedDelegate == null)) { + this.onDictionaryListExtendedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListExtendedCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListExtendedDelegate, null, this.onEndDictionaryListExtendedDelegate, this.onDictionaryListExtendedCompletedDelegate, userState); + } + + public string DictionaryInfo(string dictId) { + return base.Channel.DictionaryInfo(dictId); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryInfo(dictId, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndDictionaryInfo(System.IAsyncResult result) { + return base.Channel.EndDictionaryInfo(result); + } + + private System.IAsyncResult OnBeginDictionaryInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + return this.BeginDictionaryInfo(dictId, callback, asyncState); + } + + private object[] OnEndDictionaryInfo(System.IAsyncResult result) { + string retVal = this.EndDictionaryInfo(result); + return new object[] { + retVal}; + } + + private void OnDictionaryInfoCompleted(object state) { + if ((this.DictionaryInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryInfoCompleted(this, new DictionaryInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryInfoAsync(string dictId) { + this.DictionaryInfoAsync(dictId, null); + } + + public void DictionaryInfoAsync(string dictId, object userState) { + if ((this.onBeginDictionaryInfoDelegate == null)) { + this.onBeginDictionaryInfoDelegate = new BeginOperationDelegate(this.OnBeginDictionaryInfo); + } + if ((this.onEndDictionaryInfoDelegate == null)) { + this.onEndDictionaryInfoDelegate = new EndOperationDelegate(this.OnEndDictionaryInfo); + } + if ((this.onDictionaryInfoCompletedDelegate == null)) { + this.onDictionaryInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryInfoCompleted); + } + base.InvokeAsync(this.onBeginDictionaryInfoDelegate, new object[] { + dictId}, this.onEndDictionaryInfoDelegate, this.onDictionaryInfoCompletedDelegate, userState); + } + + public Excercise8.DictionarySuggestService.WordDefinition Define(string word) { + return base.Channel.Define(word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefine(word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise8.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result) { + return base.Channel.EndDefine(result); + } + + private System.IAsyncResult OnBeginDefine(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + return this.BeginDefine(word, callback, asyncState); + } + + private object[] OnEndDefine(System.IAsyncResult result) { + Excercise8.DictionarySuggestService.WordDefinition retVal = this.EndDefine(result); + return new object[] { + retVal}; + } + + private void OnDefineCompleted(object state) { + if ((this.DefineCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineCompleted(this, new DefineCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineAsync(string word) { + this.DefineAsync(word, null); + } + + public void DefineAsync(string word, object userState) { + if ((this.onBeginDefineDelegate == null)) { + this.onBeginDefineDelegate = new BeginOperationDelegate(this.OnBeginDefine); + } + if ((this.onEndDefineDelegate == null)) { + this.onEndDefineDelegate = new EndOperationDelegate(this.OnEndDefine); + } + if ((this.onDefineCompletedDelegate == null)) { + this.onDefineCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineCompleted); + } + base.InvokeAsync(this.onBeginDefineDelegate, new object[] { + word}, this.onEndDefineDelegate, this.onDefineCompletedDelegate, userState); + } + + public Excercise8.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word) { + return base.Channel.DefineInDict(dictId, word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefineInDict(dictId, word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise8.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result) { + return base.Channel.EndDefineInDict(result); + } + + private System.IAsyncResult OnBeginDefineInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + return this.BeginDefineInDict(dictId, word, callback, asyncState); + } + + private object[] OnEndDefineInDict(System.IAsyncResult result) { + Excercise8.DictionarySuggestService.WordDefinition retVal = this.EndDefineInDict(result); + return new object[] { + retVal}; + } + + private void OnDefineInDictCompleted(object state) { + if ((this.DefineInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineInDictCompleted(this, new DefineInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineInDictAsync(string dictId, string word) { + this.DefineInDictAsync(dictId, word, null); + } + + public void DefineInDictAsync(string dictId, string word, object userState) { + if ((this.onBeginDefineInDictDelegate == null)) { + this.onBeginDefineInDictDelegate = new BeginOperationDelegate(this.OnBeginDefineInDict); + } + if ((this.onEndDefineInDictDelegate == null)) { + this.onEndDefineInDictDelegate = new EndOperationDelegate(this.OnEndDefineInDict); + } + if ((this.onDefineInDictCompletedDelegate == null)) { + this.onDefineInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineInDictCompleted); + } + base.InvokeAsync(this.onBeginDefineInDictDelegate, new object[] { + dictId, + word}, this.onEndDefineInDictDelegate, this.onDefineInDictCompletedDelegate, userState); + } + + public Strategy[] StrategyList() { + return base.Channel.StrategyList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginStrategyList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Strategy[] EndStrategyList(System.IAsyncResult result) { + return base.Channel.EndStrategyList(result); + } + + private System.IAsyncResult OnBeginStrategyList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginStrategyList(callback, asyncState); + } + + private object[] OnEndStrategyList(System.IAsyncResult result) { + Strategy[] retVal = this.EndStrategyList(result); + return new object[] { + retVal}; + } + + private void OnStrategyListCompleted(object state) { + if ((this.StrategyListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.StrategyListCompleted(this, new StrategyListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void StrategyListAsync() { + this.StrategyListAsync(null); + } + + public void StrategyListAsync(object userState) { + if ((this.onBeginStrategyListDelegate == null)) { + this.onBeginStrategyListDelegate = new BeginOperationDelegate(this.OnBeginStrategyList); + } + if ((this.onEndStrategyListDelegate == null)) { + this.onEndStrategyListDelegate = new EndOperationDelegate(this.OnEndStrategyList); + } + if ((this.onStrategyListCompletedDelegate == null)) { + this.onStrategyListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStrategyListCompleted); + } + base.InvokeAsync(this.onBeginStrategyListDelegate, null, this.onEndStrategyListDelegate, this.onStrategyListCompletedDelegate, userState); + } + + public DictionaryWord[] Match(string word, string strategy) { + return base.Channel.Match(word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatch(word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatch(System.IAsyncResult result) { + return base.Channel.EndMatch(result); + } + + private System.IAsyncResult OnBeginMatch(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + string strategy = ((string)(inValues[1])); + return this.BeginMatch(word, strategy, callback, asyncState); + } + + private object[] OnEndMatch(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatch(result); + return new object[] { + retVal}; + } + + private void OnMatchCompleted(object state) { + if ((this.MatchCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchCompleted(this, new MatchCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchAsync(string word, string strategy) { + this.MatchAsync(word, strategy, null); + } + + public void MatchAsync(string word, string strategy, object userState) { + if ((this.onBeginMatchDelegate == null)) { + this.onBeginMatchDelegate = new BeginOperationDelegate(this.OnBeginMatch); + } + if ((this.onEndMatchDelegate == null)) { + this.onEndMatchDelegate = new EndOperationDelegate(this.OnEndMatch); + } + if ((this.onMatchCompletedDelegate == null)) { + this.onMatchCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchCompleted); + } + base.InvokeAsync(this.onBeginMatchDelegate, new object[] { + word, + strategy}, this.onEndMatchDelegate, this.onMatchCompletedDelegate, userState); + } + + public DictionaryWord[] MatchInDict(string dictId, string word, string strategy) { + return base.Channel.MatchInDict(dictId, word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatchInDict(System.IAsyncResult result) { + return base.Channel.EndMatchInDict(result); + } + + private System.IAsyncResult OnBeginMatchInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + string strategy = ((string)(inValues[2])); + return this.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + private object[] OnEndMatchInDict(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatchInDict(result); + return new object[] { + retVal}; + } + + private void OnMatchInDictCompleted(object state) { + if ((this.MatchInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchInDictCompleted(this, new MatchInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchInDictAsync(string dictId, string word, string strategy) { + this.MatchInDictAsync(dictId, word, strategy, null); + } + + public void MatchInDictAsync(string dictId, string word, string strategy, object userState) { + if ((this.onBeginMatchInDictDelegate == null)) { + this.onBeginMatchInDictDelegate = new BeginOperationDelegate(this.OnBeginMatchInDict); + } + if ((this.onEndMatchInDictDelegate == null)) { + this.onEndMatchInDictDelegate = new EndOperationDelegate(this.OnEndMatchInDict); + } + if ((this.onMatchInDictCompletedDelegate == null)) { + this.onMatchInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchInDictCompleted); + } + base.InvokeAsync(this.onBeginMatchInDictDelegate, new object[] { + dictId, + word, + strategy}, this.onEndMatchInDictDelegate, this.onMatchInDictCompletedDelegate, userState); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/Reference.svcmap b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/Reference.svcmap new file mode 100644 index 0000000..e2c0fd4 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/Reference.svcmap @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="54bf0f74-678b-4080-a3b9-c1d1e6de4467" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap"> + <ClientOptions> + <GenerateAsynchronousMethods>true</GenerateAsynchronousMethods> + <EnableDataBinding>true</EnableDataBinding> + <ExcludedTypes /> + <ImportXmlTypes>false</ImportXmlTypes> + <GenerateInternalTypes>false</GenerateInternalTypes> + <GenerateMessageContracts>false</GenerateMessageContracts> + <NamespaceMappings /> + <CollectionMappings /> + <GenerateSerializableTypes>true</GenerateSerializableTypes> + <Serializer>Auto</Serializer> + <UseSerializerForFaults>true</UseSerializerForFaults> + <ReferenceAllAssemblies>true</ReferenceAllAssemblies> + <ReferencedAssemblies /> + <ReferencedDataContractTypes /> + <ServiceContractMappings /> + </ClientOptions> + <MetadataSources> + <MetadataSource Address="http://services.aonaware.com/DictService/DictService.asmx" Protocol="http" SourceId="1" /> + </MetadataSources> + <Metadata> + <MetadataFile FileName="DictService.disco" MetadataType="Disco" ID="adbf4a80-8701-4a23-92a0-0c1651e1b51c" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?disco" /> + <MetadataFile FileName="DictService.wsdl" MetadataType="Wsdl" ID="7a9b30c8-2a9f-4e2b-b72d-be46eef6f0f7" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?wsdl" /> + </Metadata> + <Extensions> + <ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" /> + <ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" /> + </Extensions> +</ReferenceGroup>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/configuration.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/configuration.svcinfo new file mode 100644 index 0000000..a856d3d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/configuration.svcinfo @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot"> + <behaviors /> + <bindings> + <binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" messageEncoding="Text" name="DictServiceSoap" textEncoding="utf-8" transferMode="Buffered"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /><security mode="None"><message algorithmSuite="Default" clientCredentialType="UserName" /><transport clientCredentialType="None" proxyCredentialType="None" realm="" /></security></Data>" bindingType="basicHttpBinding" name="DictServiceSoap" /> + <binding digest="System.ServiceModel.Configuration.CustomBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="DictServiceSoap12"><httpTransport allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" manualAddressing="false" maxBufferPoolSize="524288" maxBufferSize="65536" maxReceivedMessageSize="65536" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" /><textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap12" writeEncoding="utf-8"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /></textMessageEncoding></Data>" bindingType="customBinding" name="DictServiceSoap12" /> + </bindings> + <endpoints> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </endpoints> +</configurationSnapshot>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/configuration91.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/configuration91.svcinfo new file mode 100644 index 0000000..2599177 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Start/Service References/DictionarySuggestService/configuration91.svcinfo @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="Cb1mlQVfrIvXhoWXP+TpwPhxgGY="> + <bindingConfigurations> + <bindingConfiguration bindingType="basicHttpBinding" name="DictServiceSoap"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:10:00</serializedValue> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Text</serializedValue> + </property> + <property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue> + </property> + <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue> + </property> + <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + <property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue> + </property> + <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>UserName</serializedValue> + </property> + <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Default</serializedValue> + </property> + <property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + </properties> + </bindingConfiguration> + <bindingConfiguration bindingType="customBinding" name="DictServiceSoap12"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/textMessageEncoding" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TextMessageEncodingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.TextMessageEncodingElement</serializedValue> + </property> + <property path="/textMessageEncoding/maxReadPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>64</serializedValue> + </property> + <property path="/textMessageEncoding/maxWritePoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16</serializedValue> + </property> + <property path="/textMessageEncoding/messageVersion" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.MessageVersion, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Soap12</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/writeEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/httpTransport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportElement</serializedValue> + </property> + <property path="/httpTransport/manualAddressing" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/httpTransport/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/authenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/decompressionEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/httpTransport/keepAliveEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/proxyAddress" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/proxyAuthenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/httpTransport/unsafeConnectionNtlmAuthentication" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + </properties> + </bindingConfiguration> + </bindingConfigurations> + <endpoints> + <endpoint name="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" bindingType="basicHttpBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>basicHttpBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + <endpoint name="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" bindingType="customBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap12"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>customBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + </endpoints> +</SavedWcfConfigurationInformation>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Start/app.config b/Rx/NET/Samples/HOL/CS/Excercise8/Start/app.config new file mode 100644 index 0000000..cf1770f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Start/app.config @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <system.serviceModel> + <bindings> + <basicHttpBinding> + <binding name="DictServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" + receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" + bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" + maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" + messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" + useDefaultWebProxy="true"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + <security mode="None"> + <transport clientCredentialType="None" proxyCredentialType="None" + realm="" /> + <message clientCredentialType="UserName" algorithmSuite="Default" /> + </security> + </binding> + </basicHttpBinding> + <customBinding> + <binding name="DictServiceSoap12"> + <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" + messageVersion="Soap12" writeEncoding="utf-8"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + </textMessageEncoding> + <httpTransport manualAddressing="false" maxBufferPoolSize="524288" + maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous" + bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" + keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous" + realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" + useDefaultWebProxy="true" /> + </binding> + </customBinding> + </bindings> + <client> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="customBinding" bindingConfiguration="DictServiceSoap12" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </client> + </system.serviceModel> +</configuration>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Excercise8.csproj b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Excercise8.csproj new file mode 100644 index 0000000..85acf6c --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Excercise8.csproj @@ -0,0 +1,104 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{3DD9A69A-E5B7-4432-93AC-ECED324C1D24}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise8</RootNamespace> + <AssemblyName>Excercise8</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.ServiceModel" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Service References\DictionarySuggestService\Reference.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Reference.svcmap</DependentUpon> + </Compile> + </ItemGroup> + <ItemGroup> + <WCFMetadata Include="Service References\" /> + </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + <None Include="Service References\DictionarySuggestService\DictService.wsdl" /> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.Dictionary.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.DictionaryWord.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.Strategy.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.WordDefinition.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + </ItemGroup> + <ItemGroup> + <WCFMetadataStorage Include="Service References\DictionarySuggestService\" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\DictService.disco" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration91.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\Reference.svcmap"> + <Generator>WCF Proxy Generator</Generator> + <LastGenOutput>Reference.cs</LastGenOutput> + </None> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Excercise8.sln b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Excercise8.sln new file mode 100644 index 0000000..e2c0652 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Excercise8.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise8", "Excercise8.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Program.cs new file mode 100644 index 0000000..e6e69fe --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Program.cs @@ -0,0 +1,24 @@ +using System; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; + +namespace Excercise8 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + var lst = new ListBox { Top = txt.Height + 10 }; + + var frm = new Form() + { + Controls = { txt, lst } + }; + + Application.Run(frm); + + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f320cdf --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise8")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise8")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/DictService.disco b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/DictService.disco new file mode 100644 index 0000000..d8b4769 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/DictService.disco @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> + <contractRef ref="http://services.aonaware.com/DictService/DictService.asmx?wsdl" docRef="http://services.aonaware.com/DictService/DictService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q1="http://services.aonaware.com/webservices/" binding="q1:DictServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q2="http://services.aonaware.com/webservices/" binding="q2:DictServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> +</discovery>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/DictService.wsdl b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/DictService.wsdl new file mode 100644 index 0000000..72a8189 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/DictService.wsdl @@ -0,0 +1,824 @@ +<?xml version="1.0" encoding="utf-8"?> +<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://services.aonaware.com/webservices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://services.aonaware.com/webservices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:types> + <s:schema elementFormDefault="qualified" targetNamespace="http://services.aonaware.com/webservices/"> + <s:element name="ServerInfo"> + <s:complexType /> + </s:element> + <s:element name="ServerInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="ServerInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryList"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Dictionary" nillable="true" type="tns:Dictionary" /> + </s:sequence> + </s:complexType> + <s:complexType name="Dictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DictionaryListExtended"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListExtendedResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListExtendedResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfo"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="Define"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="WordDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Definitions" type="tns:ArrayOfDefinition" /> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Definition" nillable="true" type="tns:Definition" /> + </s:sequence> + </s:complexType> + <s:complexType name="Definition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Dictionary" type="tns:Dictionary" /> + <s:element minOccurs="0" maxOccurs="1" name="WordDefinition" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DefineInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineInDictResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="StrategyList"> + <s:complexType /> + </s:element> + <s:element name="StrategyListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="StrategyListResult" type="tns:ArrayOfStrategy" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfStrategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Strategy" nillable="true" type="tns:Strategy" /> + </s:sequence> + </s:complexType> + <s:complexType name="Strategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="Match"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="DictionaryWord" nillable="true" type="tns:DictionaryWord" /> + </s:sequence> + </s:complexType> + <s:complexType name="DictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="MatchInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchInDictResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="string" nillable="true" type="s:string" /> + <s:element name="ArrayOfDictionary" nillable="true" type="tns:ArrayOfDictionary" /> + <s:element name="WordDefinition" nillable="true" type="tns:WordDefinition" /> + <s:element name="ArrayOfStrategy" nillable="true" type="tns:ArrayOfStrategy" /> + <s:element name="ArrayOfDictionaryWord" nillable="true" type="tns:ArrayOfDictionaryWord" /> + </s:schema> + </wsdl:types> + <wsdl:message name="ServerInfoSoapIn"> + <wsdl:part name="parameters" element="tns:ServerInfo" /> + </wsdl:message> + <wsdl:message name="ServerInfoSoapOut"> + <wsdl:part name="parameters" element="tns:ServerInfoResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryList" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryListExtended" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListExtendedResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryInfo" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryInfoResponse" /> + </wsdl:message> + <wsdl:message name="DefineSoapIn"> + <wsdl:part name="parameters" element="tns:Define" /> + </wsdl:message> + <wsdl:message name="DefineSoapOut"> + <wsdl:part name="parameters" element="tns:DefineResponse" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapIn"> + <wsdl:part name="parameters" element="tns:DefineInDict" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapOut"> + <wsdl:part name="parameters" element="tns:DefineInDictResponse" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapIn"> + <wsdl:part name="parameters" element="tns:StrategyList" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapOut"> + <wsdl:part name="parameters" element="tns:StrategyListResponse" /> + </wsdl:message> + <wsdl:message name="MatchSoapIn"> + <wsdl:part name="parameters" element="tns:Match" /> + </wsdl:message> + <wsdl:message name="MatchSoapOut"> + <wsdl:part name="parameters" element="tns:MatchResponse" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapIn"> + <wsdl:part name="parameters" element="tns:MatchInDict" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapOut"> + <wsdl:part name="parameters" element="tns:MatchInDictResponse" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpGetIn" /> + <wsdl:message name="ServerInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpGetIn" /> + <wsdl:message name="DictionaryListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpGetIn" /> + <wsdl:message name="DictionaryListExtendedHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpGetIn" /> + <wsdl:message name="StrategyListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpPostIn" /> + <wsdl:message name="ServerInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpPostIn" /> + <wsdl:message name="DictionaryListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpPostIn" /> + <wsdl:message name="DictionaryListExtendedHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpPostIn" /> + <wsdl:message name="StrategyListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:portType name="DictServiceSoap"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoSoapIn" /> + <wsdl:output message="tns:ServerInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListSoapIn" /> + <wsdl:output message="tns:DictionaryListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedSoapIn" /> + <wsdl:output message="tns:DictionaryListExtendedSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoSoapIn" /> + <wsdl:output message="tns:DictionaryInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineSoapIn" /> + <wsdl:output message="tns:DefineSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictSoapIn" /> + <wsdl:output message="tns:DefineInDictSoapOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListSoapIn" /> + <wsdl:output message="tns:StrategyListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchSoapIn" /> + <wsdl:output message="tns:MatchSoapOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictSoapIn" /> + <wsdl:output message="tns:MatchInDictSoapOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpGet"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpGetIn" /> + <wsdl:output message="tns:ServerInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpGetIn" /> + <wsdl:output message="tns:DictionaryListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpGetIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpGetIn" /> + <wsdl:output message="tns:DictionaryInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpGetIn" /> + <wsdl:output message="tns:DefineHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpGetIn" /> + <wsdl:output message="tns:DefineInDictHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpGetIn" /> + <wsdl:output message="tns:StrategyListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpGetIn" /> + <wsdl:output message="tns:MatchHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpGetIn" /> + <wsdl:output message="tns:MatchInDictHttpGetOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpPost"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpPostIn" /> + <wsdl:output message="tns:ServerInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpPostIn" /> + <wsdl:output message="tns:DictionaryListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpPostIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpPostIn" /> + <wsdl:output message="tns:DictionaryInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpPostIn" /> + <wsdl:output message="tns:DefineHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpPostIn" /> + <wsdl:output message="tns:DefineInDictHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpPostIn" /> + <wsdl:output message="tns:StrategyListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpPostIn" /> + <wsdl:output message="tns:MatchHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpPostIn" /> + <wsdl:output message="tns:MatchInDictHttpPostOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="DictServiceSoap" type="tns:DictServiceSoap"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" 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="DictServiceSoap12" type="tns:DictServiceSoap"> + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpGet" type="tns:DictServiceHttpGet"> + <http:binding verb="GET" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpPost" type="tns:DictServiceHttpPost"> + <http:binding verb="POST" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="DictService"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:port name="DictServiceSoap" binding="tns:DictServiceSoap"> + <soap:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceSoap12" binding="tns:DictServiceSoap12"> + <soap12:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpGet" binding="tns:DictServiceHttpGet"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpPost" binding="tns:DictServiceHttpPost"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + </wsdl:service> +</wsdl:definitions>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource new file mode 100644 index 0000000..b6db5d2 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Dictionary" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.Dictionary, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource new file mode 100644 index 0000000..9fd63a4 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="DictionaryWord" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.DictionaryWord, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource new file mode 100644 index 0000000..7cdc3ab --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Strategy" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.Strategy, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource new file mode 100644 index 0000000..327195d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="WordDefinition" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.WordDefinition, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/Reference.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/Reference.cs new file mode 100644 index 0000000..ab76343 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/Reference.cs @@ -0,0 +1,1064 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.431 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace Excercise8.DictionarySuggestService { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://services.aonaware.com/webservices/", ConfigurationName="DictionarySuggestService.DictServiceSoap")] + public interface DictServiceSoap { + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string ServerInfo(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState); + + string EndServerInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryListExtended(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryListExtended(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string DictionaryInfo(string dictId); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState); + + string EndDictionaryInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise8.DictionarySuggestService.WordDefinition Define(string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState); + + Excercise8.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise8.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState); + + Excercise8.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Strategy[] StrategyList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState); + + Strategy[] EndStrategyList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] Match(string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatch(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] MatchInDict(string dictId, string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatchInDict(System.IAsyncResult result); + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Dictionary : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string nameField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class DictionaryWord : object, System.ComponentModel.INotifyPropertyChanged { + + private string dictionaryIdField; + + private string wordField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string DictionaryId { + get { + return this.dictionaryIdField; + } + set { + this.dictionaryIdField = value; + this.RaisePropertyChanged("DictionaryId"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Strategy : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string descriptionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Definition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Dictionary dictionaryField; + + private string wordDefinitionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public Dictionary Dictionary { + get { + return this.dictionaryField; + } + set { + this.dictionaryField = value; + this.RaisePropertyChanged("Dictionary"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string WordDefinition { + get { + return this.wordDefinitionField; + } + set { + this.wordDefinitionField = value; + this.RaisePropertyChanged("WordDefinition"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class WordDefinition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Definition[] definitionsField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public Definition[] Definitions { + get { + return this.definitionsField; + } + set { + this.definitionsField = value; + this.RaisePropertyChanged("Definitions"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface DictServiceSoapChannel : Excercise8.DictionarySuggestService.DictServiceSoap, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class ServerInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public ServerInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListExtendedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListExtendedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise8.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise8.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise8.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise8.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class StrategyListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public StrategyListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Strategy[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Strategy[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictServiceSoapClient : System.ServiceModel.ClientBase<Excercise8.DictionarySuggestService.DictServiceSoap>, Excercise8.DictionarySuggestService.DictServiceSoap { + + private BeginOperationDelegate onBeginServerInfoDelegate; + + private EndOperationDelegate onEndServerInfoDelegate; + + private System.Threading.SendOrPostCallback onServerInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListDelegate; + + private EndOperationDelegate onEndDictionaryListDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListExtendedDelegate; + + private EndOperationDelegate onEndDictionaryListExtendedDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListExtendedCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryInfoDelegate; + + private EndOperationDelegate onEndDictionaryInfoDelegate; + + private System.Threading.SendOrPostCallback onDictionaryInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDefineDelegate; + + private EndOperationDelegate onEndDefineDelegate; + + private System.Threading.SendOrPostCallback onDefineCompletedDelegate; + + private BeginOperationDelegate onBeginDefineInDictDelegate; + + private EndOperationDelegate onEndDefineInDictDelegate; + + private System.Threading.SendOrPostCallback onDefineInDictCompletedDelegate; + + private BeginOperationDelegate onBeginStrategyListDelegate; + + private EndOperationDelegate onEndStrategyListDelegate; + + private System.Threading.SendOrPostCallback onStrategyListCompletedDelegate; + + private BeginOperationDelegate onBeginMatchDelegate; + + private EndOperationDelegate onEndMatchDelegate; + + private System.Threading.SendOrPostCallback onMatchCompletedDelegate; + + private BeginOperationDelegate onBeginMatchInDictDelegate; + + private EndOperationDelegate onEndMatchInDictDelegate; + + private System.Threading.SendOrPostCallback onMatchInDictCompletedDelegate; + + public DictServiceSoapClient() { + } + + public DictServiceSoapClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public DictServiceSoapClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + public event System.EventHandler<ServerInfoCompletedEventArgs> ServerInfoCompleted; + + public event System.EventHandler<DictionaryListCompletedEventArgs> DictionaryListCompleted; + + public event System.EventHandler<DictionaryListExtendedCompletedEventArgs> DictionaryListExtendedCompleted; + + public event System.EventHandler<DictionaryInfoCompletedEventArgs> DictionaryInfoCompleted; + + public event System.EventHandler<DefineCompletedEventArgs> DefineCompleted; + + public event System.EventHandler<DefineInDictCompletedEventArgs> DefineInDictCompleted; + + public event System.EventHandler<StrategyListCompletedEventArgs> StrategyListCompleted; + + public event System.EventHandler<MatchCompletedEventArgs> MatchCompleted; + + public event System.EventHandler<MatchInDictCompletedEventArgs> MatchInDictCompleted; + + public string ServerInfo() { + return base.Channel.ServerInfo(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginServerInfo(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndServerInfo(System.IAsyncResult result) { + return base.Channel.EndServerInfo(result); + } + + private System.IAsyncResult OnBeginServerInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginServerInfo(callback, asyncState); + } + + private object[] OnEndServerInfo(System.IAsyncResult result) { + string retVal = this.EndServerInfo(result); + return new object[] { + retVal}; + } + + private void OnServerInfoCompleted(object state) { + if ((this.ServerInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.ServerInfoCompleted(this, new ServerInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void ServerInfoAsync() { + this.ServerInfoAsync(null); + } + + public void ServerInfoAsync(object userState) { + if ((this.onBeginServerInfoDelegate == null)) { + this.onBeginServerInfoDelegate = new BeginOperationDelegate(this.OnBeginServerInfo); + } + if ((this.onEndServerInfoDelegate == null)) { + this.onEndServerInfoDelegate = new EndOperationDelegate(this.OnEndServerInfo); + } + if ((this.onServerInfoCompletedDelegate == null)) { + this.onServerInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnServerInfoCompleted); + } + base.InvokeAsync(this.onBeginServerInfoDelegate, null, this.onEndServerInfoDelegate, this.onServerInfoCompletedDelegate, userState); + } + + public Dictionary[] DictionaryList() { + return base.Channel.DictionaryList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryList(System.IAsyncResult result) { + return base.Channel.EndDictionaryList(result); + } + + private System.IAsyncResult OnBeginDictionaryList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryList(callback, asyncState); + } + + private object[] OnEndDictionaryList(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryList(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListCompleted(object state) { + if ((this.DictionaryListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListCompleted(this, new DictionaryListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListAsync() { + this.DictionaryListAsync(null); + } + + public void DictionaryListAsync(object userState) { + if ((this.onBeginDictionaryListDelegate == null)) { + this.onBeginDictionaryListDelegate = new BeginOperationDelegate(this.OnBeginDictionaryList); + } + if ((this.onEndDictionaryListDelegate == null)) { + this.onEndDictionaryListDelegate = new EndOperationDelegate(this.OnEndDictionaryList); + } + if ((this.onDictionaryListCompletedDelegate == null)) { + this.onDictionaryListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListDelegate, null, this.onEndDictionaryListDelegate, this.onDictionaryListCompletedDelegate, userState); + } + + public Dictionary[] DictionaryListExtended() { + return base.Channel.DictionaryListExtended(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryListExtended(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryListExtended(System.IAsyncResult result) { + return base.Channel.EndDictionaryListExtended(result); + } + + private System.IAsyncResult OnBeginDictionaryListExtended(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryListExtended(callback, asyncState); + } + + private object[] OnEndDictionaryListExtended(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryListExtended(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListExtendedCompleted(object state) { + if ((this.DictionaryListExtendedCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListExtendedCompleted(this, new DictionaryListExtendedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListExtendedAsync() { + this.DictionaryListExtendedAsync(null); + } + + public void DictionaryListExtendedAsync(object userState) { + if ((this.onBeginDictionaryListExtendedDelegate == null)) { + this.onBeginDictionaryListExtendedDelegate = new BeginOperationDelegate(this.OnBeginDictionaryListExtended); + } + if ((this.onEndDictionaryListExtendedDelegate == null)) { + this.onEndDictionaryListExtendedDelegate = new EndOperationDelegate(this.OnEndDictionaryListExtended); + } + if ((this.onDictionaryListExtendedCompletedDelegate == null)) { + this.onDictionaryListExtendedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListExtendedCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListExtendedDelegate, null, this.onEndDictionaryListExtendedDelegate, this.onDictionaryListExtendedCompletedDelegate, userState); + } + + public string DictionaryInfo(string dictId) { + return base.Channel.DictionaryInfo(dictId); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryInfo(dictId, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndDictionaryInfo(System.IAsyncResult result) { + return base.Channel.EndDictionaryInfo(result); + } + + private System.IAsyncResult OnBeginDictionaryInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + return this.BeginDictionaryInfo(dictId, callback, asyncState); + } + + private object[] OnEndDictionaryInfo(System.IAsyncResult result) { + string retVal = this.EndDictionaryInfo(result); + return new object[] { + retVal}; + } + + private void OnDictionaryInfoCompleted(object state) { + if ((this.DictionaryInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryInfoCompleted(this, new DictionaryInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryInfoAsync(string dictId) { + this.DictionaryInfoAsync(dictId, null); + } + + public void DictionaryInfoAsync(string dictId, object userState) { + if ((this.onBeginDictionaryInfoDelegate == null)) { + this.onBeginDictionaryInfoDelegate = new BeginOperationDelegate(this.OnBeginDictionaryInfo); + } + if ((this.onEndDictionaryInfoDelegate == null)) { + this.onEndDictionaryInfoDelegate = new EndOperationDelegate(this.OnEndDictionaryInfo); + } + if ((this.onDictionaryInfoCompletedDelegate == null)) { + this.onDictionaryInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryInfoCompleted); + } + base.InvokeAsync(this.onBeginDictionaryInfoDelegate, new object[] { + dictId}, this.onEndDictionaryInfoDelegate, this.onDictionaryInfoCompletedDelegate, userState); + } + + public Excercise8.DictionarySuggestService.WordDefinition Define(string word) { + return base.Channel.Define(word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefine(word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise8.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result) { + return base.Channel.EndDefine(result); + } + + private System.IAsyncResult OnBeginDefine(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + return this.BeginDefine(word, callback, asyncState); + } + + private object[] OnEndDefine(System.IAsyncResult result) { + Excercise8.DictionarySuggestService.WordDefinition retVal = this.EndDefine(result); + return new object[] { + retVal}; + } + + private void OnDefineCompleted(object state) { + if ((this.DefineCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineCompleted(this, new DefineCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineAsync(string word) { + this.DefineAsync(word, null); + } + + public void DefineAsync(string word, object userState) { + if ((this.onBeginDefineDelegate == null)) { + this.onBeginDefineDelegate = new BeginOperationDelegate(this.OnBeginDefine); + } + if ((this.onEndDefineDelegate == null)) { + this.onEndDefineDelegate = new EndOperationDelegate(this.OnEndDefine); + } + if ((this.onDefineCompletedDelegate == null)) { + this.onDefineCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineCompleted); + } + base.InvokeAsync(this.onBeginDefineDelegate, new object[] { + word}, this.onEndDefineDelegate, this.onDefineCompletedDelegate, userState); + } + + public Excercise8.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word) { + return base.Channel.DefineInDict(dictId, word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefineInDict(dictId, word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise8.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result) { + return base.Channel.EndDefineInDict(result); + } + + private System.IAsyncResult OnBeginDefineInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + return this.BeginDefineInDict(dictId, word, callback, asyncState); + } + + private object[] OnEndDefineInDict(System.IAsyncResult result) { + Excercise8.DictionarySuggestService.WordDefinition retVal = this.EndDefineInDict(result); + return new object[] { + retVal}; + } + + private void OnDefineInDictCompleted(object state) { + if ((this.DefineInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineInDictCompleted(this, new DefineInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineInDictAsync(string dictId, string word) { + this.DefineInDictAsync(dictId, word, null); + } + + public void DefineInDictAsync(string dictId, string word, object userState) { + if ((this.onBeginDefineInDictDelegate == null)) { + this.onBeginDefineInDictDelegate = new BeginOperationDelegate(this.OnBeginDefineInDict); + } + if ((this.onEndDefineInDictDelegate == null)) { + this.onEndDefineInDictDelegate = new EndOperationDelegate(this.OnEndDefineInDict); + } + if ((this.onDefineInDictCompletedDelegate == null)) { + this.onDefineInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineInDictCompleted); + } + base.InvokeAsync(this.onBeginDefineInDictDelegate, new object[] { + dictId, + word}, this.onEndDefineInDictDelegate, this.onDefineInDictCompletedDelegate, userState); + } + + public Strategy[] StrategyList() { + return base.Channel.StrategyList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginStrategyList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Strategy[] EndStrategyList(System.IAsyncResult result) { + return base.Channel.EndStrategyList(result); + } + + private System.IAsyncResult OnBeginStrategyList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginStrategyList(callback, asyncState); + } + + private object[] OnEndStrategyList(System.IAsyncResult result) { + Strategy[] retVal = this.EndStrategyList(result); + return new object[] { + retVal}; + } + + private void OnStrategyListCompleted(object state) { + if ((this.StrategyListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.StrategyListCompleted(this, new StrategyListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void StrategyListAsync() { + this.StrategyListAsync(null); + } + + public void StrategyListAsync(object userState) { + if ((this.onBeginStrategyListDelegate == null)) { + this.onBeginStrategyListDelegate = new BeginOperationDelegate(this.OnBeginStrategyList); + } + if ((this.onEndStrategyListDelegate == null)) { + this.onEndStrategyListDelegate = new EndOperationDelegate(this.OnEndStrategyList); + } + if ((this.onStrategyListCompletedDelegate == null)) { + this.onStrategyListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStrategyListCompleted); + } + base.InvokeAsync(this.onBeginStrategyListDelegate, null, this.onEndStrategyListDelegate, this.onStrategyListCompletedDelegate, userState); + } + + public DictionaryWord[] Match(string word, string strategy) { + return base.Channel.Match(word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatch(word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatch(System.IAsyncResult result) { + return base.Channel.EndMatch(result); + } + + private System.IAsyncResult OnBeginMatch(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + string strategy = ((string)(inValues[1])); + return this.BeginMatch(word, strategy, callback, asyncState); + } + + private object[] OnEndMatch(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatch(result); + return new object[] { + retVal}; + } + + private void OnMatchCompleted(object state) { + if ((this.MatchCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchCompleted(this, new MatchCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchAsync(string word, string strategy) { + this.MatchAsync(word, strategy, null); + } + + public void MatchAsync(string word, string strategy, object userState) { + if ((this.onBeginMatchDelegate == null)) { + this.onBeginMatchDelegate = new BeginOperationDelegate(this.OnBeginMatch); + } + if ((this.onEndMatchDelegate == null)) { + this.onEndMatchDelegate = new EndOperationDelegate(this.OnEndMatch); + } + if ((this.onMatchCompletedDelegate == null)) { + this.onMatchCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchCompleted); + } + base.InvokeAsync(this.onBeginMatchDelegate, new object[] { + word, + strategy}, this.onEndMatchDelegate, this.onMatchCompletedDelegate, userState); + } + + public DictionaryWord[] MatchInDict(string dictId, string word, string strategy) { + return base.Channel.MatchInDict(dictId, word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatchInDict(System.IAsyncResult result) { + return base.Channel.EndMatchInDict(result); + } + + private System.IAsyncResult OnBeginMatchInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + string strategy = ((string)(inValues[2])); + return this.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + private object[] OnEndMatchInDict(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatchInDict(result); + return new object[] { + retVal}; + } + + private void OnMatchInDictCompleted(object state) { + if ((this.MatchInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchInDictCompleted(this, new MatchInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchInDictAsync(string dictId, string word, string strategy) { + this.MatchInDictAsync(dictId, word, strategy, null); + } + + public void MatchInDictAsync(string dictId, string word, string strategy, object userState) { + if ((this.onBeginMatchInDictDelegate == null)) { + this.onBeginMatchInDictDelegate = new BeginOperationDelegate(this.OnBeginMatchInDict); + } + if ((this.onEndMatchInDictDelegate == null)) { + this.onEndMatchInDictDelegate = new EndOperationDelegate(this.OnEndMatchInDict); + } + if ((this.onMatchInDictCompletedDelegate == null)) { + this.onMatchInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchInDictCompleted); + } + base.InvokeAsync(this.onBeginMatchInDictDelegate, new object[] { + dictId, + word, + strategy}, this.onEndMatchInDictDelegate, this.onMatchInDictCompletedDelegate, userState); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/Reference.svcmap b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/Reference.svcmap new file mode 100644 index 0000000..d794608 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/Reference.svcmap @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="a222b556-1c85-4adb-a088-1dbc8a525d48" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap"> + <ClientOptions> + <GenerateAsynchronousMethods>true</GenerateAsynchronousMethods> + <EnableDataBinding>true</EnableDataBinding> + <ExcludedTypes /> + <ImportXmlTypes>false</ImportXmlTypes> + <GenerateInternalTypes>false</GenerateInternalTypes> + <GenerateMessageContracts>false</GenerateMessageContracts> + <NamespaceMappings /> + <CollectionMappings /> + <GenerateSerializableTypes>true</GenerateSerializableTypes> + <Serializer>Auto</Serializer> + <UseSerializerForFaults>true</UseSerializerForFaults> + <ReferenceAllAssemblies>true</ReferenceAllAssemblies> + <ReferencedAssemblies /> + <ReferencedDataContractTypes /> + <ServiceContractMappings /> + </ClientOptions> + <MetadataSources> + <MetadataSource Address="http://services.aonaware.com/DictService/DictService.asmx" Protocol="http" SourceId="1" /> + </MetadataSources> + <Metadata> + <MetadataFile FileName="DictService.disco" MetadataType="Disco" ID="3f85de9a-da7d-4479-b27d-5a5627c05bb7" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?disco" /> + <MetadataFile FileName="DictService.wsdl" MetadataType="Wsdl" ID="203922c6-877a-446e-99ef-8b94871d20f3" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?wsdl" /> + </Metadata> + <Extensions> + <ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" /> + <ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" /> + </Extensions> +</ReferenceGroup>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/configuration.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/configuration.svcinfo new file mode 100644 index 0000000..a856d3d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/configuration.svcinfo @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot"> + <behaviors /> + <bindings> + <binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" messageEncoding="Text" name="DictServiceSoap" textEncoding="utf-8" transferMode="Buffered"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /><security mode="None"><message algorithmSuite="Default" clientCredentialType="UserName" /><transport clientCredentialType="None" proxyCredentialType="None" realm="" /></security></Data>" bindingType="basicHttpBinding" name="DictServiceSoap" /> + <binding digest="System.ServiceModel.Configuration.CustomBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="DictServiceSoap12"><httpTransport allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" manualAddressing="false" maxBufferPoolSize="524288" maxBufferSize="65536" maxReceivedMessageSize="65536" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" /><textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap12" writeEncoding="utf-8"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /></textMessageEncoding></Data>" bindingType="customBinding" name="DictServiceSoap12" /> + </bindings> + <endpoints> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </endpoints> +</configurationSnapshot>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/configuration91.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/configuration91.svcinfo new file mode 100644 index 0000000..2599177 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/Service References/DictionarySuggestService/configuration91.svcinfo @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="Cb1mlQVfrIvXhoWXP+TpwPhxgGY="> + <bindingConfigurations> + <bindingConfiguration bindingType="basicHttpBinding" name="DictServiceSoap"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:10:00</serializedValue> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Text</serializedValue> + </property> + <property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue> + </property> + <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue> + </property> + <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + <property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue> + </property> + <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>UserName</serializedValue> + </property> + <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Default</serializedValue> + </property> + <property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + </properties> + </bindingConfiguration> + <bindingConfiguration bindingType="customBinding" name="DictServiceSoap12"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/textMessageEncoding" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TextMessageEncodingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.TextMessageEncodingElement</serializedValue> + </property> + <property path="/textMessageEncoding/maxReadPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>64</serializedValue> + </property> + <property path="/textMessageEncoding/maxWritePoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16</serializedValue> + </property> + <property path="/textMessageEncoding/messageVersion" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.MessageVersion, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Soap12</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/writeEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/httpTransport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportElement</serializedValue> + </property> + <property path="/httpTransport/manualAddressing" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/httpTransport/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/authenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/decompressionEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/httpTransport/keepAliveEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/proxyAddress" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/proxyAuthenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/httpTransport/unsafeConnectionNtlmAuthentication" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + </properties> + </bindingConfiguration> + </bindingConfigurations> + <endpoints> + <endpoint name="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" bindingType="basicHttpBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>basicHttpBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + <endpoint name="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" bindingType="customBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap12"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>customBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + </endpoints> +</SavedWcfConfigurationInformation>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step01/app.config b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/app.config new file mode 100644 index 0000000..cf1770f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step01/app.config @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <system.serviceModel> + <bindings> + <basicHttpBinding> + <binding name="DictServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" + receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" + bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" + maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" + messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" + useDefaultWebProxy="true"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + <security mode="None"> + <transport clientCredentialType="None" proxyCredentialType="None" + realm="" /> + <message clientCredentialType="UserName" algorithmSuite="Default" /> + </security> + </binding> + </basicHttpBinding> + <customBinding> + <binding name="DictServiceSoap12"> + <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" + messageVersion="Soap12" writeEncoding="utf-8"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + </textMessageEncoding> + <httpTransport manualAddressing="false" maxBufferPoolSize="524288" + maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous" + bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" + keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous" + realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" + useDefaultWebProxy="true" /> + </binding> + </customBinding> + </bindings> + <client> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="customBinding" bindingConfiguration="DictServiceSoap12" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </client> + </system.serviceModel> +</configuration>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Excercise8.csproj b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Excercise8.csproj new file mode 100644 index 0000000..fcc5f96 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Excercise8.csproj @@ -0,0 +1,104 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{0801402D-9E97-41EC-BDD3-28AB6B3C0EC5}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise8</RootNamespace> + <AssemblyName>Excercise8</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.ServiceModel" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Service References\DictionarySuggestService\Reference.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Reference.svcmap</DependentUpon> + </Compile> + </ItemGroup> + <ItemGroup> + <WCFMetadata Include="Service References\" /> + </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + <None Include="Service References\DictionarySuggestService\DictService.wsdl" /> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.Dictionary.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.DictionaryWord.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.Strategy.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.WordDefinition.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + </ItemGroup> + <ItemGroup> + <WCFMetadataStorage Include="Service References\DictionarySuggestService\" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\DictService.disco" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration91.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\Reference.svcmap"> + <Generator>WCF Proxy Generator</Generator> + <LastGenOutput>Reference.cs</LastGenOutput> + </None> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Excercise8.sln b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Excercise8.sln new file mode 100644 index 0000000..e2c0652 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Excercise8.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise8", "Excercise8.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Program.cs new file mode 100644 index 0000000..b82bdb8 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Program.cs @@ -0,0 +1,32 @@ +using System; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; + +namespace Excercise8 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + var lst = new ListBox { Top = txt.Height + 10 }; + + var frm = new Form() + { + Controls = { txt, lst } + }; + + var input = (from evt in Observable.FromEventPattern(txt, "TextChanged") + select ((TextBox)evt.Sender).Text) + .Throttle(TimeSpan.FromSeconds(1)) + .DistinctUntilChanged() + .Do(x => Console.WriteLine(x)); + + using (input.Subscribe(inp => Console.WriteLine("User wrote: " + inp))) + { + Application.Run(frm); + } + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f320cdf --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise8")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise8")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/DictService.disco b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/DictService.disco new file mode 100644 index 0000000..d8b4769 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/DictService.disco @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> + <contractRef ref="http://services.aonaware.com/DictService/DictService.asmx?wsdl" docRef="http://services.aonaware.com/DictService/DictService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q1="http://services.aonaware.com/webservices/" binding="q1:DictServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q2="http://services.aonaware.com/webservices/" binding="q2:DictServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> +</discovery>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/DictService.wsdl b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/DictService.wsdl new file mode 100644 index 0000000..72a8189 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/DictService.wsdl @@ -0,0 +1,824 @@ +<?xml version="1.0" encoding="utf-8"?> +<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://services.aonaware.com/webservices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://services.aonaware.com/webservices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:types> + <s:schema elementFormDefault="qualified" targetNamespace="http://services.aonaware.com/webservices/"> + <s:element name="ServerInfo"> + <s:complexType /> + </s:element> + <s:element name="ServerInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="ServerInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryList"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Dictionary" nillable="true" type="tns:Dictionary" /> + </s:sequence> + </s:complexType> + <s:complexType name="Dictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DictionaryListExtended"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListExtendedResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListExtendedResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfo"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="Define"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="WordDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Definitions" type="tns:ArrayOfDefinition" /> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Definition" nillable="true" type="tns:Definition" /> + </s:sequence> + </s:complexType> + <s:complexType name="Definition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Dictionary" type="tns:Dictionary" /> + <s:element minOccurs="0" maxOccurs="1" name="WordDefinition" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DefineInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineInDictResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="StrategyList"> + <s:complexType /> + </s:element> + <s:element name="StrategyListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="StrategyListResult" type="tns:ArrayOfStrategy" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfStrategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Strategy" nillable="true" type="tns:Strategy" /> + </s:sequence> + </s:complexType> + <s:complexType name="Strategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="Match"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="DictionaryWord" nillable="true" type="tns:DictionaryWord" /> + </s:sequence> + </s:complexType> + <s:complexType name="DictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="MatchInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchInDictResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="string" nillable="true" type="s:string" /> + <s:element name="ArrayOfDictionary" nillable="true" type="tns:ArrayOfDictionary" /> + <s:element name="WordDefinition" nillable="true" type="tns:WordDefinition" /> + <s:element name="ArrayOfStrategy" nillable="true" type="tns:ArrayOfStrategy" /> + <s:element name="ArrayOfDictionaryWord" nillable="true" type="tns:ArrayOfDictionaryWord" /> + </s:schema> + </wsdl:types> + <wsdl:message name="ServerInfoSoapIn"> + <wsdl:part name="parameters" element="tns:ServerInfo" /> + </wsdl:message> + <wsdl:message name="ServerInfoSoapOut"> + <wsdl:part name="parameters" element="tns:ServerInfoResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryList" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryListExtended" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListExtendedResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryInfo" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryInfoResponse" /> + </wsdl:message> + <wsdl:message name="DefineSoapIn"> + <wsdl:part name="parameters" element="tns:Define" /> + </wsdl:message> + <wsdl:message name="DefineSoapOut"> + <wsdl:part name="parameters" element="tns:DefineResponse" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapIn"> + <wsdl:part name="parameters" element="tns:DefineInDict" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapOut"> + <wsdl:part name="parameters" element="tns:DefineInDictResponse" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapIn"> + <wsdl:part name="parameters" element="tns:StrategyList" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapOut"> + <wsdl:part name="parameters" element="tns:StrategyListResponse" /> + </wsdl:message> + <wsdl:message name="MatchSoapIn"> + <wsdl:part name="parameters" element="tns:Match" /> + </wsdl:message> + <wsdl:message name="MatchSoapOut"> + <wsdl:part name="parameters" element="tns:MatchResponse" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapIn"> + <wsdl:part name="parameters" element="tns:MatchInDict" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapOut"> + <wsdl:part name="parameters" element="tns:MatchInDictResponse" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpGetIn" /> + <wsdl:message name="ServerInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpGetIn" /> + <wsdl:message name="DictionaryListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpGetIn" /> + <wsdl:message name="DictionaryListExtendedHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpGetIn" /> + <wsdl:message name="StrategyListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpPostIn" /> + <wsdl:message name="ServerInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpPostIn" /> + <wsdl:message name="DictionaryListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpPostIn" /> + <wsdl:message name="DictionaryListExtendedHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpPostIn" /> + <wsdl:message name="StrategyListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:portType name="DictServiceSoap"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoSoapIn" /> + <wsdl:output message="tns:ServerInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListSoapIn" /> + <wsdl:output message="tns:DictionaryListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedSoapIn" /> + <wsdl:output message="tns:DictionaryListExtendedSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoSoapIn" /> + <wsdl:output message="tns:DictionaryInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineSoapIn" /> + <wsdl:output message="tns:DefineSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictSoapIn" /> + <wsdl:output message="tns:DefineInDictSoapOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListSoapIn" /> + <wsdl:output message="tns:StrategyListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchSoapIn" /> + <wsdl:output message="tns:MatchSoapOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictSoapIn" /> + <wsdl:output message="tns:MatchInDictSoapOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpGet"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpGetIn" /> + <wsdl:output message="tns:ServerInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpGetIn" /> + <wsdl:output message="tns:DictionaryListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpGetIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpGetIn" /> + <wsdl:output message="tns:DictionaryInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpGetIn" /> + <wsdl:output message="tns:DefineHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpGetIn" /> + <wsdl:output message="tns:DefineInDictHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpGetIn" /> + <wsdl:output message="tns:StrategyListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpGetIn" /> + <wsdl:output message="tns:MatchHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpGetIn" /> + <wsdl:output message="tns:MatchInDictHttpGetOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpPost"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpPostIn" /> + <wsdl:output message="tns:ServerInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpPostIn" /> + <wsdl:output message="tns:DictionaryListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpPostIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpPostIn" /> + <wsdl:output message="tns:DictionaryInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpPostIn" /> + <wsdl:output message="tns:DefineHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpPostIn" /> + <wsdl:output message="tns:DefineInDictHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpPostIn" /> + <wsdl:output message="tns:StrategyListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpPostIn" /> + <wsdl:output message="tns:MatchHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpPostIn" /> + <wsdl:output message="tns:MatchInDictHttpPostOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="DictServiceSoap" type="tns:DictServiceSoap"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" 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="DictServiceSoap12" type="tns:DictServiceSoap"> + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpGet" type="tns:DictServiceHttpGet"> + <http:binding verb="GET" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpPost" type="tns:DictServiceHttpPost"> + <http:binding verb="POST" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="DictService"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:port name="DictServiceSoap" binding="tns:DictServiceSoap"> + <soap:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceSoap12" binding="tns:DictServiceSoap12"> + <soap12:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpGet" binding="tns:DictServiceHttpGet"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpPost" binding="tns:DictServiceHttpPost"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + </wsdl:service> +</wsdl:definitions>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource new file mode 100644 index 0000000..b6db5d2 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Dictionary" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.Dictionary, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource new file mode 100644 index 0000000..9fd63a4 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="DictionaryWord" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.DictionaryWord, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource new file mode 100644 index 0000000..7cdc3ab --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Strategy" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.Strategy, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource new file mode 100644 index 0000000..327195d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="WordDefinition" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.WordDefinition, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/Reference.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/Reference.cs new file mode 100644 index 0000000..ab76343 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/Reference.cs @@ -0,0 +1,1064 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.431 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace Excercise8.DictionarySuggestService { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://services.aonaware.com/webservices/", ConfigurationName="DictionarySuggestService.DictServiceSoap")] + public interface DictServiceSoap { + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string ServerInfo(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState); + + string EndServerInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryListExtended(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryListExtended(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string DictionaryInfo(string dictId); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState); + + string EndDictionaryInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise8.DictionarySuggestService.WordDefinition Define(string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState); + + Excercise8.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise8.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState); + + Excercise8.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Strategy[] StrategyList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState); + + Strategy[] EndStrategyList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] Match(string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatch(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] MatchInDict(string dictId, string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatchInDict(System.IAsyncResult result); + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Dictionary : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string nameField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class DictionaryWord : object, System.ComponentModel.INotifyPropertyChanged { + + private string dictionaryIdField; + + private string wordField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string DictionaryId { + get { + return this.dictionaryIdField; + } + set { + this.dictionaryIdField = value; + this.RaisePropertyChanged("DictionaryId"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Strategy : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string descriptionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Definition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Dictionary dictionaryField; + + private string wordDefinitionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public Dictionary Dictionary { + get { + return this.dictionaryField; + } + set { + this.dictionaryField = value; + this.RaisePropertyChanged("Dictionary"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string WordDefinition { + get { + return this.wordDefinitionField; + } + set { + this.wordDefinitionField = value; + this.RaisePropertyChanged("WordDefinition"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class WordDefinition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Definition[] definitionsField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public Definition[] Definitions { + get { + return this.definitionsField; + } + set { + this.definitionsField = value; + this.RaisePropertyChanged("Definitions"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface DictServiceSoapChannel : Excercise8.DictionarySuggestService.DictServiceSoap, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class ServerInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public ServerInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListExtendedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListExtendedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise8.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise8.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise8.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise8.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class StrategyListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public StrategyListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Strategy[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Strategy[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictServiceSoapClient : System.ServiceModel.ClientBase<Excercise8.DictionarySuggestService.DictServiceSoap>, Excercise8.DictionarySuggestService.DictServiceSoap { + + private BeginOperationDelegate onBeginServerInfoDelegate; + + private EndOperationDelegate onEndServerInfoDelegate; + + private System.Threading.SendOrPostCallback onServerInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListDelegate; + + private EndOperationDelegate onEndDictionaryListDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListExtendedDelegate; + + private EndOperationDelegate onEndDictionaryListExtendedDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListExtendedCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryInfoDelegate; + + private EndOperationDelegate onEndDictionaryInfoDelegate; + + private System.Threading.SendOrPostCallback onDictionaryInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDefineDelegate; + + private EndOperationDelegate onEndDefineDelegate; + + private System.Threading.SendOrPostCallback onDefineCompletedDelegate; + + private BeginOperationDelegate onBeginDefineInDictDelegate; + + private EndOperationDelegate onEndDefineInDictDelegate; + + private System.Threading.SendOrPostCallback onDefineInDictCompletedDelegate; + + private BeginOperationDelegate onBeginStrategyListDelegate; + + private EndOperationDelegate onEndStrategyListDelegate; + + private System.Threading.SendOrPostCallback onStrategyListCompletedDelegate; + + private BeginOperationDelegate onBeginMatchDelegate; + + private EndOperationDelegate onEndMatchDelegate; + + private System.Threading.SendOrPostCallback onMatchCompletedDelegate; + + private BeginOperationDelegate onBeginMatchInDictDelegate; + + private EndOperationDelegate onEndMatchInDictDelegate; + + private System.Threading.SendOrPostCallback onMatchInDictCompletedDelegate; + + public DictServiceSoapClient() { + } + + public DictServiceSoapClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public DictServiceSoapClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + public event System.EventHandler<ServerInfoCompletedEventArgs> ServerInfoCompleted; + + public event System.EventHandler<DictionaryListCompletedEventArgs> DictionaryListCompleted; + + public event System.EventHandler<DictionaryListExtendedCompletedEventArgs> DictionaryListExtendedCompleted; + + public event System.EventHandler<DictionaryInfoCompletedEventArgs> DictionaryInfoCompleted; + + public event System.EventHandler<DefineCompletedEventArgs> DefineCompleted; + + public event System.EventHandler<DefineInDictCompletedEventArgs> DefineInDictCompleted; + + public event System.EventHandler<StrategyListCompletedEventArgs> StrategyListCompleted; + + public event System.EventHandler<MatchCompletedEventArgs> MatchCompleted; + + public event System.EventHandler<MatchInDictCompletedEventArgs> MatchInDictCompleted; + + public string ServerInfo() { + return base.Channel.ServerInfo(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginServerInfo(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndServerInfo(System.IAsyncResult result) { + return base.Channel.EndServerInfo(result); + } + + private System.IAsyncResult OnBeginServerInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginServerInfo(callback, asyncState); + } + + private object[] OnEndServerInfo(System.IAsyncResult result) { + string retVal = this.EndServerInfo(result); + return new object[] { + retVal}; + } + + private void OnServerInfoCompleted(object state) { + if ((this.ServerInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.ServerInfoCompleted(this, new ServerInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void ServerInfoAsync() { + this.ServerInfoAsync(null); + } + + public void ServerInfoAsync(object userState) { + if ((this.onBeginServerInfoDelegate == null)) { + this.onBeginServerInfoDelegate = new BeginOperationDelegate(this.OnBeginServerInfo); + } + if ((this.onEndServerInfoDelegate == null)) { + this.onEndServerInfoDelegate = new EndOperationDelegate(this.OnEndServerInfo); + } + if ((this.onServerInfoCompletedDelegate == null)) { + this.onServerInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnServerInfoCompleted); + } + base.InvokeAsync(this.onBeginServerInfoDelegate, null, this.onEndServerInfoDelegate, this.onServerInfoCompletedDelegate, userState); + } + + public Dictionary[] DictionaryList() { + return base.Channel.DictionaryList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryList(System.IAsyncResult result) { + return base.Channel.EndDictionaryList(result); + } + + private System.IAsyncResult OnBeginDictionaryList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryList(callback, asyncState); + } + + private object[] OnEndDictionaryList(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryList(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListCompleted(object state) { + if ((this.DictionaryListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListCompleted(this, new DictionaryListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListAsync() { + this.DictionaryListAsync(null); + } + + public void DictionaryListAsync(object userState) { + if ((this.onBeginDictionaryListDelegate == null)) { + this.onBeginDictionaryListDelegate = new BeginOperationDelegate(this.OnBeginDictionaryList); + } + if ((this.onEndDictionaryListDelegate == null)) { + this.onEndDictionaryListDelegate = new EndOperationDelegate(this.OnEndDictionaryList); + } + if ((this.onDictionaryListCompletedDelegate == null)) { + this.onDictionaryListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListDelegate, null, this.onEndDictionaryListDelegate, this.onDictionaryListCompletedDelegate, userState); + } + + public Dictionary[] DictionaryListExtended() { + return base.Channel.DictionaryListExtended(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryListExtended(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryListExtended(System.IAsyncResult result) { + return base.Channel.EndDictionaryListExtended(result); + } + + private System.IAsyncResult OnBeginDictionaryListExtended(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryListExtended(callback, asyncState); + } + + private object[] OnEndDictionaryListExtended(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryListExtended(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListExtendedCompleted(object state) { + if ((this.DictionaryListExtendedCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListExtendedCompleted(this, new DictionaryListExtendedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListExtendedAsync() { + this.DictionaryListExtendedAsync(null); + } + + public void DictionaryListExtendedAsync(object userState) { + if ((this.onBeginDictionaryListExtendedDelegate == null)) { + this.onBeginDictionaryListExtendedDelegate = new BeginOperationDelegate(this.OnBeginDictionaryListExtended); + } + if ((this.onEndDictionaryListExtendedDelegate == null)) { + this.onEndDictionaryListExtendedDelegate = new EndOperationDelegate(this.OnEndDictionaryListExtended); + } + if ((this.onDictionaryListExtendedCompletedDelegate == null)) { + this.onDictionaryListExtendedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListExtendedCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListExtendedDelegate, null, this.onEndDictionaryListExtendedDelegate, this.onDictionaryListExtendedCompletedDelegate, userState); + } + + public string DictionaryInfo(string dictId) { + return base.Channel.DictionaryInfo(dictId); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryInfo(dictId, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndDictionaryInfo(System.IAsyncResult result) { + return base.Channel.EndDictionaryInfo(result); + } + + private System.IAsyncResult OnBeginDictionaryInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + return this.BeginDictionaryInfo(dictId, callback, asyncState); + } + + private object[] OnEndDictionaryInfo(System.IAsyncResult result) { + string retVal = this.EndDictionaryInfo(result); + return new object[] { + retVal}; + } + + private void OnDictionaryInfoCompleted(object state) { + if ((this.DictionaryInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryInfoCompleted(this, new DictionaryInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryInfoAsync(string dictId) { + this.DictionaryInfoAsync(dictId, null); + } + + public void DictionaryInfoAsync(string dictId, object userState) { + if ((this.onBeginDictionaryInfoDelegate == null)) { + this.onBeginDictionaryInfoDelegate = new BeginOperationDelegate(this.OnBeginDictionaryInfo); + } + if ((this.onEndDictionaryInfoDelegate == null)) { + this.onEndDictionaryInfoDelegate = new EndOperationDelegate(this.OnEndDictionaryInfo); + } + if ((this.onDictionaryInfoCompletedDelegate == null)) { + this.onDictionaryInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryInfoCompleted); + } + base.InvokeAsync(this.onBeginDictionaryInfoDelegate, new object[] { + dictId}, this.onEndDictionaryInfoDelegate, this.onDictionaryInfoCompletedDelegate, userState); + } + + public Excercise8.DictionarySuggestService.WordDefinition Define(string word) { + return base.Channel.Define(word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefine(word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise8.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result) { + return base.Channel.EndDefine(result); + } + + private System.IAsyncResult OnBeginDefine(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + return this.BeginDefine(word, callback, asyncState); + } + + private object[] OnEndDefine(System.IAsyncResult result) { + Excercise8.DictionarySuggestService.WordDefinition retVal = this.EndDefine(result); + return new object[] { + retVal}; + } + + private void OnDefineCompleted(object state) { + if ((this.DefineCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineCompleted(this, new DefineCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineAsync(string word) { + this.DefineAsync(word, null); + } + + public void DefineAsync(string word, object userState) { + if ((this.onBeginDefineDelegate == null)) { + this.onBeginDefineDelegate = new BeginOperationDelegate(this.OnBeginDefine); + } + if ((this.onEndDefineDelegate == null)) { + this.onEndDefineDelegate = new EndOperationDelegate(this.OnEndDefine); + } + if ((this.onDefineCompletedDelegate == null)) { + this.onDefineCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineCompleted); + } + base.InvokeAsync(this.onBeginDefineDelegate, new object[] { + word}, this.onEndDefineDelegate, this.onDefineCompletedDelegate, userState); + } + + public Excercise8.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word) { + return base.Channel.DefineInDict(dictId, word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefineInDict(dictId, word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise8.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result) { + return base.Channel.EndDefineInDict(result); + } + + private System.IAsyncResult OnBeginDefineInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + return this.BeginDefineInDict(dictId, word, callback, asyncState); + } + + private object[] OnEndDefineInDict(System.IAsyncResult result) { + Excercise8.DictionarySuggestService.WordDefinition retVal = this.EndDefineInDict(result); + return new object[] { + retVal}; + } + + private void OnDefineInDictCompleted(object state) { + if ((this.DefineInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineInDictCompleted(this, new DefineInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineInDictAsync(string dictId, string word) { + this.DefineInDictAsync(dictId, word, null); + } + + public void DefineInDictAsync(string dictId, string word, object userState) { + if ((this.onBeginDefineInDictDelegate == null)) { + this.onBeginDefineInDictDelegate = new BeginOperationDelegate(this.OnBeginDefineInDict); + } + if ((this.onEndDefineInDictDelegate == null)) { + this.onEndDefineInDictDelegate = new EndOperationDelegate(this.OnEndDefineInDict); + } + if ((this.onDefineInDictCompletedDelegate == null)) { + this.onDefineInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineInDictCompleted); + } + base.InvokeAsync(this.onBeginDefineInDictDelegate, new object[] { + dictId, + word}, this.onEndDefineInDictDelegate, this.onDefineInDictCompletedDelegate, userState); + } + + public Strategy[] StrategyList() { + return base.Channel.StrategyList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginStrategyList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Strategy[] EndStrategyList(System.IAsyncResult result) { + return base.Channel.EndStrategyList(result); + } + + private System.IAsyncResult OnBeginStrategyList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginStrategyList(callback, asyncState); + } + + private object[] OnEndStrategyList(System.IAsyncResult result) { + Strategy[] retVal = this.EndStrategyList(result); + return new object[] { + retVal}; + } + + private void OnStrategyListCompleted(object state) { + if ((this.StrategyListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.StrategyListCompleted(this, new StrategyListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void StrategyListAsync() { + this.StrategyListAsync(null); + } + + public void StrategyListAsync(object userState) { + if ((this.onBeginStrategyListDelegate == null)) { + this.onBeginStrategyListDelegate = new BeginOperationDelegate(this.OnBeginStrategyList); + } + if ((this.onEndStrategyListDelegate == null)) { + this.onEndStrategyListDelegate = new EndOperationDelegate(this.OnEndStrategyList); + } + if ((this.onStrategyListCompletedDelegate == null)) { + this.onStrategyListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStrategyListCompleted); + } + base.InvokeAsync(this.onBeginStrategyListDelegate, null, this.onEndStrategyListDelegate, this.onStrategyListCompletedDelegate, userState); + } + + public DictionaryWord[] Match(string word, string strategy) { + return base.Channel.Match(word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatch(word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatch(System.IAsyncResult result) { + return base.Channel.EndMatch(result); + } + + private System.IAsyncResult OnBeginMatch(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + string strategy = ((string)(inValues[1])); + return this.BeginMatch(word, strategy, callback, asyncState); + } + + private object[] OnEndMatch(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatch(result); + return new object[] { + retVal}; + } + + private void OnMatchCompleted(object state) { + if ((this.MatchCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchCompleted(this, new MatchCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchAsync(string word, string strategy) { + this.MatchAsync(word, strategy, null); + } + + public void MatchAsync(string word, string strategy, object userState) { + if ((this.onBeginMatchDelegate == null)) { + this.onBeginMatchDelegate = new BeginOperationDelegate(this.OnBeginMatch); + } + if ((this.onEndMatchDelegate == null)) { + this.onEndMatchDelegate = new EndOperationDelegate(this.OnEndMatch); + } + if ((this.onMatchCompletedDelegate == null)) { + this.onMatchCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchCompleted); + } + base.InvokeAsync(this.onBeginMatchDelegate, new object[] { + word, + strategy}, this.onEndMatchDelegate, this.onMatchCompletedDelegate, userState); + } + + public DictionaryWord[] MatchInDict(string dictId, string word, string strategy) { + return base.Channel.MatchInDict(dictId, word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatchInDict(System.IAsyncResult result) { + return base.Channel.EndMatchInDict(result); + } + + private System.IAsyncResult OnBeginMatchInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + string strategy = ((string)(inValues[2])); + return this.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + private object[] OnEndMatchInDict(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatchInDict(result); + return new object[] { + retVal}; + } + + private void OnMatchInDictCompleted(object state) { + if ((this.MatchInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchInDictCompleted(this, new MatchInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchInDictAsync(string dictId, string word, string strategy) { + this.MatchInDictAsync(dictId, word, strategy, null); + } + + public void MatchInDictAsync(string dictId, string word, string strategy, object userState) { + if ((this.onBeginMatchInDictDelegate == null)) { + this.onBeginMatchInDictDelegate = new BeginOperationDelegate(this.OnBeginMatchInDict); + } + if ((this.onEndMatchInDictDelegate == null)) { + this.onEndMatchInDictDelegate = new EndOperationDelegate(this.OnEndMatchInDict); + } + if ((this.onMatchInDictCompletedDelegate == null)) { + this.onMatchInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchInDictCompleted); + } + base.InvokeAsync(this.onBeginMatchInDictDelegate, new object[] { + dictId, + word, + strategy}, this.onEndMatchInDictDelegate, this.onMatchInDictCompletedDelegate, userState); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/Reference.svcmap b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/Reference.svcmap new file mode 100644 index 0000000..b73206d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/Reference.svcmap @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="356035da-f33d-4340-9247-1b3087a0bf1c" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap"> + <ClientOptions> + <GenerateAsynchronousMethods>true</GenerateAsynchronousMethods> + <EnableDataBinding>true</EnableDataBinding> + <ExcludedTypes /> + <ImportXmlTypes>false</ImportXmlTypes> + <GenerateInternalTypes>false</GenerateInternalTypes> + <GenerateMessageContracts>false</GenerateMessageContracts> + <NamespaceMappings /> + <CollectionMappings /> + <GenerateSerializableTypes>true</GenerateSerializableTypes> + <Serializer>Auto</Serializer> + <UseSerializerForFaults>true</UseSerializerForFaults> + <ReferenceAllAssemblies>true</ReferenceAllAssemblies> + <ReferencedAssemblies /> + <ReferencedDataContractTypes /> + <ServiceContractMappings /> + </ClientOptions> + <MetadataSources> + <MetadataSource Address="http://services.aonaware.com/DictService/DictService.asmx" Protocol="http" SourceId="1" /> + </MetadataSources> + <Metadata> + <MetadataFile FileName="DictService.disco" MetadataType="Disco" ID="35bd3838-c41e-414c-bbef-6cd9299c56d2" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?disco" /> + <MetadataFile FileName="DictService.wsdl" MetadataType="Wsdl" ID="8da61420-6f3b-4163-950d-f733d8307ab5" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?wsdl" /> + </Metadata> + <Extensions> + <ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" /> + <ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" /> + </Extensions> +</ReferenceGroup>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/configuration.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/configuration.svcinfo new file mode 100644 index 0000000..a856d3d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/configuration.svcinfo @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot"> + <behaviors /> + <bindings> + <binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" messageEncoding="Text" name="DictServiceSoap" textEncoding="utf-8" transferMode="Buffered"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /><security mode="None"><message algorithmSuite="Default" clientCredentialType="UserName" /><transport clientCredentialType="None" proxyCredentialType="None" realm="" /></security></Data>" bindingType="basicHttpBinding" name="DictServiceSoap" /> + <binding digest="System.ServiceModel.Configuration.CustomBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="DictServiceSoap12"><httpTransport allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" manualAddressing="false" maxBufferPoolSize="524288" maxBufferSize="65536" maxReceivedMessageSize="65536" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" /><textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap12" writeEncoding="utf-8"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /></textMessageEncoding></Data>" bindingType="customBinding" name="DictServiceSoap12" /> + </bindings> + <endpoints> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </endpoints> +</configurationSnapshot>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/configuration91.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/configuration91.svcinfo new file mode 100644 index 0000000..2599177 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/Service References/DictionarySuggestService/configuration91.svcinfo @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="Cb1mlQVfrIvXhoWXP+TpwPhxgGY="> + <bindingConfigurations> + <bindingConfiguration bindingType="basicHttpBinding" name="DictServiceSoap"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:10:00</serializedValue> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Text</serializedValue> + </property> + <property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue> + </property> + <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue> + </property> + <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + <property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue> + </property> + <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>UserName</serializedValue> + </property> + <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Default</serializedValue> + </property> + <property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + </properties> + </bindingConfiguration> + <bindingConfiguration bindingType="customBinding" name="DictServiceSoap12"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/textMessageEncoding" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TextMessageEncodingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.TextMessageEncodingElement</serializedValue> + </property> + <property path="/textMessageEncoding/maxReadPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>64</serializedValue> + </property> + <property path="/textMessageEncoding/maxWritePoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16</serializedValue> + </property> + <property path="/textMessageEncoding/messageVersion" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.MessageVersion, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Soap12</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/writeEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/httpTransport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportElement</serializedValue> + </property> + <property path="/httpTransport/manualAddressing" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/httpTransport/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/authenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/decompressionEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/httpTransport/keepAliveEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/proxyAddress" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/proxyAuthenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/httpTransport/unsafeConnectionNtlmAuthentication" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + </properties> + </bindingConfiguration> + </bindingConfigurations> + <endpoints> + <endpoint name="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" bindingType="basicHttpBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>basicHttpBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + <endpoint name="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" bindingType="customBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap12"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>customBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + </endpoints> +</SavedWcfConfigurationInformation>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step02/app.config b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/app.config new file mode 100644 index 0000000..cf1770f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step02/app.config @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <system.serviceModel> + <bindings> + <basicHttpBinding> + <binding name="DictServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" + receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" + bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" + maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" + messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" + useDefaultWebProxy="true"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + <security mode="None"> + <transport clientCredentialType="None" proxyCredentialType="None" + realm="" /> + <message clientCredentialType="UserName" algorithmSuite="Default" /> + </security> + </binding> + </basicHttpBinding> + <customBinding> + <binding name="DictServiceSoap12"> + <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" + messageVersion="Soap12" writeEncoding="utf-8"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + </textMessageEncoding> + <httpTransport manualAddressing="false" maxBufferPoolSize="524288" + maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous" + bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" + keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous" + realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" + useDefaultWebProxy="true" /> + </binding> + </customBinding> + </bindings> + <client> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="customBinding" bindingConfiguration="DictServiceSoap12" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </client> + </system.serviceModel> +</configuration>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Excercise8.csproj b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Excercise8.csproj new file mode 100644 index 0000000..a9169cd --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Excercise8.csproj @@ -0,0 +1,104 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{3B975647-C417-4BCC-B1BD-1327C5A89840}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise8</RootNamespace> + <AssemblyName>Excercise8</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.ServiceModel" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Service References\DictionarySuggestService\Reference.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Reference.svcmap</DependentUpon> + </Compile> + </ItemGroup> + <ItemGroup> + <WCFMetadata Include="Service References\" /> + </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + <None Include="Service References\DictionarySuggestService\DictService.wsdl" /> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.Dictionary.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.DictionaryWord.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.Strategy.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.WordDefinition.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + </ItemGroup> + <ItemGroup> + <WCFMetadataStorage Include="Service References\DictionarySuggestService\" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\DictService.disco" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration91.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\Reference.svcmap"> + <Generator>WCF Proxy Generator</Generator> + <LastGenOutput>Reference.cs</LastGenOutput> + </None> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Excercise8.sln b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Excercise8.sln new file mode 100644 index 0000000..e2c0652 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Excercise8.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise8", "Excercise8.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Program.cs new file mode 100644 index 0000000..e6df9bc --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Program.cs @@ -0,0 +1,40 @@ +using System; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; +using Excercise8.DictionarySuggestService; + +namespace Excercise8 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + var lst = new ListBox { Top = txt.Height + 10 }; + + var frm = new Form() + { + Controls = { txt, lst } + }; + + var input = (from evt in Observable.FromEventPattern(txt, "TextChanged") + select ((TextBox)evt.Sender).Text) + .Throttle(TimeSpan.FromSeconds(1)) + .DistinctUntilChanged() + .Do(x => Console.WriteLine(x)); + + var svc = new DictServiceSoapClient("DictServiceSoap"); + var matchInDict = Observable.FromAsyncPattern<string, string, string, DictionaryWord[]> + (svc.BeginMatchInDict, svc.EndMatchInDict); + + Func<string, IObservable<DictionaryWord[]>> matchInWordNetByPrefix = + term => matchInDict("wn", term, "prefix"); + + using (input.Subscribe(inp => Console.WriteLine("User wrote: " + inp))) + { + Application.Run(frm); + } + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f320cdf --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise8")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise8")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/DictService.disco b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/DictService.disco new file mode 100644 index 0000000..d8b4769 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/DictService.disco @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> + <contractRef ref="http://services.aonaware.com/DictService/DictService.asmx?wsdl" docRef="http://services.aonaware.com/DictService/DictService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q1="http://services.aonaware.com/webservices/" binding="q1:DictServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q2="http://services.aonaware.com/webservices/" binding="q2:DictServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> +</discovery>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/DictService.wsdl b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/DictService.wsdl new file mode 100644 index 0000000..72a8189 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/DictService.wsdl @@ -0,0 +1,824 @@ +<?xml version="1.0" encoding="utf-8"?> +<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://services.aonaware.com/webservices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://services.aonaware.com/webservices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:types> + <s:schema elementFormDefault="qualified" targetNamespace="http://services.aonaware.com/webservices/"> + <s:element name="ServerInfo"> + <s:complexType /> + </s:element> + <s:element name="ServerInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="ServerInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryList"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Dictionary" nillable="true" type="tns:Dictionary" /> + </s:sequence> + </s:complexType> + <s:complexType name="Dictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DictionaryListExtended"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListExtendedResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListExtendedResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfo"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="Define"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="WordDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Definitions" type="tns:ArrayOfDefinition" /> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Definition" nillable="true" type="tns:Definition" /> + </s:sequence> + </s:complexType> + <s:complexType name="Definition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Dictionary" type="tns:Dictionary" /> + <s:element minOccurs="0" maxOccurs="1" name="WordDefinition" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DefineInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineInDictResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="StrategyList"> + <s:complexType /> + </s:element> + <s:element name="StrategyListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="StrategyListResult" type="tns:ArrayOfStrategy" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfStrategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Strategy" nillable="true" type="tns:Strategy" /> + </s:sequence> + </s:complexType> + <s:complexType name="Strategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="Match"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="DictionaryWord" nillable="true" type="tns:DictionaryWord" /> + </s:sequence> + </s:complexType> + <s:complexType name="DictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="MatchInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchInDictResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="string" nillable="true" type="s:string" /> + <s:element name="ArrayOfDictionary" nillable="true" type="tns:ArrayOfDictionary" /> + <s:element name="WordDefinition" nillable="true" type="tns:WordDefinition" /> + <s:element name="ArrayOfStrategy" nillable="true" type="tns:ArrayOfStrategy" /> + <s:element name="ArrayOfDictionaryWord" nillable="true" type="tns:ArrayOfDictionaryWord" /> + </s:schema> + </wsdl:types> + <wsdl:message name="ServerInfoSoapIn"> + <wsdl:part name="parameters" element="tns:ServerInfo" /> + </wsdl:message> + <wsdl:message name="ServerInfoSoapOut"> + <wsdl:part name="parameters" element="tns:ServerInfoResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryList" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryListExtended" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListExtendedResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryInfo" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryInfoResponse" /> + </wsdl:message> + <wsdl:message name="DefineSoapIn"> + <wsdl:part name="parameters" element="tns:Define" /> + </wsdl:message> + <wsdl:message name="DefineSoapOut"> + <wsdl:part name="parameters" element="tns:DefineResponse" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapIn"> + <wsdl:part name="parameters" element="tns:DefineInDict" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapOut"> + <wsdl:part name="parameters" element="tns:DefineInDictResponse" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapIn"> + <wsdl:part name="parameters" element="tns:StrategyList" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapOut"> + <wsdl:part name="parameters" element="tns:StrategyListResponse" /> + </wsdl:message> + <wsdl:message name="MatchSoapIn"> + <wsdl:part name="parameters" element="tns:Match" /> + </wsdl:message> + <wsdl:message name="MatchSoapOut"> + <wsdl:part name="parameters" element="tns:MatchResponse" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapIn"> + <wsdl:part name="parameters" element="tns:MatchInDict" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapOut"> + <wsdl:part name="parameters" element="tns:MatchInDictResponse" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpGetIn" /> + <wsdl:message name="ServerInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpGetIn" /> + <wsdl:message name="DictionaryListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpGetIn" /> + <wsdl:message name="DictionaryListExtendedHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpGetIn" /> + <wsdl:message name="StrategyListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpPostIn" /> + <wsdl:message name="ServerInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpPostIn" /> + <wsdl:message name="DictionaryListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpPostIn" /> + <wsdl:message name="DictionaryListExtendedHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpPostIn" /> + <wsdl:message name="StrategyListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:portType name="DictServiceSoap"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoSoapIn" /> + <wsdl:output message="tns:ServerInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListSoapIn" /> + <wsdl:output message="tns:DictionaryListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedSoapIn" /> + <wsdl:output message="tns:DictionaryListExtendedSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoSoapIn" /> + <wsdl:output message="tns:DictionaryInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineSoapIn" /> + <wsdl:output message="tns:DefineSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictSoapIn" /> + <wsdl:output message="tns:DefineInDictSoapOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListSoapIn" /> + <wsdl:output message="tns:StrategyListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchSoapIn" /> + <wsdl:output message="tns:MatchSoapOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictSoapIn" /> + <wsdl:output message="tns:MatchInDictSoapOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpGet"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpGetIn" /> + <wsdl:output message="tns:ServerInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpGetIn" /> + <wsdl:output message="tns:DictionaryListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpGetIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpGetIn" /> + <wsdl:output message="tns:DictionaryInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpGetIn" /> + <wsdl:output message="tns:DefineHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpGetIn" /> + <wsdl:output message="tns:DefineInDictHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpGetIn" /> + <wsdl:output message="tns:StrategyListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpGetIn" /> + <wsdl:output message="tns:MatchHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpGetIn" /> + <wsdl:output message="tns:MatchInDictHttpGetOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpPost"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpPostIn" /> + <wsdl:output message="tns:ServerInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpPostIn" /> + <wsdl:output message="tns:DictionaryListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpPostIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpPostIn" /> + <wsdl:output message="tns:DictionaryInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpPostIn" /> + <wsdl:output message="tns:DefineHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpPostIn" /> + <wsdl:output message="tns:DefineInDictHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpPostIn" /> + <wsdl:output message="tns:StrategyListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpPostIn" /> + <wsdl:output message="tns:MatchHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpPostIn" /> + <wsdl:output message="tns:MatchInDictHttpPostOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="DictServiceSoap" type="tns:DictServiceSoap"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" 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="DictServiceSoap12" type="tns:DictServiceSoap"> + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpGet" type="tns:DictServiceHttpGet"> + <http:binding verb="GET" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpPost" type="tns:DictServiceHttpPost"> + <http:binding verb="POST" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="DictService"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:port name="DictServiceSoap" binding="tns:DictServiceSoap"> + <soap:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceSoap12" binding="tns:DictServiceSoap12"> + <soap12:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpGet" binding="tns:DictServiceHttpGet"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpPost" binding="tns:DictServiceHttpPost"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + </wsdl:service> +</wsdl:definitions>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource new file mode 100644 index 0000000..b6db5d2 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Dictionary" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.Dictionary, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource new file mode 100644 index 0000000..9fd63a4 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="DictionaryWord" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.DictionaryWord, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource new file mode 100644 index 0000000..7cdc3ab --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Strategy" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.Strategy, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource new file mode 100644 index 0000000..327195d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="WordDefinition" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.WordDefinition, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/Reference.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/Reference.cs new file mode 100644 index 0000000..ab76343 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/Reference.cs @@ -0,0 +1,1064 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.431 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace Excercise8.DictionarySuggestService { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://services.aonaware.com/webservices/", ConfigurationName="DictionarySuggestService.DictServiceSoap")] + public interface DictServiceSoap { + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string ServerInfo(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState); + + string EndServerInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryListExtended(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryListExtended(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string DictionaryInfo(string dictId); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState); + + string EndDictionaryInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise8.DictionarySuggestService.WordDefinition Define(string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState); + + Excercise8.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise8.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState); + + Excercise8.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Strategy[] StrategyList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState); + + Strategy[] EndStrategyList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] Match(string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatch(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] MatchInDict(string dictId, string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatchInDict(System.IAsyncResult result); + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Dictionary : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string nameField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class DictionaryWord : object, System.ComponentModel.INotifyPropertyChanged { + + private string dictionaryIdField; + + private string wordField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string DictionaryId { + get { + return this.dictionaryIdField; + } + set { + this.dictionaryIdField = value; + this.RaisePropertyChanged("DictionaryId"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Strategy : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string descriptionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Definition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Dictionary dictionaryField; + + private string wordDefinitionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public Dictionary Dictionary { + get { + return this.dictionaryField; + } + set { + this.dictionaryField = value; + this.RaisePropertyChanged("Dictionary"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string WordDefinition { + get { + return this.wordDefinitionField; + } + set { + this.wordDefinitionField = value; + this.RaisePropertyChanged("WordDefinition"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class WordDefinition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Definition[] definitionsField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public Definition[] Definitions { + get { + return this.definitionsField; + } + set { + this.definitionsField = value; + this.RaisePropertyChanged("Definitions"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface DictServiceSoapChannel : Excercise8.DictionarySuggestService.DictServiceSoap, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class ServerInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public ServerInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListExtendedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListExtendedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise8.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise8.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise8.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise8.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class StrategyListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public StrategyListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Strategy[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Strategy[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictServiceSoapClient : System.ServiceModel.ClientBase<Excercise8.DictionarySuggestService.DictServiceSoap>, Excercise8.DictionarySuggestService.DictServiceSoap { + + private BeginOperationDelegate onBeginServerInfoDelegate; + + private EndOperationDelegate onEndServerInfoDelegate; + + private System.Threading.SendOrPostCallback onServerInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListDelegate; + + private EndOperationDelegate onEndDictionaryListDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListExtendedDelegate; + + private EndOperationDelegate onEndDictionaryListExtendedDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListExtendedCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryInfoDelegate; + + private EndOperationDelegate onEndDictionaryInfoDelegate; + + private System.Threading.SendOrPostCallback onDictionaryInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDefineDelegate; + + private EndOperationDelegate onEndDefineDelegate; + + private System.Threading.SendOrPostCallback onDefineCompletedDelegate; + + private BeginOperationDelegate onBeginDefineInDictDelegate; + + private EndOperationDelegate onEndDefineInDictDelegate; + + private System.Threading.SendOrPostCallback onDefineInDictCompletedDelegate; + + private BeginOperationDelegate onBeginStrategyListDelegate; + + private EndOperationDelegate onEndStrategyListDelegate; + + private System.Threading.SendOrPostCallback onStrategyListCompletedDelegate; + + private BeginOperationDelegate onBeginMatchDelegate; + + private EndOperationDelegate onEndMatchDelegate; + + private System.Threading.SendOrPostCallback onMatchCompletedDelegate; + + private BeginOperationDelegate onBeginMatchInDictDelegate; + + private EndOperationDelegate onEndMatchInDictDelegate; + + private System.Threading.SendOrPostCallback onMatchInDictCompletedDelegate; + + public DictServiceSoapClient() { + } + + public DictServiceSoapClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public DictServiceSoapClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + public event System.EventHandler<ServerInfoCompletedEventArgs> ServerInfoCompleted; + + public event System.EventHandler<DictionaryListCompletedEventArgs> DictionaryListCompleted; + + public event System.EventHandler<DictionaryListExtendedCompletedEventArgs> DictionaryListExtendedCompleted; + + public event System.EventHandler<DictionaryInfoCompletedEventArgs> DictionaryInfoCompleted; + + public event System.EventHandler<DefineCompletedEventArgs> DefineCompleted; + + public event System.EventHandler<DefineInDictCompletedEventArgs> DefineInDictCompleted; + + public event System.EventHandler<StrategyListCompletedEventArgs> StrategyListCompleted; + + public event System.EventHandler<MatchCompletedEventArgs> MatchCompleted; + + public event System.EventHandler<MatchInDictCompletedEventArgs> MatchInDictCompleted; + + public string ServerInfo() { + return base.Channel.ServerInfo(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginServerInfo(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndServerInfo(System.IAsyncResult result) { + return base.Channel.EndServerInfo(result); + } + + private System.IAsyncResult OnBeginServerInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginServerInfo(callback, asyncState); + } + + private object[] OnEndServerInfo(System.IAsyncResult result) { + string retVal = this.EndServerInfo(result); + return new object[] { + retVal}; + } + + private void OnServerInfoCompleted(object state) { + if ((this.ServerInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.ServerInfoCompleted(this, new ServerInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void ServerInfoAsync() { + this.ServerInfoAsync(null); + } + + public void ServerInfoAsync(object userState) { + if ((this.onBeginServerInfoDelegate == null)) { + this.onBeginServerInfoDelegate = new BeginOperationDelegate(this.OnBeginServerInfo); + } + if ((this.onEndServerInfoDelegate == null)) { + this.onEndServerInfoDelegate = new EndOperationDelegate(this.OnEndServerInfo); + } + if ((this.onServerInfoCompletedDelegate == null)) { + this.onServerInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnServerInfoCompleted); + } + base.InvokeAsync(this.onBeginServerInfoDelegate, null, this.onEndServerInfoDelegate, this.onServerInfoCompletedDelegate, userState); + } + + public Dictionary[] DictionaryList() { + return base.Channel.DictionaryList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryList(System.IAsyncResult result) { + return base.Channel.EndDictionaryList(result); + } + + private System.IAsyncResult OnBeginDictionaryList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryList(callback, asyncState); + } + + private object[] OnEndDictionaryList(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryList(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListCompleted(object state) { + if ((this.DictionaryListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListCompleted(this, new DictionaryListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListAsync() { + this.DictionaryListAsync(null); + } + + public void DictionaryListAsync(object userState) { + if ((this.onBeginDictionaryListDelegate == null)) { + this.onBeginDictionaryListDelegate = new BeginOperationDelegate(this.OnBeginDictionaryList); + } + if ((this.onEndDictionaryListDelegate == null)) { + this.onEndDictionaryListDelegate = new EndOperationDelegate(this.OnEndDictionaryList); + } + if ((this.onDictionaryListCompletedDelegate == null)) { + this.onDictionaryListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListDelegate, null, this.onEndDictionaryListDelegate, this.onDictionaryListCompletedDelegate, userState); + } + + public Dictionary[] DictionaryListExtended() { + return base.Channel.DictionaryListExtended(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryListExtended(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryListExtended(System.IAsyncResult result) { + return base.Channel.EndDictionaryListExtended(result); + } + + private System.IAsyncResult OnBeginDictionaryListExtended(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryListExtended(callback, asyncState); + } + + private object[] OnEndDictionaryListExtended(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryListExtended(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListExtendedCompleted(object state) { + if ((this.DictionaryListExtendedCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListExtendedCompleted(this, new DictionaryListExtendedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListExtendedAsync() { + this.DictionaryListExtendedAsync(null); + } + + public void DictionaryListExtendedAsync(object userState) { + if ((this.onBeginDictionaryListExtendedDelegate == null)) { + this.onBeginDictionaryListExtendedDelegate = new BeginOperationDelegate(this.OnBeginDictionaryListExtended); + } + if ((this.onEndDictionaryListExtendedDelegate == null)) { + this.onEndDictionaryListExtendedDelegate = new EndOperationDelegate(this.OnEndDictionaryListExtended); + } + if ((this.onDictionaryListExtendedCompletedDelegate == null)) { + this.onDictionaryListExtendedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListExtendedCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListExtendedDelegate, null, this.onEndDictionaryListExtendedDelegate, this.onDictionaryListExtendedCompletedDelegate, userState); + } + + public string DictionaryInfo(string dictId) { + return base.Channel.DictionaryInfo(dictId); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryInfo(dictId, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndDictionaryInfo(System.IAsyncResult result) { + return base.Channel.EndDictionaryInfo(result); + } + + private System.IAsyncResult OnBeginDictionaryInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + return this.BeginDictionaryInfo(dictId, callback, asyncState); + } + + private object[] OnEndDictionaryInfo(System.IAsyncResult result) { + string retVal = this.EndDictionaryInfo(result); + return new object[] { + retVal}; + } + + private void OnDictionaryInfoCompleted(object state) { + if ((this.DictionaryInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryInfoCompleted(this, new DictionaryInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryInfoAsync(string dictId) { + this.DictionaryInfoAsync(dictId, null); + } + + public void DictionaryInfoAsync(string dictId, object userState) { + if ((this.onBeginDictionaryInfoDelegate == null)) { + this.onBeginDictionaryInfoDelegate = new BeginOperationDelegate(this.OnBeginDictionaryInfo); + } + if ((this.onEndDictionaryInfoDelegate == null)) { + this.onEndDictionaryInfoDelegate = new EndOperationDelegate(this.OnEndDictionaryInfo); + } + if ((this.onDictionaryInfoCompletedDelegate == null)) { + this.onDictionaryInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryInfoCompleted); + } + base.InvokeAsync(this.onBeginDictionaryInfoDelegate, new object[] { + dictId}, this.onEndDictionaryInfoDelegate, this.onDictionaryInfoCompletedDelegate, userState); + } + + public Excercise8.DictionarySuggestService.WordDefinition Define(string word) { + return base.Channel.Define(word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefine(word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise8.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result) { + return base.Channel.EndDefine(result); + } + + private System.IAsyncResult OnBeginDefine(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + return this.BeginDefine(word, callback, asyncState); + } + + private object[] OnEndDefine(System.IAsyncResult result) { + Excercise8.DictionarySuggestService.WordDefinition retVal = this.EndDefine(result); + return new object[] { + retVal}; + } + + private void OnDefineCompleted(object state) { + if ((this.DefineCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineCompleted(this, new DefineCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineAsync(string word) { + this.DefineAsync(word, null); + } + + public void DefineAsync(string word, object userState) { + if ((this.onBeginDefineDelegate == null)) { + this.onBeginDefineDelegate = new BeginOperationDelegate(this.OnBeginDefine); + } + if ((this.onEndDefineDelegate == null)) { + this.onEndDefineDelegate = new EndOperationDelegate(this.OnEndDefine); + } + if ((this.onDefineCompletedDelegate == null)) { + this.onDefineCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineCompleted); + } + base.InvokeAsync(this.onBeginDefineDelegate, new object[] { + word}, this.onEndDefineDelegate, this.onDefineCompletedDelegate, userState); + } + + public Excercise8.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word) { + return base.Channel.DefineInDict(dictId, word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefineInDict(dictId, word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise8.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result) { + return base.Channel.EndDefineInDict(result); + } + + private System.IAsyncResult OnBeginDefineInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + return this.BeginDefineInDict(dictId, word, callback, asyncState); + } + + private object[] OnEndDefineInDict(System.IAsyncResult result) { + Excercise8.DictionarySuggestService.WordDefinition retVal = this.EndDefineInDict(result); + return new object[] { + retVal}; + } + + private void OnDefineInDictCompleted(object state) { + if ((this.DefineInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineInDictCompleted(this, new DefineInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineInDictAsync(string dictId, string word) { + this.DefineInDictAsync(dictId, word, null); + } + + public void DefineInDictAsync(string dictId, string word, object userState) { + if ((this.onBeginDefineInDictDelegate == null)) { + this.onBeginDefineInDictDelegate = new BeginOperationDelegate(this.OnBeginDefineInDict); + } + if ((this.onEndDefineInDictDelegate == null)) { + this.onEndDefineInDictDelegate = new EndOperationDelegate(this.OnEndDefineInDict); + } + if ((this.onDefineInDictCompletedDelegate == null)) { + this.onDefineInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineInDictCompleted); + } + base.InvokeAsync(this.onBeginDefineInDictDelegate, new object[] { + dictId, + word}, this.onEndDefineInDictDelegate, this.onDefineInDictCompletedDelegate, userState); + } + + public Strategy[] StrategyList() { + return base.Channel.StrategyList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginStrategyList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Strategy[] EndStrategyList(System.IAsyncResult result) { + return base.Channel.EndStrategyList(result); + } + + private System.IAsyncResult OnBeginStrategyList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginStrategyList(callback, asyncState); + } + + private object[] OnEndStrategyList(System.IAsyncResult result) { + Strategy[] retVal = this.EndStrategyList(result); + return new object[] { + retVal}; + } + + private void OnStrategyListCompleted(object state) { + if ((this.StrategyListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.StrategyListCompleted(this, new StrategyListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void StrategyListAsync() { + this.StrategyListAsync(null); + } + + public void StrategyListAsync(object userState) { + if ((this.onBeginStrategyListDelegate == null)) { + this.onBeginStrategyListDelegate = new BeginOperationDelegate(this.OnBeginStrategyList); + } + if ((this.onEndStrategyListDelegate == null)) { + this.onEndStrategyListDelegate = new EndOperationDelegate(this.OnEndStrategyList); + } + if ((this.onStrategyListCompletedDelegate == null)) { + this.onStrategyListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStrategyListCompleted); + } + base.InvokeAsync(this.onBeginStrategyListDelegate, null, this.onEndStrategyListDelegate, this.onStrategyListCompletedDelegate, userState); + } + + public DictionaryWord[] Match(string word, string strategy) { + return base.Channel.Match(word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatch(word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatch(System.IAsyncResult result) { + return base.Channel.EndMatch(result); + } + + private System.IAsyncResult OnBeginMatch(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + string strategy = ((string)(inValues[1])); + return this.BeginMatch(word, strategy, callback, asyncState); + } + + private object[] OnEndMatch(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatch(result); + return new object[] { + retVal}; + } + + private void OnMatchCompleted(object state) { + if ((this.MatchCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchCompleted(this, new MatchCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchAsync(string word, string strategy) { + this.MatchAsync(word, strategy, null); + } + + public void MatchAsync(string word, string strategy, object userState) { + if ((this.onBeginMatchDelegate == null)) { + this.onBeginMatchDelegate = new BeginOperationDelegate(this.OnBeginMatch); + } + if ((this.onEndMatchDelegate == null)) { + this.onEndMatchDelegate = new EndOperationDelegate(this.OnEndMatch); + } + if ((this.onMatchCompletedDelegate == null)) { + this.onMatchCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchCompleted); + } + base.InvokeAsync(this.onBeginMatchDelegate, new object[] { + word, + strategy}, this.onEndMatchDelegate, this.onMatchCompletedDelegate, userState); + } + + public DictionaryWord[] MatchInDict(string dictId, string word, string strategy) { + return base.Channel.MatchInDict(dictId, word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatchInDict(System.IAsyncResult result) { + return base.Channel.EndMatchInDict(result); + } + + private System.IAsyncResult OnBeginMatchInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + string strategy = ((string)(inValues[2])); + return this.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + private object[] OnEndMatchInDict(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatchInDict(result); + return new object[] { + retVal}; + } + + private void OnMatchInDictCompleted(object state) { + if ((this.MatchInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchInDictCompleted(this, new MatchInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchInDictAsync(string dictId, string word, string strategy) { + this.MatchInDictAsync(dictId, word, strategy, null); + } + + public void MatchInDictAsync(string dictId, string word, string strategy, object userState) { + if ((this.onBeginMatchInDictDelegate == null)) { + this.onBeginMatchInDictDelegate = new BeginOperationDelegate(this.OnBeginMatchInDict); + } + if ((this.onEndMatchInDictDelegate == null)) { + this.onEndMatchInDictDelegate = new EndOperationDelegate(this.OnEndMatchInDict); + } + if ((this.onMatchInDictCompletedDelegate == null)) { + this.onMatchInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchInDictCompleted); + } + base.InvokeAsync(this.onBeginMatchInDictDelegate, new object[] { + dictId, + word, + strategy}, this.onEndMatchInDictDelegate, this.onMatchInDictCompletedDelegate, userState); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/Reference.svcmap b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/Reference.svcmap new file mode 100644 index 0000000..262793d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/Reference.svcmap @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="e75a076a-da23-4f7a-863b-068b0bcdc64a" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap"> + <ClientOptions> + <GenerateAsynchronousMethods>true</GenerateAsynchronousMethods> + <EnableDataBinding>true</EnableDataBinding> + <ExcludedTypes /> + <ImportXmlTypes>false</ImportXmlTypes> + <GenerateInternalTypes>false</GenerateInternalTypes> + <GenerateMessageContracts>false</GenerateMessageContracts> + <NamespaceMappings /> + <CollectionMappings /> + <GenerateSerializableTypes>true</GenerateSerializableTypes> + <Serializer>Auto</Serializer> + <UseSerializerForFaults>true</UseSerializerForFaults> + <ReferenceAllAssemblies>true</ReferenceAllAssemblies> + <ReferencedAssemblies /> + <ReferencedDataContractTypes /> + <ServiceContractMappings /> + </ClientOptions> + <MetadataSources> + <MetadataSource Address="http://services.aonaware.com/DictService/DictService.asmx" Protocol="http" SourceId="1" /> + </MetadataSources> + <Metadata> + <MetadataFile FileName="DictService.disco" MetadataType="Disco" ID="ec8a6728-2d46-4424-a9cb-a89dbf639570" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?disco" /> + <MetadataFile FileName="DictService.wsdl" MetadataType="Wsdl" ID="dbe33f76-54f8-4c5a-b509-af92c391b3a3" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?wsdl" /> + </Metadata> + <Extensions> + <ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" /> + <ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" /> + </Extensions> +</ReferenceGroup>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/configuration.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/configuration.svcinfo new file mode 100644 index 0000000..a856d3d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/configuration.svcinfo @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot"> + <behaviors /> + <bindings> + <binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" messageEncoding="Text" name="DictServiceSoap" textEncoding="utf-8" transferMode="Buffered"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /><security mode="None"><message algorithmSuite="Default" clientCredentialType="UserName" /><transport clientCredentialType="None" proxyCredentialType="None" realm="" /></security></Data>" bindingType="basicHttpBinding" name="DictServiceSoap" /> + <binding digest="System.ServiceModel.Configuration.CustomBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="DictServiceSoap12"><httpTransport allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" manualAddressing="false" maxBufferPoolSize="524288" maxBufferSize="65536" maxReceivedMessageSize="65536" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" /><textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap12" writeEncoding="utf-8"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /></textMessageEncoding></Data>" bindingType="customBinding" name="DictServiceSoap12" /> + </bindings> + <endpoints> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </endpoints> +</configurationSnapshot>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/configuration91.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/configuration91.svcinfo new file mode 100644 index 0000000..2599177 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/Service References/DictionarySuggestService/configuration91.svcinfo @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="Cb1mlQVfrIvXhoWXP+TpwPhxgGY="> + <bindingConfigurations> + <bindingConfiguration bindingType="basicHttpBinding" name="DictServiceSoap"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:10:00</serializedValue> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Text</serializedValue> + </property> + <property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue> + </property> + <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue> + </property> + <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + <property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue> + </property> + <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>UserName</serializedValue> + </property> + <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Default</serializedValue> + </property> + <property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + </properties> + </bindingConfiguration> + <bindingConfiguration bindingType="customBinding" name="DictServiceSoap12"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/textMessageEncoding" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TextMessageEncodingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.TextMessageEncodingElement</serializedValue> + </property> + <property path="/textMessageEncoding/maxReadPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>64</serializedValue> + </property> + <property path="/textMessageEncoding/maxWritePoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16</serializedValue> + </property> + <property path="/textMessageEncoding/messageVersion" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.MessageVersion, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Soap12</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/writeEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/httpTransport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportElement</serializedValue> + </property> + <property path="/httpTransport/manualAddressing" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/httpTransport/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/authenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/decompressionEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/httpTransport/keepAliveEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/proxyAddress" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/proxyAuthenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/httpTransport/unsafeConnectionNtlmAuthentication" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + </properties> + </bindingConfiguration> + </bindingConfigurations> + <endpoints> + <endpoint name="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" bindingType="basicHttpBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>basicHttpBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + <endpoint name="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" bindingType="customBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap12"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>customBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + </endpoints> +</SavedWcfConfigurationInformation>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step03/app.config b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/app.config new file mode 100644 index 0000000..cf1770f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step03/app.config @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <system.serviceModel> + <bindings> + <basicHttpBinding> + <binding name="DictServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" + receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" + bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" + maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" + messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" + useDefaultWebProxy="true"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + <security mode="None"> + <transport clientCredentialType="None" proxyCredentialType="None" + realm="" /> + <message clientCredentialType="UserName" algorithmSuite="Default" /> + </security> + </binding> + </basicHttpBinding> + <customBinding> + <binding name="DictServiceSoap12"> + <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" + messageVersion="Soap12" writeEncoding="utf-8"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + </textMessageEncoding> + <httpTransport manualAddressing="false" maxBufferPoolSize="524288" + maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous" + bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" + keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous" + realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" + useDefaultWebProxy="true" /> + </binding> + </customBinding> + </bindings> + <client> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="customBinding" bindingConfiguration="DictServiceSoap12" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </client> + </system.serviceModel> +</configuration>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Excercise8.csproj b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Excercise8.csproj new file mode 100644 index 0000000..698ec5b --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Excercise8.csproj @@ -0,0 +1,104 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{33D4203E-D147-40DD-A4B3-F3BBE41F0EC5}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise8</RootNamespace> + <AssemblyName>Excercise8</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.ServiceModel" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Service References\DictionarySuggestService\Reference.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Reference.svcmap</DependentUpon> + </Compile> + </ItemGroup> + <ItemGroup> + <WCFMetadata Include="Service References\" /> + </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + <None Include="Service References\DictionarySuggestService\DictService.wsdl" /> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.Dictionary.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.DictionaryWord.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.Strategy.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.WordDefinition.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + </ItemGroup> + <ItemGroup> + <WCFMetadataStorage Include="Service References\DictionarySuggestService\" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\DictService.disco" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration91.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\Reference.svcmap"> + <Generator>WCF Proxy Generator</Generator> + <LastGenOutput>Reference.cs</LastGenOutput> + </None> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Excercise8.sln b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Excercise8.sln new file mode 100644 index 0000000..e2c0652 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Excercise8.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise8", "Excercise8.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Program.cs new file mode 100644 index 0000000..d66f715 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Program.cs @@ -0,0 +1,44 @@ +using System; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; +using Excercise8.DictionarySuggestService; + +namespace Excercise8 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + var lst = new ListBox { Top = txt.Height + 10 }; + + var frm = new Form() + { + Controls = { txt, lst } + }; + + var input = (from evt in Observable.FromEventPattern(txt, "TextChanged") + select ((TextBox)evt.Sender).Text) + .Throttle(TimeSpan.FromSeconds(1)) + .DistinctUntilChanged() + .Do(x => Console.WriteLine(x)); + + var svc = new DictServiceSoapClient("DictServiceSoap"); + var matchInDict = Observable.FromAsyncPattern<string, string, string, DictionaryWord[]> + (svc.BeginMatchInDict, svc.EndMatchInDict); + + Func<string, IObservable<DictionaryWord[]>> matchInWordNetByPrefix = + term => matchInDict("wn", term, "prefix"); + + var res = from term in input + from words in matchInWordNetByPrefix(term) + select words; + + using (input.Subscribe(inp => Console.WriteLine("User wrote: " + inp))) + { + Application.Run(frm); + } + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f320cdf --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise8")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise8")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/DictService.disco b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/DictService.disco new file mode 100644 index 0000000..d8b4769 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/DictService.disco @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> + <contractRef ref="http://services.aonaware.com/DictService/DictService.asmx?wsdl" docRef="http://services.aonaware.com/DictService/DictService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q1="http://services.aonaware.com/webservices/" binding="q1:DictServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q2="http://services.aonaware.com/webservices/" binding="q2:DictServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> +</discovery>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/DictService.wsdl b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/DictService.wsdl new file mode 100644 index 0000000..72a8189 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/DictService.wsdl @@ -0,0 +1,824 @@ +<?xml version="1.0" encoding="utf-8"?> +<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://services.aonaware.com/webservices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://services.aonaware.com/webservices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:types> + <s:schema elementFormDefault="qualified" targetNamespace="http://services.aonaware.com/webservices/"> + <s:element name="ServerInfo"> + <s:complexType /> + </s:element> + <s:element name="ServerInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="ServerInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryList"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Dictionary" nillable="true" type="tns:Dictionary" /> + </s:sequence> + </s:complexType> + <s:complexType name="Dictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DictionaryListExtended"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListExtendedResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListExtendedResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfo"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="Define"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="WordDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Definitions" type="tns:ArrayOfDefinition" /> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Definition" nillable="true" type="tns:Definition" /> + </s:sequence> + </s:complexType> + <s:complexType name="Definition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Dictionary" type="tns:Dictionary" /> + <s:element minOccurs="0" maxOccurs="1" name="WordDefinition" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DefineInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineInDictResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="StrategyList"> + <s:complexType /> + </s:element> + <s:element name="StrategyListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="StrategyListResult" type="tns:ArrayOfStrategy" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfStrategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Strategy" nillable="true" type="tns:Strategy" /> + </s:sequence> + </s:complexType> + <s:complexType name="Strategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="Match"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="DictionaryWord" nillable="true" type="tns:DictionaryWord" /> + </s:sequence> + </s:complexType> + <s:complexType name="DictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="MatchInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchInDictResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="string" nillable="true" type="s:string" /> + <s:element name="ArrayOfDictionary" nillable="true" type="tns:ArrayOfDictionary" /> + <s:element name="WordDefinition" nillable="true" type="tns:WordDefinition" /> + <s:element name="ArrayOfStrategy" nillable="true" type="tns:ArrayOfStrategy" /> + <s:element name="ArrayOfDictionaryWord" nillable="true" type="tns:ArrayOfDictionaryWord" /> + </s:schema> + </wsdl:types> + <wsdl:message name="ServerInfoSoapIn"> + <wsdl:part name="parameters" element="tns:ServerInfo" /> + </wsdl:message> + <wsdl:message name="ServerInfoSoapOut"> + <wsdl:part name="parameters" element="tns:ServerInfoResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryList" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryListExtended" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListExtendedResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryInfo" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryInfoResponse" /> + </wsdl:message> + <wsdl:message name="DefineSoapIn"> + <wsdl:part name="parameters" element="tns:Define" /> + </wsdl:message> + <wsdl:message name="DefineSoapOut"> + <wsdl:part name="parameters" element="tns:DefineResponse" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapIn"> + <wsdl:part name="parameters" element="tns:DefineInDict" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapOut"> + <wsdl:part name="parameters" element="tns:DefineInDictResponse" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapIn"> + <wsdl:part name="parameters" element="tns:StrategyList" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapOut"> + <wsdl:part name="parameters" element="tns:StrategyListResponse" /> + </wsdl:message> + <wsdl:message name="MatchSoapIn"> + <wsdl:part name="parameters" element="tns:Match" /> + </wsdl:message> + <wsdl:message name="MatchSoapOut"> + <wsdl:part name="parameters" element="tns:MatchResponse" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapIn"> + <wsdl:part name="parameters" element="tns:MatchInDict" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapOut"> + <wsdl:part name="parameters" element="tns:MatchInDictResponse" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpGetIn" /> + <wsdl:message name="ServerInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpGetIn" /> + <wsdl:message name="DictionaryListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpGetIn" /> + <wsdl:message name="DictionaryListExtendedHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpGetIn" /> + <wsdl:message name="StrategyListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpPostIn" /> + <wsdl:message name="ServerInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpPostIn" /> + <wsdl:message name="DictionaryListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpPostIn" /> + <wsdl:message name="DictionaryListExtendedHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpPostIn" /> + <wsdl:message name="StrategyListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:portType name="DictServiceSoap"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoSoapIn" /> + <wsdl:output message="tns:ServerInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListSoapIn" /> + <wsdl:output message="tns:DictionaryListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedSoapIn" /> + <wsdl:output message="tns:DictionaryListExtendedSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoSoapIn" /> + <wsdl:output message="tns:DictionaryInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineSoapIn" /> + <wsdl:output message="tns:DefineSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictSoapIn" /> + <wsdl:output message="tns:DefineInDictSoapOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListSoapIn" /> + <wsdl:output message="tns:StrategyListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchSoapIn" /> + <wsdl:output message="tns:MatchSoapOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictSoapIn" /> + <wsdl:output message="tns:MatchInDictSoapOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpGet"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpGetIn" /> + <wsdl:output message="tns:ServerInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpGetIn" /> + <wsdl:output message="tns:DictionaryListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpGetIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpGetIn" /> + <wsdl:output message="tns:DictionaryInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpGetIn" /> + <wsdl:output message="tns:DefineHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpGetIn" /> + <wsdl:output message="tns:DefineInDictHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpGetIn" /> + <wsdl:output message="tns:StrategyListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpGetIn" /> + <wsdl:output message="tns:MatchHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpGetIn" /> + <wsdl:output message="tns:MatchInDictHttpGetOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpPost"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpPostIn" /> + <wsdl:output message="tns:ServerInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpPostIn" /> + <wsdl:output message="tns:DictionaryListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpPostIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpPostIn" /> + <wsdl:output message="tns:DictionaryInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpPostIn" /> + <wsdl:output message="tns:DefineHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpPostIn" /> + <wsdl:output message="tns:DefineInDictHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpPostIn" /> + <wsdl:output message="tns:StrategyListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpPostIn" /> + <wsdl:output message="tns:MatchHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpPostIn" /> + <wsdl:output message="tns:MatchInDictHttpPostOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="DictServiceSoap" type="tns:DictServiceSoap"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" 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="DictServiceSoap12" type="tns:DictServiceSoap"> + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpGet" type="tns:DictServiceHttpGet"> + <http:binding verb="GET" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpPost" type="tns:DictServiceHttpPost"> + <http:binding verb="POST" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="DictService"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:port name="DictServiceSoap" binding="tns:DictServiceSoap"> + <soap:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceSoap12" binding="tns:DictServiceSoap12"> + <soap12:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpGet" binding="tns:DictServiceHttpGet"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpPost" binding="tns:DictServiceHttpPost"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + </wsdl:service> +</wsdl:definitions>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource new file mode 100644 index 0000000..b6db5d2 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Dictionary" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.Dictionary, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource new file mode 100644 index 0000000..9fd63a4 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="DictionaryWord" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.DictionaryWord, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource new file mode 100644 index 0000000..7cdc3ab --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Strategy" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.Strategy, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource new file mode 100644 index 0000000..327195d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="WordDefinition" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.WordDefinition, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/Reference.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/Reference.cs new file mode 100644 index 0000000..ab76343 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/Reference.cs @@ -0,0 +1,1064 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.431 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace Excercise8.DictionarySuggestService { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://services.aonaware.com/webservices/", ConfigurationName="DictionarySuggestService.DictServiceSoap")] + public interface DictServiceSoap { + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string ServerInfo(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState); + + string EndServerInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryListExtended(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryListExtended(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string DictionaryInfo(string dictId); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState); + + string EndDictionaryInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise8.DictionarySuggestService.WordDefinition Define(string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState); + + Excercise8.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise8.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState); + + Excercise8.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Strategy[] StrategyList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState); + + Strategy[] EndStrategyList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] Match(string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatch(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] MatchInDict(string dictId, string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatchInDict(System.IAsyncResult result); + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Dictionary : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string nameField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class DictionaryWord : object, System.ComponentModel.INotifyPropertyChanged { + + private string dictionaryIdField; + + private string wordField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string DictionaryId { + get { + return this.dictionaryIdField; + } + set { + this.dictionaryIdField = value; + this.RaisePropertyChanged("DictionaryId"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Strategy : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string descriptionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Definition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Dictionary dictionaryField; + + private string wordDefinitionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public Dictionary Dictionary { + get { + return this.dictionaryField; + } + set { + this.dictionaryField = value; + this.RaisePropertyChanged("Dictionary"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string WordDefinition { + get { + return this.wordDefinitionField; + } + set { + this.wordDefinitionField = value; + this.RaisePropertyChanged("WordDefinition"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class WordDefinition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Definition[] definitionsField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public Definition[] Definitions { + get { + return this.definitionsField; + } + set { + this.definitionsField = value; + this.RaisePropertyChanged("Definitions"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface DictServiceSoapChannel : Excercise8.DictionarySuggestService.DictServiceSoap, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class ServerInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public ServerInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListExtendedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListExtendedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise8.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise8.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise8.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise8.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class StrategyListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public StrategyListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Strategy[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Strategy[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictServiceSoapClient : System.ServiceModel.ClientBase<Excercise8.DictionarySuggestService.DictServiceSoap>, Excercise8.DictionarySuggestService.DictServiceSoap { + + private BeginOperationDelegate onBeginServerInfoDelegate; + + private EndOperationDelegate onEndServerInfoDelegate; + + private System.Threading.SendOrPostCallback onServerInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListDelegate; + + private EndOperationDelegate onEndDictionaryListDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListExtendedDelegate; + + private EndOperationDelegate onEndDictionaryListExtendedDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListExtendedCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryInfoDelegate; + + private EndOperationDelegate onEndDictionaryInfoDelegate; + + private System.Threading.SendOrPostCallback onDictionaryInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDefineDelegate; + + private EndOperationDelegate onEndDefineDelegate; + + private System.Threading.SendOrPostCallback onDefineCompletedDelegate; + + private BeginOperationDelegate onBeginDefineInDictDelegate; + + private EndOperationDelegate onEndDefineInDictDelegate; + + private System.Threading.SendOrPostCallback onDefineInDictCompletedDelegate; + + private BeginOperationDelegate onBeginStrategyListDelegate; + + private EndOperationDelegate onEndStrategyListDelegate; + + private System.Threading.SendOrPostCallback onStrategyListCompletedDelegate; + + private BeginOperationDelegate onBeginMatchDelegate; + + private EndOperationDelegate onEndMatchDelegate; + + private System.Threading.SendOrPostCallback onMatchCompletedDelegate; + + private BeginOperationDelegate onBeginMatchInDictDelegate; + + private EndOperationDelegate onEndMatchInDictDelegate; + + private System.Threading.SendOrPostCallback onMatchInDictCompletedDelegate; + + public DictServiceSoapClient() { + } + + public DictServiceSoapClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public DictServiceSoapClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + public event System.EventHandler<ServerInfoCompletedEventArgs> ServerInfoCompleted; + + public event System.EventHandler<DictionaryListCompletedEventArgs> DictionaryListCompleted; + + public event System.EventHandler<DictionaryListExtendedCompletedEventArgs> DictionaryListExtendedCompleted; + + public event System.EventHandler<DictionaryInfoCompletedEventArgs> DictionaryInfoCompleted; + + public event System.EventHandler<DefineCompletedEventArgs> DefineCompleted; + + public event System.EventHandler<DefineInDictCompletedEventArgs> DefineInDictCompleted; + + public event System.EventHandler<StrategyListCompletedEventArgs> StrategyListCompleted; + + public event System.EventHandler<MatchCompletedEventArgs> MatchCompleted; + + public event System.EventHandler<MatchInDictCompletedEventArgs> MatchInDictCompleted; + + public string ServerInfo() { + return base.Channel.ServerInfo(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginServerInfo(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndServerInfo(System.IAsyncResult result) { + return base.Channel.EndServerInfo(result); + } + + private System.IAsyncResult OnBeginServerInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginServerInfo(callback, asyncState); + } + + private object[] OnEndServerInfo(System.IAsyncResult result) { + string retVal = this.EndServerInfo(result); + return new object[] { + retVal}; + } + + private void OnServerInfoCompleted(object state) { + if ((this.ServerInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.ServerInfoCompleted(this, new ServerInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void ServerInfoAsync() { + this.ServerInfoAsync(null); + } + + public void ServerInfoAsync(object userState) { + if ((this.onBeginServerInfoDelegate == null)) { + this.onBeginServerInfoDelegate = new BeginOperationDelegate(this.OnBeginServerInfo); + } + if ((this.onEndServerInfoDelegate == null)) { + this.onEndServerInfoDelegate = new EndOperationDelegate(this.OnEndServerInfo); + } + if ((this.onServerInfoCompletedDelegate == null)) { + this.onServerInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnServerInfoCompleted); + } + base.InvokeAsync(this.onBeginServerInfoDelegate, null, this.onEndServerInfoDelegate, this.onServerInfoCompletedDelegate, userState); + } + + public Dictionary[] DictionaryList() { + return base.Channel.DictionaryList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryList(System.IAsyncResult result) { + return base.Channel.EndDictionaryList(result); + } + + private System.IAsyncResult OnBeginDictionaryList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryList(callback, asyncState); + } + + private object[] OnEndDictionaryList(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryList(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListCompleted(object state) { + if ((this.DictionaryListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListCompleted(this, new DictionaryListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListAsync() { + this.DictionaryListAsync(null); + } + + public void DictionaryListAsync(object userState) { + if ((this.onBeginDictionaryListDelegate == null)) { + this.onBeginDictionaryListDelegate = new BeginOperationDelegate(this.OnBeginDictionaryList); + } + if ((this.onEndDictionaryListDelegate == null)) { + this.onEndDictionaryListDelegate = new EndOperationDelegate(this.OnEndDictionaryList); + } + if ((this.onDictionaryListCompletedDelegate == null)) { + this.onDictionaryListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListDelegate, null, this.onEndDictionaryListDelegate, this.onDictionaryListCompletedDelegate, userState); + } + + public Dictionary[] DictionaryListExtended() { + return base.Channel.DictionaryListExtended(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryListExtended(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryListExtended(System.IAsyncResult result) { + return base.Channel.EndDictionaryListExtended(result); + } + + private System.IAsyncResult OnBeginDictionaryListExtended(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryListExtended(callback, asyncState); + } + + private object[] OnEndDictionaryListExtended(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryListExtended(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListExtendedCompleted(object state) { + if ((this.DictionaryListExtendedCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListExtendedCompleted(this, new DictionaryListExtendedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListExtendedAsync() { + this.DictionaryListExtendedAsync(null); + } + + public void DictionaryListExtendedAsync(object userState) { + if ((this.onBeginDictionaryListExtendedDelegate == null)) { + this.onBeginDictionaryListExtendedDelegate = new BeginOperationDelegate(this.OnBeginDictionaryListExtended); + } + if ((this.onEndDictionaryListExtendedDelegate == null)) { + this.onEndDictionaryListExtendedDelegate = new EndOperationDelegate(this.OnEndDictionaryListExtended); + } + if ((this.onDictionaryListExtendedCompletedDelegate == null)) { + this.onDictionaryListExtendedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListExtendedCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListExtendedDelegate, null, this.onEndDictionaryListExtendedDelegate, this.onDictionaryListExtendedCompletedDelegate, userState); + } + + public string DictionaryInfo(string dictId) { + return base.Channel.DictionaryInfo(dictId); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryInfo(dictId, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndDictionaryInfo(System.IAsyncResult result) { + return base.Channel.EndDictionaryInfo(result); + } + + private System.IAsyncResult OnBeginDictionaryInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + return this.BeginDictionaryInfo(dictId, callback, asyncState); + } + + private object[] OnEndDictionaryInfo(System.IAsyncResult result) { + string retVal = this.EndDictionaryInfo(result); + return new object[] { + retVal}; + } + + private void OnDictionaryInfoCompleted(object state) { + if ((this.DictionaryInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryInfoCompleted(this, new DictionaryInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryInfoAsync(string dictId) { + this.DictionaryInfoAsync(dictId, null); + } + + public void DictionaryInfoAsync(string dictId, object userState) { + if ((this.onBeginDictionaryInfoDelegate == null)) { + this.onBeginDictionaryInfoDelegate = new BeginOperationDelegate(this.OnBeginDictionaryInfo); + } + if ((this.onEndDictionaryInfoDelegate == null)) { + this.onEndDictionaryInfoDelegate = new EndOperationDelegate(this.OnEndDictionaryInfo); + } + if ((this.onDictionaryInfoCompletedDelegate == null)) { + this.onDictionaryInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryInfoCompleted); + } + base.InvokeAsync(this.onBeginDictionaryInfoDelegate, new object[] { + dictId}, this.onEndDictionaryInfoDelegate, this.onDictionaryInfoCompletedDelegate, userState); + } + + public Excercise8.DictionarySuggestService.WordDefinition Define(string word) { + return base.Channel.Define(word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefine(word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise8.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result) { + return base.Channel.EndDefine(result); + } + + private System.IAsyncResult OnBeginDefine(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + return this.BeginDefine(word, callback, asyncState); + } + + private object[] OnEndDefine(System.IAsyncResult result) { + Excercise8.DictionarySuggestService.WordDefinition retVal = this.EndDefine(result); + return new object[] { + retVal}; + } + + private void OnDefineCompleted(object state) { + if ((this.DefineCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineCompleted(this, new DefineCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineAsync(string word) { + this.DefineAsync(word, null); + } + + public void DefineAsync(string word, object userState) { + if ((this.onBeginDefineDelegate == null)) { + this.onBeginDefineDelegate = new BeginOperationDelegate(this.OnBeginDefine); + } + if ((this.onEndDefineDelegate == null)) { + this.onEndDefineDelegate = new EndOperationDelegate(this.OnEndDefine); + } + if ((this.onDefineCompletedDelegate == null)) { + this.onDefineCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineCompleted); + } + base.InvokeAsync(this.onBeginDefineDelegate, new object[] { + word}, this.onEndDefineDelegate, this.onDefineCompletedDelegate, userState); + } + + public Excercise8.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word) { + return base.Channel.DefineInDict(dictId, word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefineInDict(dictId, word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise8.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result) { + return base.Channel.EndDefineInDict(result); + } + + private System.IAsyncResult OnBeginDefineInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + return this.BeginDefineInDict(dictId, word, callback, asyncState); + } + + private object[] OnEndDefineInDict(System.IAsyncResult result) { + Excercise8.DictionarySuggestService.WordDefinition retVal = this.EndDefineInDict(result); + return new object[] { + retVal}; + } + + private void OnDefineInDictCompleted(object state) { + if ((this.DefineInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineInDictCompleted(this, new DefineInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineInDictAsync(string dictId, string word) { + this.DefineInDictAsync(dictId, word, null); + } + + public void DefineInDictAsync(string dictId, string word, object userState) { + if ((this.onBeginDefineInDictDelegate == null)) { + this.onBeginDefineInDictDelegate = new BeginOperationDelegate(this.OnBeginDefineInDict); + } + if ((this.onEndDefineInDictDelegate == null)) { + this.onEndDefineInDictDelegate = new EndOperationDelegate(this.OnEndDefineInDict); + } + if ((this.onDefineInDictCompletedDelegate == null)) { + this.onDefineInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineInDictCompleted); + } + base.InvokeAsync(this.onBeginDefineInDictDelegate, new object[] { + dictId, + word}, this.onEndDefineInDictDelegate, this.onDefineInDictCompletedDelegate, userState); + } + + public Strategy[] StrategyList() { + return base.Channel.StrategyList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginStrategyList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Strategy[] EndStrategyList(System.IAsyncResult result) { + return base.Channel.EndStrategyList(result); + } + + private System.IAsyncResult OnBeginStrategyList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginStrategyList(callback, asyncState); + } + + private object[] OnEndStrategyList(System.IAsyncResult result) { + Strategy[] retVal = this.EndStrategyList(result); + return new object[] { + retVal}; + } + + private void OnStrategyListCompleted(object state) { + if ((this.StrategyListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.StrategyListCompleted(this, new StrategyListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void StrategyListAsync() { + this.StrategyListAsync(null); + } + + public void StrategyListAsync(object userState) { + if ((this.onBeginStrategyListDelegate == null)) { + this.onBeginStrategyListDelegate = new BeginOperationDelegate(this.OnBeginStrategyList); + } + if ((this.onEndStrategyListDelegate == null)) { + this.onEndStrategyListDelegate = new EndOperationDelegate(this.OnEndStrategyList); + } + if ((this.onStrategyListCompletedDelegate == null)) { + this.onStrategyListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStrategyListCompleted); + } + base.InvokeAsync(this.onBeginStrategyListDelegate, null, this.onEndStrategyListDelegate, this.onStrategyListCompletedDelegate, userState); + } + + public DictionaryWord[] Match(string word, string strategy) { + return base.Channel.Match(word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatch(word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatch(System.IAsyncResult result) { + return base.Channel.EndMatch(result); + } + + private System.IAsyncResult OnBeginMatch(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + string strategy = ((string)(inValues[1])); + return this.BeginMatch(word, strategy, callback, asyncState); + } + + private object[] OnEndMatch(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatch(result); + return new object[] { + retVal}; + } + + private void OnMatchCompleted(object state) { + if ((this.MatchCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchCompleted(this, new MatchCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchAsync(string word, string strategy) { + this.MatchAsync(word, strategy, null); + } + + public void MatchAsync(string word, string strategy, object userState) { + if ((this.onBeginMatchDelegate == null)) { + this.onBeginMatchDelegate = new BeginOperationDelegate(this.OnBeginMatch); + } + if ((this.onEndMatchDelegate == null)) { + this.onEndMatchDelegate = new EndOperationDelegate(this.OnEndMatch); + } + if ((this.onMatchCompletedDelegate == null)) { + this.onMatchCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchCompleted); + } + base.InvokeAsync(this.onBeginMatchDelegate, new object[] { + word, + strategy}, this.onEndMatchDelegate, this.onMatchCompletedDelegate, userState); + } + + public DictionaryWord[] MatchInDict(string dictId, string word, string strategy) { + return base.Channel.MatchInDict(dictId, word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatchInDict(System.IAsyncResult result) { + return base.Channel.EndMatchInDict(result); + } + + private System.IAsyncResult OnBeginMatchInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + string strategy = ((string)(inValues[2])); + return this.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + private object[] OnEndMatchInDict(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatchInDict(result); + return new object[] { + retVal}; + } + + private void OnMatchInDictCompleted(object state) { + if ((this.MatchInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchInDictCompleted(this, new MatchInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchInDictAsync(string dictId, string word, string strategy) { + this.MatchInDictAsync(dictId, word, strategy, null); + } + + public void MatchInDictAsync(string dictId, string word, string strategy, object userState) { + if ((this.onBeginMatchInDictDelegate == null)) { + this.onBeginMatchInDictDelegate = new BeginOperationDelegate(this.OnBeginMatchInDict); + } + if ((this.onEndMatchInDictDelegate == null)) { + this.onEndMatchInDictDelegate = new EndOperationDelegate(this.OnEndMatchInDict); + } + if ((this.onMatchInDictCompletedDelegate == null)) { + this.onMatchInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchInDictCompleted); + } + base.InvokeAsync(this.onBeginMatchInDictDelegate, new object[] { + dictId, + word, + strategy}, this.onEndMatchInDictDelegate, this.onMatchInDictCompletedDelegate, userState); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/Reference.svcmap b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/Reference.svcmap new file mode 100644 index 0000000..262793d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/Reference.svcmap @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="e75a076a-da23-4f7a-863b-068b0bcdc64a" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap"> + <ClientOptions> + <GenerateAsynchronousMethods>true</GenerateAsynchronousMethods> + <EnableDataBinding>true</EnableDataBinding> + <ExcludedTypes /> + <ImportXmlTypes>false</ImportXmlTypes> + <GenerateInternalTypes>false</GenerateInternalTypes> + <GenerateMessageContracts>false</GenerateMessageContracts> + <NamespaceMappings /> + <CollectionMappings /> + <GenerateSerializableTypes>true</GenerateSerializableTypes> + <Serializer>Auto</Serializer> + <UseSerializerForFaults>true</UseSerializerForFaults> + <ReferenceAllAssemblies>true</ReferenceAllAssemblies> + <ReferencedAssemblies /> + <ReferencedDataContractTypes /> + <ServiceContractMappings /> + </ClientOptions> + <MetadataSources> + <MetadataSource Address="http://services.aonaware.com/DictService/DictService.asmx" Protocol="http" SourceId="1" /> + </MetadataSources> + <Metadata> + <MetadataFile FileName="DictService.disco" MetadataType="Disco" ID="ec8a6728-2d46-4424-a9cb-a89dbf639570" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?disco" /> + <MetadataFile FileName="DictService.wsdl" MetadataType="Wsdl" ID="dbe33f76-54f8-4c5a-b509-af92c391b3a3" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?wsdl" /> + </Metadata> + <Extensions> + <ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" /> + <ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" /> + </Extensions> +</ReferenceGroup>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/configuration.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/configuration.svcinfo new file mode 100644 index 0000000..a856d3d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/configuration.svcinfo @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot"> + <behaviors /> + <bindings> + <binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" messageEncoding="Text" name="DictServiceSoap" textEncoding="utf-8" transferMode="Buffered"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /><security mode="None"><message algorithmSuite="Default" clientCredentialType="UserName" /><transport clientCredentialType="None" proxyCredentialType="None" realm="" /></security></Data>" bindingType="basicHttpBinding" name="DictServiceSoap" /> + <binding digest="System.ServiceModel.Configuration.CustomBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="DictServiceSoap12"><httpTransport allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" manualAddressing="false" maxBufferPoolSize="524288" maxBufferSize="65536" maxReceivedMessageSize="65536" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" /><textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap12" writeEncoding="utf-8"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /></textMessageEncoding></Data>" bindingType="customBinding" name="DictServiceSoap12" /> + </bindings> + <endpoints> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </endpoints> +</configurationSnapshot>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/configuration91.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/configuration91.svcinfo new file mode 100644 index 0000000..2599177 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/Service References/DictionarySuggestService/configuration91.svcinfo @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="Cb1mlQVfrIvXhoWXP+TpwPhxgGY="> + <bindingConfigurations> + <bindingConfiguration bindingType="basicHttpBinding" name="DictServiceSoap"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:10:00</serializedValue> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Text</serializedValue> + </property> + <property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue> + </property> + <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue> + </property> + <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + <property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue> + </property> + <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>UserName</serializedValue> + </property> + <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Default</serializedValue> + </property> + <property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + </properties> + </bindingConfiguration> + <bindingConfiguration bindingType="customBinding" name="DictServiceSoap12"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/textMessageEncoding" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TextMessageEncodingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.TextMessageEncodingElement</serializedValue> + </property> + <property path="/textMessageEncoding/maxReadPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>64</serializedValue> + </property> + <property path="/textMessageEncoding/maxWritePoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16</serializedValue> + </property> + <property path="/textMessageEncoding/messageVersion" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.MessageVersion, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Soap12</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/writeEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/httpTransport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportElement</serializedValue> + </property> + <property path="/httpTransport/manualAddressing" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/httpTransport/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/authenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/decompressionEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/httpTransport/keepAliveEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/proxyAddress" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/proxyAuthenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/httpTransport/unsafeConnectionNtlmAuthentication" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + </properties> + </bindingConfiguration> + </bindingConfigurations> + <endpoints> + <endpoint name="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" bindingType="basicHttpBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>basicHttpBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + <endpoint name="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" bindingType="customBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap12"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>customBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + </endpoints> +</SavedWcfConfigurationInformation>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step05/app.config b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/app.config new file mode 100644 index 0000000..cf1770f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step05/app.config @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <system.serviceModel> + <bindings> + <basicHttpBinding> + <binding name="DictServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" + receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" + bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" + maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" + messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" + useDefaultWebProxy="true"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + <security mode="None"> + <transport clientCredentialType="None" proxyCredentialType="None" + realm="" /> + <message clientCredentialType="UserName" algorithmSuite="Default" /> + </security> + </binding> + </basicHttpBinding> + <customBinding> + <binding name="DictServiceSoap12"> + <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" + messageVersion="Soap12" writeEncoding="utf-8"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + </textMessageEncoding> + <httpTransport manualAddressing="false" maxBufferPoolSize="524288" + maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous" + bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" + keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous" + realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" + useDefaultWebProxy="true" /> + </binding> + </customBinding> + </bindings> + <client> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="customBinding" bindingConfiguration="DictServiceSoap12" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </client> + </system.serviceModel> +</configuration>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Excercise8.csproj b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Excercise8.csproj new file mode 100644 index 0000000..f93d945 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Excercise8.csproj @@ -0,0 +1,104 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{C00E4B13-1881-4220-A034-3F47116553C4}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise8</RootNamespace> + <AssemblyName>Excercise8</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.ServiceModel" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Service References\DictionarySuggestService\Reference.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Reference.svcmap</DependentUpon> + </Compile> + </ItemGroup> + <ItemGroup> + <WCFMetadata Include="Service References\" /> + </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + <None Include="Service References\DictionarySuggestService\DictService.wsdl" /> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.Dictionary.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.DictionaryWord.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.Strategy.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.WordDefinition.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + </ItemGroup> + <ItemGroup> + <WCFMetadataStorage Include="Service References\DictionarySuggestService\" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\DictService.disco" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration91.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\Reference.svcmap"> + <Generator>WCF Proxy Generator</Generator> + <LastGenOutput>Reference.cs</LastGenOutput> + </None> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Excercise8.sln b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Excercise8.sln new file mode 100644 index 0000000..e2c0652 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Excercise8.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise8", "Excercise8.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Program.cs new file mode 100644 index 0000000..8b29bff --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Program.cs @@ -0,0 +1,49 @@ +using System; +using System.Linq; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; +using Excercise8.DictionarySuggestService; + +namespace Excercise8 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + var lst = new ListBox { Top = txt.Height + 10 }; + + var frm = new Form() + { + Controls = { txt, lst } + }; + + var input = (from evt in Observable.FromEventPattern(txt, "TextChanged") + select ((TextBox)evt.Sender).Text) + .Throttle(TimeSpan.FromSeconds(1)) + .DistinctUntilChanged() + .Do(x => Console.WriteLine(x)); + + var svc = new DictServiceSoapClient("DictServiceSoap"); + var matchInDict = Observable.FromAsyncPattern<string, string, string, DictionaryWord[]> + (svc.BeginMatchInDict, svc.EndMatchInDict); + + Func<string, IObservable<DictionaryWord[]>> matchInWordNetByPrefix = + term => matchInDict("wn", term, "prefix"); + + var res = from term in input + from words in matchInWordNetByPrefix(term) + select words; + + using (res.Subscribe(words => + { + lst.Items.Clear(); + lst.Items.AddRange((from word in words select word.Word).ToArray()); + })) + { + Application.Run(frm); + } + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f320cdf --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise8")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise8")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/DictService.disco b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/DictService.disco new file mode 100644 index 0000000..d8b4769 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/DictService.disco @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> + <contractRef ref="http://services.aonaware.com/DictService/DictService.asmx?wsdl" docRef="http://services.aonaware.com/DictService/DictService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q1="http://services.aonaware.com/webservices/" binding="q1:DictServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q2="http://services.aonaware.com/webservices/" binding="q2:DictServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> +</discovery>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/DictService.wsdl b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/DictService.wsdl new file mode 100644 index 0000000..72a8189 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/DictService.wsdl @@ -0,0 +1,824 @@ +<?xml version="1.0" encoding="utf-8"?> +<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://services.aonaware.com/webservices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://services.aonaware.com/webservices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:types> + <s:schema elementFormDefault="qualified" targetNamespace="http://services.aonaware.com/webservices/"> + <s:element name="ServerInfo"> + <s:complexType /> + </s:element> + <s:element name="ServerInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="ServerInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryList"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Dictionary" nillable="true" type="tns:Dictionary" /> + </s:sequence> + </s:complexType> + <s:complexType name="Dictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DictionaryListExtended"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListExtendedResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListExtendedResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfo"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="Define"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="WordDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Definitions" type="tns:ArrayOfDefinition" /> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Definition" nillable="true" type="tns:Definition" /> + </s:sequence> + </s:complexType> + <s:complexType name="Definition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Dictionary" type="tns:Dictionary" /> + <s:element minOccurs="0" maxOccurs="1" name="WordDefinition" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DefineInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineInDictResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="StrategyList"> + <s:complexType /> + </s:element> + <s:element name="StrategyListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="StrategyListResult" type="tns:ArrayOfStrategy" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfStrategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Strategy" nillable="true" type="tns:Strategy" /> + </s:sequence> + </s:complexType> + <s:complexType name="Strategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="Match"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="DictionaryWord" nillable="true" type="tns:DictionaryWord" /> + </s:sequence> + </s:complexType> + <s:complexType name="DictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="MatchInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchInDictResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="string" nillable="true" type="s:string" /> + <s:element name="ArrayOfDictionary" nillable="true" type="tns:ArrayOfDictionary" /> + <s:element name="WordDefinition" nillable="true" type="tns:WordDefinition" /> + <s:element name="ArrayOfStrategy" nillable="true" type="tns:ArrayOfStrategy" /> + <s:element name="ArrayOfDictionaryWord" nillable="true" type="tns:ArrayOfDictionaryWord" /> + </s:schema> + </wsdl:types> + <wsdl:message name="ServerInfoSoapIn"> + <wsdl:part name="parameters" element="tns:ServerInfo" /> + </wsdl:message> + <wsdl:message name="ServerInfoSoapOut"> + <wsdl:part name="parameters" element="tns:ServerInfoResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryList" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryListExtended" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListExtendedResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryInfo" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryInfoResponse" /> + </wsdl:message> + <wsdl:message name="DefineSoapIn"> + <wsdl:part name="parameters" element="tns:Define" /> + </wsdl:message> + <wsdl:message name="DefineSoapOut"> + <wsdl:part name="parameters" element="tns:DefineResponse" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapIn"> + <wsdl:part name="parameters" element="tns:DefineInDict" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapOut"> + <wsdl:part name="parameters" element="tns:DefineInDictResponse" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapIn"> + <wsdl:part name="parameters" element="tns:StrategyList" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapOut"> + <wsdl:part name="parameters" element="tns:StrategyListResponse" /> + </wsdl:message> + <wsdl:message name="MatchSoapIn"> + <wsdl:part name="parameters" element="tns:Match" /> + </wsdl:message> + <wsdl:message name="MatchSoapOut"> + <wsdl:part name="parameters" element="tns:MatchResponse" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapIn"> + <wsdl:part name="parameters" element="tns:MatchInDict" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapOut"> + <wsdl:part name="parameters" element="tns:MatchInDictResponse" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpGetIn" /> + <wsdl:message name="ServerInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpGetIn" /> + <wsdl:message name="DictionaryListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpGetIn" /> + <wsdl:message name="DictionaryListExtendedHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpGetIn" /> + <wsdl:message name="StrategyListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpPostIn" /> + <wsdl:message name="ServerInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpPostIn" /> + <wsdl:message name="DictionaryListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpPostIn" /> + <wsdl:message name="DictionaryListExtendedHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpPostIn" /> + <wsdl:message name="StrategyListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:portType name="DictServiceSoap"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoSoapIn" /> + <wsdl:output message="tns:ServerInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListSoapIn" /> + <wsdl:output message="tns:DictionaryListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedSoapIn" /> + <wsdl:output message="tns:DictionaryListExtendedSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoSoapIn" /> + <wsdl:output message="tns:DictionaryInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineSoapIn" /> + <wsdl:output message="tns:DefineSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictSoapIn" /> + <wsdl:output message="tns:DefineInDictSoapOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListSoapIn" /> + <wsdl:output message="tns:StrategyListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchSoapIn" /> + <wsdl:output message="tns:MatchSoapOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictSoapIn" /> + <wsdl:output message="tns:MatchInDictSoapOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpGet"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpGetIn" /> + <wsdl:output message="tns:ServerInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpGetIn" /> + <wsdl:output message="tns:DictionaryListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpGetIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpGetIn" /> + <wsdl:output message="tns:DictionaryInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpGetIn" /> + <wsdl:output message="tns:DefineHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpGetIn" /> + <wsdl:output message="tns:DefineInDictHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpGetIn" /> + <wsdl:output message="tns:StrategyListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpGetIn" /> + <wsdl:output message="tns:MatchHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpGetIn" /> + <wsdl:output message="tns:MatchInDictHttpGetOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpPost"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpPostIn" /> + <wsdl:output message="tns:ServerInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpPostIn" /> + <wsdl:output message="tns:DictionaryListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpPostIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpPostIn" /> + <wsdl:output message="tns:DictionaryInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpPostIn" /> + <wsdl:output message="tns:DefineHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpPostIn" /> + <wsdl:output message="tns:DefineInDictHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpPostIn" /> + <wsdl:output message="tns:StrategyListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpPostIn" /> + <wsdl:output message="tns:MatchHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpPostIn" /> + <wsdl:output message="tns:MatchInDictHttpPostOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="DictServiceSoap" type="tns:DictServiceSoap"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" 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="DictServiceSoap12" type="tns:DictServiceSoap"> + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpGet" type="tns:DictServiceHttpGet"> + <http:binding verb="GET" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpPost" type="tns:DictServiceHttpPost"> + <http:binding verb="POST" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="DictService"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:port name="DictServiceSoap" binding="tns:DictServiceSoap"> + <soap:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceSoap12" binding="tns:DictServiceSoap12"> + <soap12:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpGet" binding="tns:DictServiceHttpGet"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpPost" binding="tns:DictServiceHttpPost"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + </wsdl:service> +</wsdl:definitions>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource new file mode 100644 index 0000000..b6db5d2 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Dictionary" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.Dictionary, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource new file mode 100644 index 0000000..9fd63a4 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="DictionaryWord" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.DictionaryWord, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource new file mode 100644 index 0000000..7cdc3ab --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Strategy" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.Strategy, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource new file mode 100644 index 0000000..327195d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="WordDefinition" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.WordDefinition, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/Reference.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/Reference.cs new file mode 100644 index 0000000..ab76343 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/Reference.cs @@ -0,0 +1,1064 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.431 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace Excercise8.DictionarySuggestService { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://services.aonaware.com/webservices/", ConfigurationName="DictionarySuggestService.DictServiceSoap")] + public interface DictServiceSoap { + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string ServerInfo(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState); + + string EndServerInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryListExtended(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryListExtended(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string DictionaryInfo(string dictId); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState); + + string EndDictionaryInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise8.DictionarySuggestService.WordDefinition Define(string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState); + + Excercise8.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise8.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState); + + Excercise8.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Strategy[] StrategyList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState); + + Strategy[] EndStrategyList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] Match(string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatch(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] MatchInDict(string dictId, string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatchInDict(System.IAsyncResult result); + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Dictionary : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string nameField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class DictionaryWord : object, System.ComponentModel.INotifyPropertyChanged { + + private string dictionaryIdField; + + private string wordField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string DictionaryId { + get { + return this.dictionaryIdField; + } + set { + this.dictionaryIdField = value; + this.RaisePropertyChanged("DictionaryId"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Strategy : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string descriptionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Definition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Dictionary dictionaryField; + + private string wordDefinitionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public Dictionary Dictionary { + get { + return this.dictionaryField; + } + set { + this.dictionaryField = value; + this.RaisePropertyChanged("Dictionary"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string WordDefinition { + get { + return this.wordDefinitionField; + } + set { + this.wordDefinitionField = value; + this.RaisePropertyChanged("WordDefinition"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class WordDefinition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Definition[] definitionsField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public Definition[] Definitions { + get { + return this.definitionsField; + } + set { + this.definitionsField = value; + this.RaisePropertyChanged("Definitions"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface DictServiceSoapChannel : Excercise8.DictionarySuggestService.DictServiceSoap, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class ServerInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public ServerInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListExtendedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListExtendedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise8.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise8.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise8.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise8.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class StrategyListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public StrategyListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Strategy[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Strategy[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictServiceSoapClient : System.ServiceModel.ClientBase<Excercise8.DictionarySuggestService.DictServiceSoap>, Excercise8.DictionarySuggestService.DictServiceSoap { + + private BeginOperationDelegate onBeginServerInfoDelegate; + + private EndOperationDelegate onEndServerInfoDelegate; + + private System.Threading.SendOrPostCallback onServerInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListDelegate; + + private EndOperationDelegate onEndDictionaryListDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListExtendedDelegate; + + private EndOperationDelegate onEndDictionaryListExtendedDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListExtendedCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryInfoDelegate; + + private EndOperationDelegate onEndDictionaryInfoDelegate; + + private System.Threading.SendOrPostCallback onDictionaryInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDefineDelegate; + + private EndOperationDelegate onEndDefineDelegate; + + private System.Threading.SendOrPostCallback onDefineCompletedDelegate; + + private BeginOperationDelegate onBeginDefineInDictDelegate; + + private EndOperationDelegate onEndDefineInDictDelegate; + + private System.Threading.SendOrPostCallback onDefineInDictCompletedDelegate; + + private BeginOperationDelegate onBeginStrategyListDelegate; + + private EndOperationDelegate onEndStrategyListDelegate; + + private System.Threading.SendOrPostCallback onStrategyListCompletedDelegate; + + private BeginOperationDelegate onBeginMatchDelegate; + + private EndOperationDelegate onEndMatchDelegate; + + private System.Threading.SendOrPostCallback onMatchCompletedDelegate; + + private BeginOperationDelegate onBeginMatchInDictDelegate; + + private EndOperationDelegate onEndMatchInDictDelegate; + + private System.Threading.SendOrPostCallback onMatchInDictCompletedDelegate; + + public DictServiceSoapClient() { + } + + public DictServiceSoapClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public DictServiceSoapClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + public event System.EventHandler<ServerInfoCompletedEventArgs> ServerInfoCompleted; + + public event System.EventHandler<DictionaryListCompletedEventArgs> DictionaryListCompleted; + + public event System.EventHandler<DictionaryListExtendedCompletedEventArgs> DictionaryListExtendedCompleted; + + public event System.EventHandler<DictionaryInfoCompletedEventArgs> DictionaryInfoCompleted; + + public event System.EventHandler<DefineCompletedEventArgs> DefineCompleted; + + public event System.EventHandler<DefineInDictCompletedEventArgs> DefineInDictCompleted; + + public event System.EventHandler<StrategyListCompletedEventArgs> StrategyListCompleted; + + public event System.EventHandler<MatchCompletedEventArgs> MatchCompleted; + + public event System.EventHandler<MatchInDictCompletedEventArgs> MatchInDictCompleted; + + public string ServerInfo() { + return base.Channel.ServerInfo(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginServerInfo(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndServerInfo(System.IAsyncResult result) { + return base.Channel.EndServerInfo(result); + } + + private System.IAsyncResult OnBeginServerInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginServerInfo(callback, asyncState); + } + + private object[] OnEndServerInfo(System.IAsyncResult result) { + string retVal = this.EndServerInfo(result); + return new object[] { + retVal}; + } + + private void OnServerInfoCompleted(object state) { + if ((this.ServerInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.ServerInfoCompleted(this, new ServerInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void ServerInfoAsync() { + this.ServerInfoAsync(null); + } + + public void ServerInfoAsync(object userState) { + if ((this.onBeginServerInfoDelegate == null)) { + this.onBeginServerInfoDelegate = new BeginOperationDelegate(this.OnBeginServerInfo); + } + if ((this.onEndServerInfoDelegate == null)) { + this.onEndServerInfoDelegate = new EndOperationDelegate(this.OnEndServerInfo); + } + if ((this.onServerInfoCompletedDelegate == null)) { + this.onServerInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnServerInfoCompleted); + } + base.InvokeAsync(this.onBeginServerInfoDelegate, null, this.onEndServerInfoDelegate, this.onServerInfoCompletedDelegate, userState); + } + + public Dictionary[] DictionaryList() { + return base.Channel.DictionaryList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryList(System.IAsyncResult result) { + return base.Channel.EndDictionaryList(result); + } + + private System.IAsyncResult OnBeginDictionaryList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryList(callback, asyncState); + } + + private object[] OnEndDictionaryList(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryList(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListCompleted(object state) { + if ((this.DictionaryListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListCompleted(this, new DictionaryListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListAsync() { + this.DictionaryListAsync(null); + } + + public void DictionaryListAsync(object userState) { + if ((this.onBeginDictionaryListDelegate == null)) { + this.onBeginDictionaryListDelegate = new BeginOperationDelegate(this.OnBeginDictionaryList); + } + if ((this.onEndDictionaryListDelegate == null)) { + this.onEndDictionaryListDelegate = new EndOperationDelegate(this.OnEndDictionaryList); + } + if ((this.onDictionaryListCompletedDelegate == null)) { + this.onDictionaryListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListDelegate, null, this.onEndDictionaryListDelegate, this.onDictionaryListCompletedDelegate, userState); + } + + public Dictionary[] DictionaryListExtended() { + return base.Channel.DictionaryListExtended(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryListExtended(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryListExtended(System.IAsyncResult result) { + return base.Channel.EndDictionaryListExtended(result); + } + + private System.IAsyncResult OnBeginDictionaryListExtended(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryListExtended(callback, asyncState); + } + + private object[] OnEndDictionaryListExtended(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryListExtended(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListExtendedCompleted(object state) { + if ((this.DictionaryListExtendedCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListExtendedCompleted(this, new DictionaryListExtendedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListExtendedAsync() { + this.DictionaryListExtendedAsync(null); + } + + public void DictionaryListExtendedAsync(object userState) { + if ((this.onBeginDictionaryListExtendedDelegate == null)) { + this.onBeginDictionaryListExtendedDelegate = new BeginOperationDelegate(this.OnBeginDictionaryListExtended); + } + if ((this.onEndDictionaryListExtendedDelegate == null)) { + this.onEndDictionaryListExtendedDelegate = new EndOperationDelegate(this.OnEndDictionaryListExtended); + } + if ((this.onDictionaryListExtendedCompletedDelegate == null)) { + this.onDictionaryListExtendedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListExtendedCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListExtendedDelegate, null, this.onEndDictionaryListExtendedDelegate, this.onDictionaryListExtendedCompletedDelegate, userState); + } + + public string DictionaryInfo(string dictId) { + return base.Channel.DictionaryInfo(dictId); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryInfo(dictId, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndDictionaryInfo(System.IAsyncResult result) { + return base.Channel.EndDictionaryInfo(result); + } + + private System.IAsyncResult OnBeginDictionaryInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + return this.BeginDictionaryInfo(dictId, callback, asyncState); + } + + private object[] OnEndDictionaryInfo(System.IAsyncResult result) { + string retVal = this.EndDictionaryInfo(result); + return new object[] { + retVal}; + } + + private void OnDictionaryInfoCompleted(object state) { + if ((this.DictionaryInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryInfoCompleted(this, new DictionaryInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryInfoAsync(string dictId) { + this.DictionaryInfoAsync(dictId, null); + } + + public void DictionaryInfoAsync(string dictId, object userState) { + if ((this.onBeginDictionaryInfoDelegate == null)) { + this.onBeginDictionaryInfoDelegate = new BeginOperationDelegate(this.OnBeginDictionaryInfo); + } + if ((this.onEndDictionaryInfoDelegate == null)) { + this.onEndDictionaryInfoDelegate = new EndOperationDelegate(this.OnEndDictionaryInfo); + } + if ((this.onDictionaryInfoCompletedDelegate == null)) { + this.onDictionaryInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryInfoCompleted); + } + base.InvokeAsync(this.onBeginDictionaryInfoDelegate, new object[] { + dictId}, this.onEndDictionaryInfoDelegate, this.onDictionaryInfoCompletedDelegate, userState); + } + + public Excercise8.DictionarySuggestService.WordDefinition Define(string word) { + return base.Channel.Define(word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefine(word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise8.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result) { + return base.Channel.EndDefine(result); + } + + private System.IAsyncResult OnBeginDefine(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + return this.BeginDefine(word, callback, asyncState); + } + + private object[] OnEndDefine(System.IAsyncResult result) { + Excercise8.DictionarySuggestService.WordDefinition retVal = this.EndDefine(result); + return new object[] { + retVal}; + } + + private void OnDefineCompleted(object state) { + if ((this.DefineCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineCompleted(this, new DefineCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineAsync(string word) { + this.DefineAsync(word, null); + } + + public void DefineAsync(string word, object userState) { + if ((this.onBeginDefineDelegate == null)) { + this.onBeginDefineDelegate = new BeginOperationDelegate(this.OnBeginDefine); + } + if ((this.onEndDefineDelegate == null)) { + this.onEndDefineDelegate = new EndOperationDelegate(this.OnEndDefine); + } + if ((this.onDefineCompletedDelegate == null)) { + this.onDefineCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineCompleted); + } + base.InvokeAsync(this.onBeginDefineDelegate, new object[] { + word}, this.onEndDefineDelegate, this.onDefineCompletedDelegate, userState); + } + + public Excercise8.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word) { + return base.Channel.DefineInDict(dictId, word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefineInDict(dictId, word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise8.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result) { + return base.Channel.EndDefineInDict(result); + } + + private System.IAsyncResult OnBeginDefineInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + return this.BeginDefineInDict(dictId, word, callback, asyncState); + } + + private object[] OnEndDefineInDict(System.IAsyncResult result) { + Excercise8.DictionarySuggestService.WordDefinition retVal = this.EndDefineInDict(result); + return new object[] { + retVal}; + } + + private void OnDefineInDictCompleted(object state) { + if ((this.DefineInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineInDictCompleted(this, new DefineInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineInDictAsync(string dictId, string word) { + this.DefineInDictAsync(dictId, word, null); + } + + public void DefineInDictAsync(string dictId, string word, object userState) { + if ((this.onBeginDefineInDictDelegate == null)) { + this.onBeginDefineInDictDelegate = new BeginOperationDelegate(this.OnBeginDefineInDict); + } + if ((this.onEndDefineInDictDelegate == null)) { + this.onEndDefineInDictDelegate = new EndOperationDelegate(this.OnEndDefineInDict); + } + if ((this.onDefineInDictCompletedDelegate == null)) { + this.onDefineInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineInDictCompleted); + } + base.InvokeAsync(this.onBeginDefineInDictDelegate, new object[] { + dictId, + word}, this.onEndDefineInDictDelegate, this.onDefineInDictCompletedDelegate, userState); + } + + public Strategy[] StrategyList() { + return base.Channel.StrategyList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginStrategyList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Strategy[] EndStrategyList(System.IAsyncResult result) { + return base.Channel.EndStrategyList(result); + } + + private System.IAsyncResult OnBeginStrategyList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginStrategyList(callback, asyncState); + } + + private object[] OnEndStrategyList(System.IAsyncResult result) { + Strategy[] retVal = this.EndStrategyList(result); + return new object[] { + retVal}; + } + + private void OnStrategyListCompleted(object state) { + if ((this.StrategyListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.StrategyListCompleted(this, new StrategyListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void StrategyListAsync() { + this.StrategyListAsync(null); + } + + public void StrategyListAsync(object userState) { + if ((this.onBeginStrategyListDelegate == null)) { + this.onBeginStrategyListDelegate = new BeginOperationDelegate(this.OnBeginStrategyList); + } + if ((this.onEndStrategyListDelegate == null)) { + this.onEndStrategyListDelegate = new EndOperationDelegate(this.OnEndStrategyList); + } + if ((this.onStrategyListCompletedDelegate == null)) { + this.onStrategyListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStrategyListCompleted); + } + base.InvokeAsync(this.onBeginStrategyListDelegate, null, this.onEndStrategyListDelegate, this.onStrategyListCompletedDelegate, userState); + } + + public DictionaryWord[] Match(string word, string strategy) { + return base.Channel.Match(word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatch(word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatch(System.IAsyncResult result) { + return base.Channel.EndMatch(result); + } + + private System.IAsyncResult OnBeginMatch(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + string strategy = ((string)(inValues[1])); + return this.BeginMatch(word, strategy, callback, asyncState); + } + + private object[] OnEndMatch(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatch(result); + return new object[] { + retVal}; + } + + private void OnMatchCompleted(object state) { + if ((this.MatchCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchCompleted(this, new MatchCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchAsync(string word, string strategy) { + this.MatchAsync(word, strategy, null); + } + + public void MatchAsync(string word, string strategy, object userState) { + if ((this.onBeginMatchDelegate == null)) { + this.onBeginMatchDelegate = new BeginOperationDelegate(this.OnBeginMatch); + } + if ((this.onEndMatchDelegate == null)) { + this.onEndMatchDelegate = new EndOperationDelegate(this.OnEndMatch); + } + if ((this.onMatchCompletedDelegate == null)) { + this.onMatchCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchCompleted); + } + base.InvokeAsync(this.onBeginMatchDelegate, new object[] { + word, + strategy}, this.onEndMatchDelegate, this.onMatchCompletedDelegate, userState); + } + + public DictionaryWord[] MatchInDict(string dictId, string word, string strategy) { + return base.Channel.MatchInDict(dictId, word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatchInDict(System.IAsyncResult result) { + return base.Channel.EndMatchInDict(result); + } + + private System.IAsyncResult OnBeginMatchInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + string strategy = ((string)(inValues[2])); + return this.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + private object[] OnEndMatchInDict(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatchInDict(result); + return new object[] { + retVal}; + } + + private void OnMatchInDictCompleted(object state) { + if ((this.MatchInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchInDictCompleted(this, new MatchInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchInDictAsync(string dictId, string word, string strategy) { + this.MatchInDictAsync(dictId, word, strategy, null); + } + + public void MatchInDictAsync(string dictId, string word, string strategy, object userState) { + if ((this.onBeginMatchInDictDelegate == null)) { + this.onBeginMatchInDictDelegate = new BeginOperationDelegate(this.OnBeginMatchInDict); + } + if ((this.onEndMatchInDictDelegate == null)) { + this.onEndMatchInDictDelegate = new EndOperationDelegate(this.OnEndMatchInDict); + } + if ((this.onMatchInDictCompletedDelegate == null)) { + this.onMatchInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchInDictCompleted); + } + base.InvokeAsync(this.onBeginMatchInDictDelegate, new object[] { + dictId, + word, + strategy}, this.onEndMatchInDictDelegate, this.onMatchInDictCompletedDelegate, userState); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/Reference.svcmap b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/Reference.svcmap new file mode 100644 index 0000000..262793d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/Reference.svcmap @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="e75a076a-da23-4f7a-863b-068b0bcdc64a" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap"> + <ClientOptions> + <GenerateAsynchronousMethods>true</GenerateAsynchronousMethods> + <EnableDataBinding>true</EnableDataBinding> + <ExcludedTypes /> + <ImportXmlTypes>false</ImportXmlTypes> + <GenerateInternalTypes>false</GenerateInternalTypes> + <GenerateMessageContracts>false</GenerateMessageContracts> + <NamespaceMappings /> + <CollectionMappings /> + <GenerateSerializableTypes>true</GenerateSerializableTypes> + <Serializer>Auto</Serializer> + <UseSerializerForFaults>true</UseSerializerForFaults> + <ReferenceAllAssemblies>true</ReferenceAllAssemblies> + <ReferencedAssemblies /> + <ReferencedDataContractTypes /> + <ServiceContractMappings /> + </ClientOptions> + <MetadataSources> + <MetadataSource Address="http://services.aonaware.com/DictService/DictService.asmx" Protocol="http" SourceId="1" /> + </MetadataSources> + <Metadata> + <MetadataFile FileName="DictService.disco" MetadataType="Disco" ID="ec8a6728-2d46-4424-a9cb-a89dbf639570" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?disco" /> + <MetadataFile FileName="DictService.wsdl" MetadataType="Wsdl" ID="dbe33f76-54f8-4c5a-b509-af92c391b3a3" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?wsdl" /> + </Metadata> + <Extensions> + <ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" /> + <ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" /> + </Extensions> +</ReferenceGroup>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/configuration.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/configuration.svcinfo new file mode 100644 index 0000000..a856d3d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/configuration.svcinfo @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot"> + <behaviors /> + <bindings> + <binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" messageEncoding="Text" name="DictServiceSoap" textEncoding="utf-8" transferMode="Buffered"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /><security mode="None"><message algorithmSuite="Default" clientCredentialType="UserName" /><transport clientCredentialType="None" proxyCredentialType="None" realm="" /></security></Data>" bindingType="basicHttpBinding" name="DictServiceSoap" /> + <binding digest="System.ServiceModel.Configuration.CustomBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="DictServiceSoap12"><httpTransport allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" manualAddressing="false" maxBufferPoolSize="524288" maxBufferSize="65536" maxReceivedMessageSize="65536" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" /><textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap12" writeEncoding="utf-8"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /></textMessageEncoding></Data>" bindingType="customBinding" name="DictServiceSoap12" /> + </bindings> + <endpoints> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </endpoints> +</configurationSnapshot>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/configuration91.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/configuration91.svcinfo new file mode 100644 index 0000000..2599177 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/Service References/DictionarySuggestService/configuration91.svcinfo @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="Cb1mlQVfrIvXhoWXP+TpwPhxgGY="> + <bindingConfigurations> + <bindingConfiguration bindingType="basicHttpBinding" name="DictServiceSoap"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:10:00</serializedValue> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Text</serializedValue> + </property> + <property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue> + </property> + <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue> + </property> + <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + <property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue> + </property> + <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>UserName</serializedValue> + </property> + <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Default</serializedValue> + </property> + <property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + </properties> + </bindingConfiguration> + <bindingConfiguration bindingType="customBinding" name="DictServiceSoap12"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/textMessageEncoding" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TextMessageEncodingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.TextMessageEncodingElement</serializedValue> + </property> + <property path="/textMessageEncoding/maxReadPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>64</serializedValue> + </property> + <property path="/textMessageEncoding/maxWritePoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16</serializedValue> + </property> + <property path="/textMessageEncoding/messageVersion" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.MessageVersion, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Soap12</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/writeEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/httpTransport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportElement</serializedValue> + </property> + <property path="/httpTransport/manualAddressing" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/httpTransport/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/authenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/decompressionEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/httpTransport/keepAliveEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/proxyAddress" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/proxyAuthenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/httpTransport/unsafeConnectionNtlmAuthentication" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + </properties> + </bindingConfiguration> + </bindingConfigurations> + <endpoints> + <endpoint name="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" bindingType="basicHttpBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>basicHttpBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + <endpoint name="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" bindingType="customBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap12"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>customBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + </endpoints> +</SavedWcfConfigurationInformation>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step06/app.config b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/app.config new file mode 100644 index 0000000..cf1770f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step06/app.config @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <system.serviceModel> + <bindings> + <basicHttpBinding> + <binding name="DictServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" + receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" + bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" + maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" + messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" + useDefaultWebProxy="true"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + <security mode="None"> + <transport clientCredentialType="None" proxyCredentialType="None" + realm="" /> + <message clientCredentialType="UserName" algorithmSuite="Default" /> + </security> + </binding> + </basicHttpBinding> + <customBinding> + <binding name="DictServiceSoap12"> + <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" + messageVersion="Soap12" writeEncoding="utf-8"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + </textMessageEncoding> + <httpTransport manualAddressing="false" maxBufferPoolSize="524288" + maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous" + bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" + keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous" + realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" + useDefaultWebProxy="true" /> + </binding> + </customBinding> + </bindings> + <client> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="customBinding" bindingConfiguration="DictServiceSoap12" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </client> + </system.serviceModel> +</configuration>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Excercise8.csproj b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Excercise8.csproj new file mode 100644 index 0000000..8025005 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Excercise8.csproj @@ -0,0 +1,105 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{578E2EA9-D8D9-4B12-83D2-1B383750E677}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise8</RootNamespace> + <AssemblyName>Excercise8</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Reactive.Windows.Forms, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.ServiceModel" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Service References\DictionarySuggestService\Reference.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Reference.svcmap</DependentUpon> + </Compile> + </ItemGroup> + <ItemGroup> + <WCFMetadata Include="Service References\" /> + </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + <None Include="Service References\DictionarySuggestService\DictService.wsdl" /> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.Dictionary.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.DictionaryWord.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.Strategy.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.WordDefinition.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + </ItemGroup> + <ItemGroup> + <WCFMetadataStorage Include="Service References\DictionarySuggestService\" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\DictService.disco" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration91.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\Reference.svcmap"> + <Generator>WCF Proxy Generator</Generator> + <LastGenOutput>Reference.cs</LastGenOutput> + </None> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Excercise8.sln b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Excercise8.sln new file mode 100644 index 0000000..e2c0652 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Excercise8.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise8", "Excercise8.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Program.cs new file mode 100644 index 0000000..e0f02e6 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Program.cs @@ -0,0 +1,49 @@ +using System; +using System.Linq; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; +using Excercise8.DictionarySuggestService; + +namespace Excercise8 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + var lst = new ListBox { Top = txt.Height + 10 }; + + var frm = new Form() + { + Controls = { txt, lst } + }; + + var input = (from evt in Observable.FromEventPattern(txt, "TextChanged") + select ((TextBox)evt.Sender).Text) + .Throttle(TimeSpan.FromSeconds(1)) + .DistinctUntilChanged() + .Do(x => Console.WriteLine(x)); + + var svc = new DictServiceSoapClient("DictServiceSoap"); + var matchInDict = Observable.FromAsyncPattern<string, string, string, DictionaryWord[]> + (svc.BeginMatchInDict, svc.EndMatchInDict); + + Func<string, IObservable<DictionaryWord[]>> matchInWordNetByPrefix = + term => matchInDict("wn", term, "prefix"); + + var res = from term in input + from words in matchInWordNetByPrefix(term) + select words; + + using (res.ObserveOn(lst).Subscribe(words => + { + lst.Items.Clear(); + lst.Items.AddRange((from word in words select word.Word).ToArray()); + })) + { + Application.Run(frm); + } + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f320cdf --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise8")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise8")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/DictService.disco b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/DictService.disco new file mode 100644 index 0000000..d8b4769 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/DictService.disco @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> + <contractRef ref="http://services.aonaware.com/DictService/DictService.asmx?wsdl" docRef="http://services.aonaware.com/DictService/DictService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q1="http://services.aonaware.com/webservices/" binding="q1:DictServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q2="http://services.aonaware.com/webservices/" binding="q2:DictServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> +</discovery>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/DictService.wsdl b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/DictService.wsdl new file mode 100644 index 0000000..72a8189 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/DictService.wsdl @@ -0,0 +1,824 @@ +<?xml version="1.0" encoding="utf-8"?> +<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://services.aonaware.com/webservices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://services.aonaware.com/webservices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:types> + <s:schema elementFormDefault="qualified" targetNamespace="http://services.aonaware.com/webservices/"> + <s:element name="ServerInfo"> + <s:complexType /> + </s:element> + <s:element name="ServerInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="ServerInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryList"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Dictionary" nillable="true" type="tns:Dictionary" /> + </s:sequence> + </s:complexType> + <s:complexType name="Dictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DictionaryListExtended"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListExtendedResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListExtendedResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfo"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="Define"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="WordDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Definitions" type="tns:ArrayOfDefinition" /> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Definition" nillable="true" type="tns:Definition" /> + </s:sequence> + </s:complexType> + <s:complexType name="Definition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Dictionary" type="tns:Dictionary" /> + <s:element minOccurs="0" maxOccurs="1" name="WordDefinition" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DefineInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineInDictResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="StrategyList"> + <s:complexType /> + </s:element> + <s:element name="StrategyListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="StrategyListResult" type="tns:ArrayOfStrategy" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfStrategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Strategy" nillable="true" type="tns:Strategy" /> + </s:sequence> + </s:complexType> + <s:complexType name="Strategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="Match"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="DictionaryWord" nillable="true" type="tns:DictionaryWord" /> + </s:sequence> + </s:complexType> + <s:complexType name="DictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="MatchInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchInDictResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="string" nillable="true" type="s:string" /> + <s:element name="ArrayOfDictionary" nillable="true" type="tns:ArrayOfDictionary" /> + <s:element name="WordDefinition" nillable="true" type="tns:WordDefinition" /> + <s:element name="ArrayOfStrategy" nillable="true" type="tns:ArrayOfStrategy" /> + <s:element name="ArrayOfDictionaryWord" nillable="true" type="tns:ArrayOfDictionaryWord" /> + </s:schema> + </wsdl:types> + <wsdl:message name="ServerInfoSoapIn"> + <wsdl:part name="parameters" element="tns:ServerInfo" /> + </wsdl:message> + <wsdl:message name="ServerInfoSoapOut"> + <wsdl:part name="parameters" element="tns:ServerInfoResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryList" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryListExtended" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListExtendedResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryInfo" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryInfoResponse" /> + </wsdl:message> + <wsdl:message name="DefineSoapIn"> + <wsdl:part name="parameters" element="tns:Define" /> + </wsdl:message> + <wsdl:message name="DefineSoapOut"> + <wsdl:part name="parameters" element="tns:DefineResponse" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapIn"> + <wsdl:part name="parameters" element="tns:DefineInDict" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapOut"> + <wsdl:part name="parameters" element="tns:DefineInDictResponse" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapIn"> + <wsdl:part name="parameters" element="tns:StrategyList" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapOut"> + <wsdl:part name="parameters" element="tns:StrategyListResponse" /> + </wsdl:message> + <wsdl:message name="MatchSoapIn"> + <wsdl:part name="parameters" element="tns:Match" /> + </wsdl:message> + <wsdl:message name="MatchSoapOut"> + <wsdl:part name="parameters" element="tns:MatchResponse" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapIn"> + <wsdl:part name="parameters" element="tns:MatchInDict" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapOut"> + <wsdl:part name="parameters" element="tns:MatchInDictResponse" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpGetIn" /> + <wsdl:message name="ServerInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpGetIn" /> + <wsdl:message name="DictionaryListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpGetIn" /> + <wsdl:message name="DictionaryListExtendedHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpGetIn" /> + <wsdl:message name="StrategyListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpPostIn" /> + <wsdl:message name="ServerInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpPostIn" /> + <wsdl:message name="DictionaryListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpPostIn" /> + <wsdl:message name="DictionaryListExtendedHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpPostIn" /> + <wsdl:message name="StrategyListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:portType name="DictServiceSoap"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoSoapIn" /> + <wsdl:output message="tns:ServerInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListSoapIn" /> + <wsdl:output message="tns:DictionaryListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedSoapIn" /> + <wsdl:output message="tns:DictionaryListExtendedSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoSoapIn" /> + <wsdl:output message="tns:DictionaryInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineSoapIn" /> + <wsdl:output message="tns:DefineSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictSoapIn" /> + <wsdl:output message="tns:DefineInDictSoapOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListSoapIn" /> + <wsdl:output message="tns:StrategyListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchSoapIn" /> + <wsdl:output message="tns:MatchSoapOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictSoapIn" /> + <wsdl:output message="tns:MatchInDictSoapOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpGet"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpGetIn" /> + <wsdl:output message="tns:ServerInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpGetIn" /> + <wsdl:output message="tns:DictionaryListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpGetIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpGetIn" /> + <wsdl:output message="tns:DictionaryInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpGetIn" /> + <wsdl:output message="tns:DefineHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpGetIn" /> + <wsdl:output message="tns:DefineInDictHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpGetIn" /> + <wsdl:output message="tns:StrategyListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpGetIn" /> + <wsdl:output message="tns:MatchHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpGetIn" /> + <wsdl:output message="tns:MatchInDictHttpGetOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpPost"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpPostIn" /> + <wsdl:output message="tns:ServerInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpPostIn" /> + <wsdl:output message="tns:DictionaryListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpPostIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpPostIn" /> + <wsdl:output message="tns:DictionaryInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpPostIn" /> + <wsdl:output message="tns:DefineHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpPostIn" /> + <wsdl:output message="tns:DefineInDictHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpPostIn" /> + <wsdl:output message="tns:StrategyListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpPostIn" /> + <wsdl:output message="tns:MatchHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpPostIn" /> + <wsdl:output message="tns:MatchInDictHttpPostOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="DictServiceSoap" type="tns:DictServiceSoap"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" 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="DictServiceSoap12" type="tns:DictServiceSoap"> + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpGet" type="tns:DictServiceHttpGet"> + <http:binding verb="GET" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpPost" type="tns:DictServiceHttpPost"> + <http:binding verb="POST" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="DictService"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:port name="DictServiceSoap" binding="tns:DictServiceSoap"> + <soap:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceSoap12" binding="tns:DictServiceSoap12"> + <soap12:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpGet" binding="tns:DictServiceHttpGet"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpPost" binding="tns:DictServiceHttpPost"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + </wsdl:service> +</wsdl:definitions>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource new file mode 100644 index 0000000..b6db5d2 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Dictionary" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.Dictionary, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource new file mode 100644 index 0000000..9fd63a4 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="DictionaryWord" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.DictionaryWord, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource new file mode 100644 index 0000000..7cdc3ab --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Strategy" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.Strategy, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource new file mode 100644 index 0000000..327195d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="WordDefinition" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.WordDefinition, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/Reference.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/Reference.cs new file mode 100644 index 0000000..ab76343 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/Reference.cs @@ -0,0 +1,1064 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.431 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace Excercise8.DictionarySuggestService { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://services.aonaware.com/webservices/", ConfigurationName="DictionarySuggestService.DictServiceSoap")] + public interface DictServiceSoap { + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string ServerInfo(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState); + + string EndServerInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryListExtended(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryListExtended(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string DictionaryInfo(string dictId); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState); + + string EndDictionaryInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise8.DictionarySuggestService.WordDefinition Define(string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState); + + Excercise8.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise8.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState); + + Excercise8.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Strategy[] StrategyList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState); + + Strategy[] EndStrategyList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] Match(string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatch(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] MatchInDict(string dictId, string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatchInDict(System.IAsyncResult result); + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Dictionary : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string nameField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class DictionaryWord : object, System.ComponentModel.INotifyPropertyChanged { + + private string dictionaryIdField; + + private string wordField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string DictionaryId { + get { + return this.dictionaryIdField; + } + set { + this.dictionaryIdField = value; + this.RaisePropertyChanged("DictionaryId"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Strategy : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string descriptionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Definition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Dictionary dictionaryField; + + private string wordDefinitionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public Dictionary Dictionary { + get { + return this.dictionaryField; + } + set { + this.dictionaryField = value; + this.RaisePropertyChanged("Dictionary"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string WordDefinition { + get { + return this.wordDefinitionField; + } + set { + this.wordDefinitionField = value; + this.RaisePropertyChanged("WordDefinition"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class WordDefinition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Definition[] definitionsField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public Definition[] Definitions { + get { + return this.definitionsField; + } + set { + this.definitionsField = value; + this.RaisePropertyChanged("Definitions"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface DictServiceSoapChannel : Excercise8.DictionarySuggestService.DictServiceSoap, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class ServerInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public ServerInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListExtendedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListExtendedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise8.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise8.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise8.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise8.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class StrategyListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public StrategyListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Strategy[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Strategy[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictServiceSoapClient : System.ServiceModel.ClientBase<Excercise8.DictionarySuggestService.DictServiceSoap>, Excercise8.DictionarySuggestService.DictServiceSoap { + + private BeginOperationDelegate onBeginServerInfoDelegate; + + private EndOperationDelegate onEndServerInfoDelegate; + + private System.Threading.SendOrPostCallback onServerInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListDelegate; + + private EndOperationDelegate onEndDictionaryListDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListExtendedDelegate; + + private EndOperationDelegate onEndDictionaryListExtendedDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListExtendedCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryInfoDelegate; + + private EndOperationDelegate onEndDictionaryInfoDelegate; + + private System.Threading.SendOrPostCallback onDictionaryInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDefineDelegate; + + private EndOperationDelegate onEndDefineDelegate; + + private System.Threading.SendOrPostCallback onDefineCompletedDelegate; + + private BeginOperationDelegate onBeginDefineInDictDelegate; + + private EndOperationDelegate onEndDefineInDictDelegate; + + private System.Threading.SendOrPostCallback onDefineInDictCompletedDelegate; + + private BeginOperationDelegate onBeginStrategyListDelegate; + + private EndOperationDelegate onEndStrategyListDelegate; + + private System.Threading.SendOrPostCallback onStrategyListCompletedDelegate; + + private BeginOperationDelegate onBeginMatchDelegate; + + private EndOperationDelegate onEndMatchDelegate; + + private System.Threading.SendOrPostCallback onMatchCompletedDelegate; + + private BeginOperationDelegate onBeginMatchInDictDelegate; + + private EndOperationDelegate onEndMatchInDictDelegate; + + private System.Threading.SendOrPostCallback onMatchInDictCompletedDelegate; + + public DictServiceSoapClient() { + } + + public DictServiceSoapClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public DictServiceSoapClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + public event System.EventHandler<ServerInfoCompletedEventArgs> ServerInfoCompleted; + + public event System.EventHandler<DictionaryListCompletedEventArgs> DictionaryListCompleted; + + public event System.EventHandler<DictionaryListExtendedCompletedEventArgs> DictionaryListExtendedCompleted; + + public event System.EventHandler<DictionaryInfoCompletedEventArgs> DictionaryInfoCompleted; + + public event System.EventHandler<DefineCompletedEventArgs> DefineCompleted; + + public event System.EventHandler<DefineInDictCompletedEventArgs> DefineInDictCompleted; + + public event System.EventHandler<StrategyListCompletedEventArgs> StrategyListCompleted; + + public event System.EventHandler<MatchCompletedEventArgs> MatchCompleted; + + public event System.EventHandler<MatchInDictCompletedEventArgs> MatchInDictCompleted; + + public string ServerInfo() { + return base.Channel.ServerInfo(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginServerInfo(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndServerInfo(System.IAsyncResult result) { + return base.Channel.EndServerInfo(result); + } + + private System.IAsyncResult OnBeginServerInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginServerInfo(callback, asyncState); + } + + private object[] OnEndServerInfo(System.IAsyncResult result) { + string retVal = this.EndServerInfo(result); + return new object[] { + retVal}; + } + + private void OnServerInfoCompleted(object state) { + if ((this.ServerInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.ServerInfoCompleted(this, new ServerInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void ServerInfoAsync() { + this.ServerInfoAsync(null); + } + + public void ServerInfoAsync(object userState) { + if ((this.onBeginServerInfoDelegate == null)) { + this.onBeginServerInfoDelegate = new BeginOperationDelegate(this.OnBeginServerInfo); + } + if ((this.onEndServerInfoDelegate == null)) { + this.onEndServerInfoDelegate = new EndOperationDelegate(this.OnEndServerInfo); + } + if ((this.onServerInfoCompletedDelegate == null)) { + this.onServerInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnServerInfoCompleted); + } + base.InvokeAsync(this.onBeginServerInfoDelegate, null, this.onEndServerInfoDelegate, this.onServerInfoCompletedDelegate, userState); + } + + public Dictionary[] DictionaryList() { + return base.Channel.DictionaryList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryList(System.IAsyncResult result) { + return base.Channel.EndDictionaryList(result); + } + + private System.IAsyncResult OnBeginDictionaryList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryList(callback, asyncState); + } + + private object[] OnEndDictionaryList(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryList(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListCompleted(object state) { + if ((this.DictionaryListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListCompleted(this, new DictionaryListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListAsync() { + this.DictionaryListAsync(null); + } + + public void DictionaryListAsync(object userState) { + if ((this.onBeginDictionaryListDelegate == null)) { + this.onBeginDictionaryListDelegate = new BeginOperationDelegate(this.OnBeginDictionaryList); + } + if ((this.onEndDictionaryListDelegate == null)) { + this.onEndDictionaryListDelegate = new EndOperationDelegate(this.OnEndDictionaryList); + } + if ((this.onDictionaryListCompletedDelegate == null)) { + this.onDictionaryListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListDelegate, null, this.onEndDictionaryListDelegate, this.onDictionaryListCompletedDelegate, userState); + } + + public Dictionary[] DictionaryListExtended() { + return base.Channel.DictionaryListExtended(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryListExtended(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryListExtended(System.IAsyncResult result) { + return base.Channel.EndDictionaryListExtended(result); + } + + private System.IAsyncResult OnBeginDictionaryListExtended(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryListExtended(callback, asyncState); + } + + private object[] OnEndDictionaryListExtended(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryListExtended(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListExtendedCompleted(object state) { + if ((this.DictionaryListExtendedCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListExtendedCompleted(this, new DictionaryListExtendedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListExtendedAsync() { + this.DictionaryListExtendedAsync(null); + } + + public void DictionaryListExtendedAsync(object userState) { + if ((this.onBeginDictionaryListExtendedDelegate == null)) { + this.onBeginDictionaryListExtendedDelegate = new BeginOperationDelegate(this.OnBeginDictionaryListExtended); + } + if ((this.onEndDictionaryListExtendedDelegate == null)) { + this.onEndDictionaryListExtendedDelegate = new EndOperationDelegate(this.OnEndDictionaryListExtended); + } + if ((this.onDictionaryListExtendedCompletedDelegate == null)) { + this.onDictionaryListExtendedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListExtendedCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListExtendedDelegate, null, this.onEndDictionaryListExtendedDelegate, this.onDictionaryListExtendedCompletedDelegate, userState); + } + + public string DictionaryInfo(string dictId) { + return base.Channel.DictionaryInfo(dictId); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryInfo(dictId, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndDictionaryInfo(System.IAsyncResult result) { + return base.Channel.EndDictionaryInfo(result); + } + + private System.IAsyncResult OnBeginDictionaryInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + return this.BeginDictionaryInfo(dictId, callback, asyncState); + } + + private object[] OnEndDictionaryInfo(System.IAsyncResult result) { + string retVal = this.EndDictionaryInfo(result); + return new object[] { + retVal}; + } + + private void OnDictionaryInfoCompleted(object state) { + if ((this.DictionaryInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryInfoCompleted(this, new DictionaryInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryInfoAsync(string dictId) { + this.DictionaryInfoAsync(dictId, null); + } + + public void DictionaryInfoAsync(string dictId, object userState) { + if ((this.onBeginDictionaryInfoDelegate == null)) { + this.onBeginDictionaryInfoDelegate = new BeginOperationDelegate(this.OnBeginDictionaryInfo); + } + if ((this.onEndDictionaryInfoDelegate == null)) { + this.onEndDictionaryInfoDelegate = new EndOperationDelegate(this.OnEndDictionaryInfo); + } + if ((this.onDictionaryInfoCompletedDelegate == null)) { + this.onDictionaryInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryInfoCompleted); + } + base.InvokeAsync(this.onBeginDictionaryInfoDelegate, new object[] { + dictId}, this.onEndDictionaryInfoDelegate, this.onDictionaryInfoCompletedDelegate, userState); + } + + public Excercise8.DictionarySuggestService.WordDefinition Define(string word) { + return base.Channel.Define(word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefine(word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise8.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result) { + return base.Channel.EndDefine(result); + } + + private System.IAsyncResult OnBeginDefine(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + return this.BeginDefine(word, callback, asyncState); + } + + private object[] OnEndDefine(System.IAsyncResult result) { + Excercise8.DictionarySuggestService.WordDefinition retVal = this.EndDefine(result); + return new object[] { + retVal}; + } + + private void OnDefineCompleted(object state) { + if ((this.DefineCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineCompleted(this, new DefineCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineAsync(string word) { + this.DefineAsync(word, null); + } + + public void DefineAsync(string word, object userState) { + if ((this.onBeginDefineDelegate == null)) { + this.onBeginDefineDelegate = new BeginOperationDelegate(this.OnBeginDefine); + } + if ((this.onEndDefineDelegate == null)) { + this.onEndDefineDelegate = new EndOperationDelegate(this.OnEndDefine); + } + if ((this.onDefineCompletedDelegate == null)) { + this.onDefineCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineCompleted); + } + base.InvokeAsync(this.onBeginDefineDelegate, new object[] { + word}, this.onEndDefineDelegate, this.onDefineCompletedDelegate, userState); + } + + public Excercise8.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word) { + return base.Channel.DefineInDict(dictId, word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefineInDict(dictId, word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise8.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result) { + return base.Channel.EndDefineInDict(result); + } + + private System.IAsyncResult OnBeginDefineInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + return this.BeginDefineInDict(dictId, word, callback, asyncState); + } + + private object[] OnEndDefineInDict(System.IAsyncResult result) { + Excercise8.DictionarySuggestService.WordDefinition retVal = this.EndDefineInDict(result); + return new object[] { + retVal}; + } + + private void OnDefineInDictCompleted(object state) { + if ((this.DefineInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineInDictCompleted(this, new DefineInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineInDictAsync(string dictId, string word) { + this.DefineInDictAsync(dictId, word, null); + } + + public void DefineInDictAsync(string dictId, string word, object userState) { + if ((this.onBeginDefineInDictDelegate == null)) { + this.onBeginDefineInDictDelegate = new BeginOperationDelegate(this.OnBeginDefineInDict); + } + if ((this.onEndDefineInDictDelegate == null)) { + this.onEndDefineInDictDelegate = new EndOperationDelegate(this.OnEndDefineInDict); + } + if ((this.onDefineInDictCompletedDelegate == null)) { + this.onDefineInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineInDictCompleted); + } + base.InvokeAsync(this.onBeginDefineInDictDelegate, new object[] { + dictId, + word}, this.onEndDefineInDictDelegate, this.onDefineInDictCompletedDelegate, userState); + } + + public Strategy[] StrategyList() { + return base.Channel.StrategyList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginStrategyList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Strategy[] EndStrategyList(System.IAsyncResult result) { + return base.Channel.EndStrategyList(result); + } + + private System.IAsyncResult OnBeginStrategyList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginStrategyList(callback, asyncState); + } + + private object[] OnEndStrategyList(System.IAsyncResult result) { + Strategy[] retVal = this.EndStrategyList(result); + return new object[] { + retVal}; + } + + private void OnStrategyListCompleted(object state) { + if ((this.StrategyListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.StrategyListCompleted(this, new StrategyListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void StrategyListAsync() { + this.StrategyListAsync(null); + } + + public void StrategyListAsync(object userState) { + if ((this.onBeginStrategyListDelegate == null)) { + this.onBeginStrategyListDelegate = new BeginOperationDelegate(this.OnBeginStrategyList); + } + if ((this.onEndStrategyListDelegate == null)) { + this.onEndStrategyListDelegate = new EndOperationDelegate(this.OnEndStrategyList); + } + if ((this.onStrategyListCompletedDelegate == null)) { + this.onStrategyListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStrategyListCompleted); + } + base.InvokeAsync(this.onBeginStrategyListDelegate, null, this.onEndStrategyListDelegate, this.onStrategyListCompletedDelegate, userState); + } + + public DictionaryWord[] Match(string word, string strategy) { + return base.Channel.Match(word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatch(word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatch(System.IAsyncResult result) { + return base.Channel.EndMatch(result); + } + + private System.IAsyncResult OnBeginMatch(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + string strategy = ((string)(inValues[1])); + return this.BeginMatch(word, strategy, callback, asyncState); + } + + private object[] OnEndMatch(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatch(result); + return new object[] { + retVal}; + } + + private void OnMatchCompleted(object state) { + if ((this.MatchCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchCompleted(this, new MatchCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchAsync(string word, string strategy) { + this.MatchAsync(word, strategy, null); + } + + public void MatchAsync(string word, string strategy, object userState) { + if ((this.onBeginMatchDelegate == null)) { + this.onBeginMatchDelegate = new BeginOperationDelegate(this.OnBeginMatch); + } + if ((this.onEndMatchDelegate == null)) { + this.onEndMatchDelegate = new EndOperationDelegate(this.OnEndMatch); + } + if ((this.onMatchCompletedDelegate == null)) { + this.onMatchCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchCompleted); + } + base.InvokeAsync(this.onBeginMatchDelegate, new object[] { + word, + strategy}, this.onEndMatchDelegate, this.onMatchCompletedDelegate, userState); + } + + public DictionaryWord[] MatchInDict(string dictId, string word, string strategy) { + return base.Channel.MatchInDict(dictId, word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatchInDict(System.IAsyncResult result) { + return base.Channel.EndMatchInDict(result); + } + + private System.IAsyncResult OnBeginMatchInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + string strategy = ((string)(inValues[2])); + return this.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + private object[] OnEndMatchInDict(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatchInDict(result); + return new object[] { + retVal}; + } + + private void OnMatchInDictCompleted(object state) { + if ((this.MatchInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchInDictCompleted(this, new MatchInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchInDictAsync(string dictId, string word, string strategy) { + this.MatchInDictAsync(dictId, word, strategy, null); + } + + public void MatchInDictAsync(string dictId, string word, string strategy, object userState) { + if ((this.onBeginMatchInDictDelegate == null)) { + this.onBeginMatchInDictDelegate = new BeginOperationDelegate(this.OnBeginMatchInDict); + } + if ((this.onEndMatchInDictDelegate == null)) { + this.onEndMatchInDictDelegate = new EndOperationDelegate(this.OnEndMatchInDict); + } + if ((this.onMatchInDictCompletedDelegate == null)) { + this.onMatchInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchInDictCompleted); + } + base.InvokeAsync(this.onBeginMatchInDictDelegate, new object[] { + dictId, + word, + strategy}, this.onEndMatchInDictDelegate, this.onMatchInDictCompletedDelegate, userState); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/Reference.svcmap b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/Reference.svcmap new file mode 100644 index 0000000..262793d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/Reference.svcmap @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="e75a076a-da23-4f7a-863b-068b0bcdc64a" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap"> + <ClientOptions> + <GenerateAsynchronousMethods>true</GenerateAsynchronousMethods> + <EnableDataBinding>true</EnableDataBinding> + <ExcludedTypes /> + <ImportXmlTypes>false</ImportXmlTypes> + <GenerateInternalTypes>false</GenerateInternalTypes> + <GenerateMessageContracts>false</GenerateMessageContracts> + <NamespaceMappings /> + <CollectionMappings /> + <GenerateSerializableTypes>true</GenerateSerializableTypes> + <Serializer>Auto</Serializer> + <UseSerializerForFaults>true</UseSerializerForFaults> + <ReferenceAllAssemblies>true</ReferenceAllAssemblies> + <ReferencedAssemblies /> + <ReferencedDataContractTypes /> + <ServiceContractMappings /> + </ClientOptions> + <MetadataSources> + <MetadataSource Address="http://services.aonaware.com/DictService/DictService.asmx" Protocol="http" SourceId="1" /> + </MetadataSources> + <Metadata> + <MetadataFile FileName="DictService.disco" MetadataType="Disco" ID="ec8a6728-2d46-4424-a9cb-a89dbf639570" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?disco" /> + <MetadataFile FileName="DictService.wsdl" MetadataType="Wsdl" ID="dbe33f76-54f8-4c5a-b509-af92c391b3a3" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?wsdl" /> + </Metadata> + <Extensions> + <ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" /> + <ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" /> + </Extensions> +</ReferenceGroup>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/configuration.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/configuration.svcinfo new file mode 100644 index 0000000..a856d3d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/configuration.svcinfo @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot"> + <behaviors /> + <bindings> + <binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" messageEncoding="Text" name="DictServiceSoap" textEncoding="utf-8" transferMode="Buffered"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /><security mode="None"><message algorithmSuite="Default" clientCredentialType="UserName" /><transport clientCredentialType="None" proxyCredentialType="None" realm="" /></security></Data>" bindingType="basicHttpBinding" name="DictServiceSoap" /> + <binding digest="System.ServiceModel.Configuration.CustomBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="DictServiceSoap12"><httpTransport allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" manualAddressing="false" maxBufferPoolSize="524288" maxBufferSize="65536" maxReceivedMessageSize="65536" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" /><textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap12" writeEncoding="utf-8"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /></textMessageEncoding></Data>" bindingType="customBinding" name="DictServiceSoap12" /> + </bindings> + <endpoints> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </endpoints> +</configurationSnapshot>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/configuration91.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/configuration91.svcinfo new file mode 100644 index 0000000..2599177 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/Service References/DictionarySuggestService/configuration91.svcinfo @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="Cb1mlQVfrIvXhoWXP+TpwPhxgGY="> + <bindingConfigurations> + <bindingConfiguration bindingType="basicHttpBinding" name="DictServiceSoap"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:10:00</serializedValue> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Text</serializedValue> + </property> + <property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue> + </property> + <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue> + </property> + <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + <property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue> + </property> + <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>UserName</serializedValue> + </property> + <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Default</serializedValue> + </property> + <property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + </properties> + </bindingConfiguration> + <bindingConfiguration bindingType="customBinding" name="DictServiceSoap12"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/textMessageEncoding" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TextMessageEncodingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.TextMessageEncodingElement</serializedValue> + </property> + <property path="/textMessageEncoding/maxReadPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>64</serializedValue> + </property> + <property path="/textMessageEncoding/maxWritePoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16</serializedValue> + </property> + <property path="/textMessageEncoding/messageVersion" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.MessageVersion, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Soap12</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/writeEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/httpTransport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportElement</serializedValue> + </property> + <property path="/httpTransport/manualAddressing" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/httpTransport/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/authenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/decompressionEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/httpTransport/keepAliveEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/proxyAddress" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/proxyAuthenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/httpTransport/unsafeConnectionNtlmAuthentication" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + </properties> + </bindingConfiguration> + </bindingConfigurations> + <endpoints> + <endpoint name="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" bindingType="basicHttpBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>basicHttpBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + <endpoint name="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" bindingType="customBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap12"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>customBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + </endpoints> +</SavedWcfConfigurationInformation>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step07/app.config b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/app.config new file mode 100644 index 0000000..cf1770f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step07/app.config @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <system.serviceModel> + <bindings> + <basicHttpBinding> + <binding name="DictServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" + receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" + bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" + maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" + messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" + useDefaultWebProxy="true"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + <security mode="None"> + <transport clientCredentialType="None" proxyCredentialType="None" + realm="" /> + <message clientCredentialType="UserName" algorithmSuite="Default" /> + </security> + </binding> + </basicHttpBinding> + <customBinding> + <binding name="DictServiceSoap12"> + <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" + messageVersion="Soap12" writeEncoding="utf-8"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + </textMessageEncoding> + <httpTransport manualAddressing="false" maxBufferPoolSize="524288" + maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous" + bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" + keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous" + realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" + useDefaultWebProxy="true" /> + </binding> + </customBinding> + </bindings> + <client> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="customBinding" bindingConfiguration="DictServiceSoap12" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </client> + </system.serviceModel> +</configuration>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Excercise8.csproj b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Excercise8.csproj new file mode 100644 index 0000000..ef8cabd --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Excercise8.csproj @@ -0,0 +1,105 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{158726F2-7C69-4B5B-9DCB-45CFA0281028}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise8</RootNamespace> + <AssemblyName>Excercise8</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Reactive.Windows.Forms, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.ServiceModel" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Service References\DictionarySuggestService\Reference.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Reference.svcmap</DependentUpon> + </Compile> + </ItemGroup> + <ItemGroup> + <WCFMetadata Include="Service References\" /> + </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + <None Include="Service References\DictionarySuggestService\DictService.wsdl" /> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.Dictionary.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.DictionaryWord.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.Strategy.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.WordDefinition.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + </ItemGroup> + <ItemGroup> + <WCFMetadataStorage Include="Service References\DictionarySuggestService\" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\DictService.disco" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration91.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\Reference.svcmap"> + <Generator>WCF Proxy Generator</Generator> + <LastGenOutput>Reference.cs</LastGenOutput> + </None> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Excercise8.sln b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Excercise8.sln new file mode 100644 index 0000000..e2c0652 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Excercise8.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise8", "Excercise8.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Program.cs new file mode 100644 index 0000000..a8eae33 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Program.cs @@ -0,0 +1,56 @@ +using System; +using System.Linq; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; +using Excercise8.DictionarySuggestService; + +namespace Excercise8 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + var lst = new ListBox { Top = txt.Height + 10 }; + + var frm = new Form() + { + Controls = { txt, lst } + }; + + var input = (from evt in Observable.FromEventPattern(txt, "TextChanged") + select ((TextBox)evt.Sender).Text) + .Throttle(TimeSpan.FromSeconds(1)) + .DistinctUntilChanged() + .Do(x => Console.WriteLine(x)); + + var svc = new DictServiceSoapClient("DictServiceSoap"); + var matchInDict = Observable.FromAsyncPattern<string, string, string, DictionaryWord[]> + (svc.BeginMatchInDict, svc.EndMatchInDict); + + Func<string, IObservable<DictionaryWord[]>> matchInWordNetByPrefix = + term => matchInDict("wn", term, "prefix"); + + var res = from term in input + from words in matchInWordNetByPrefix(term) + select words; + + using (res.ObserveOn(lst).Subscribe( + words => + { + lst.Items.Clear(); + lst.Items.AddRange((from word in words select word.Word).ToArray()); + }, + ex => + { + MessageBox.Show( + "An error occurred: " + ex.Message, frm.Text, MessageBoxButtons.OK, MessageBoxIcon.Error + ); + })) + { + Application.Run(frm); + } + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f320cdf --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise8")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise8")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/DictService.disco b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/DictService.disco new file mode 100644 index 0000000..d8b4769 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/DictService.disco @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> + <contractRef ref="http://services.aonaware.com/DictService/DictService.asmx?wsdl" docRef="http://services.aonaware.com/DictService/DictService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q1="http://services.aonaware.com/webservices/" binding="q1:DictServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q2="http://services.aonaware.com/webservices/" binding="q2:DictServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> +</discovery>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/DictService.wsdl b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/DictService.wsdl new file mode 100644 index 0000000..72a8189 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/DictService.wsdl @@ -0,0 +1,824 @@ +<?xml version="1.0" encoding="utf-8"?> +<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://services.aonaware.com/webservices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://services.aonaware.com/webservices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:types> + <s:schema elementFormDefault="qualified" targetNamespace="http://services.aonaware.com/webservices/"> + <s:element name="ServerInfo"> + <s:complexType /> + </s:element> + <s:element name="ServerInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="ServerInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryList"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Dictionary" nillable="true" type="tns:Dictionary" /> + </s:sequence> + </s:complexType> + <s:complexType name="Dictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DictionaryListExtended"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListExtendedResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListExtendedResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfo"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="Define"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="WordDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Definitions" type="tns:ArrayOfDefinition" /> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Definition" nillable="true" type="tns:Definition" /> + </s:sequence> + </s:complexType> + <s:complexType name="Definition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Dictionary" type="tns:Dictionary" /> + <s:element minOccurs="0" maxOccurs="1" name="WordDefinition" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DefineInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineInDictResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="StrategyList"> + <s:complexType /> + </s:element> + <s:element name="StrategyListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="StrategyListResult" type="tns:ArrayOfStrategy" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfStrategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Strategy" nillable="true" type="tns:Strategy" /> + </s:sequence> + </s:complexType> + <s:complexType name="Strategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="Match"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="DictionaryWord" nillable="true" type="tns:DictionaryWord" /> + </s:sequence> + </s:complexType> + <s:complexType name="DictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="MatchInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchInDictResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="string" nillable="true" type="s:string" /> + <s:element name="ArrayOfDictionary" nillable="true" type="tns:ArrayOfDictionary" /> + <s:element name="WordDefinition" nillable="true" type="tns:WordDefinition" /> + <s:element name="ArrayOfStrategy" nillable="true" type="tns:ArrayOfStrategy" /> + <s:element name="ArrayOfDictionaryWord" nillable="true" type="tns:ArrayOfDictionaryWord" /> + </s:schema> + </wsdl:types> + <wsdl:message name="ServerInfoSoapIn"> + <wsdl:part name="parameters" element="tns:ServerInfo" /> + </wsdl:message> + <wsdl:message name="ServerInfoSoapOut"> + <wsdl:part name="parameters" element="tns:ServerInfoResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryList" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryListExtended" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListExtendedResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryInfo" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryInfoResponse" /> + </wsdl:message> + <wsdl:message name="DefineSoapIn"> + <wsdl:part name="parameters" element="tns:Define" /> + </wsdl:message> + <wsdl:message name="DefineSoapOut"> + <wsdl:part name="parameters" element="tns:DefineResponse" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapIn"> + <wsdl:part name="parameters" element="tns:DefineInDict" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapOut"> + <wsdl:part name="parameters" element="tns:DefineInDictResponse" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapIn"> + <wsdl:part name="parameters" element="tns:StrategyList" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapOut"> + <wsdl:part name="parameters" element="tns:StrategyListResponse" /> + </wsdl:message> + <wsdl:message name="MatchSoapIn"> + <wsdl:part name="parameters" element="tns:Match" /> + </wsdl:message> + <wsdl:message name="MatchSoapOut"> + <wsdl:part name="parameters" element="tns:MatchResponse" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapIn"> + <wsdl:part name="parameters" element="tns:MatchInDict" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapOut"> + <wsdl:part name="parameters" element="tns:MatchInDictResponse" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpGetIn" /> + <wsdl:message name="ServerInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpGetIn" /> + <wsdl:message name="DictionaryListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpGetIn" /> + <wsdl:message name="DictionaryListExtendedHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpGetIn" /> + <wsdl:message name="StrategyListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpPostIn" /> + <wsdl:message name="ServerInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpPostIn" /> + <wsdl:message name="DictionaryListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpPostIn" /> + <wsdl:message name="DictionaryListExtendedHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpPostIn" /> + <wsdl:message name="StrategyListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:portType name="DictServiceSoap"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoSoapIn" /> + <wsdl:output message="tns:ServerInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListSoapIn" /> + <wsdl:output message="tns:DictionaryListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedSoapIn" /> + <wsdl:output message="tns:DictionaryListExtendedSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoSoapIn" /> + <wsdl:output message="tns:DictionaryInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineSoapIn" /> + <wsdl:output message="tns:DefineSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictSoapIn" /> + <wsdl:output message="tns:DefineInDictSoapOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListSoapIn" /> + <wsdl:output message="tns:StrategyListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchSoapIn" /> + <wsdl:output message="tns:MatchSoapOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictSoapIn" /> + <wsdl:output message="tns:MatchInDictSoapOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpGet"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpGetIn" /> + <wsdl:output message="tns:ServerInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpGetIn" /> + <wsdl:output message="tns:DictionaryListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpGetIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpGetIn" /> + <wsdl:output message="tns:DictionaryInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpGetIn" /> + <wsdl:output message="tns:DefineHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpGetIn" /> + <wsdl:output message="tns:DefineInDictHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpGetIn" /> + <wsdl:output message="tns:StrategyListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpGetIn" /> + <wsdl:output message="tns:MatchHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpGetIn" /> + <wsdl:output message="tns:MatchInDictHttpGetOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpPost"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpPostIn" /> + <wsdl:output message="tns:ServerInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpPostIn" /> + <wsdl:output message="tns:DictionaryListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpPostIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpPostIn" /> + <wsdl:output message="tns:DictionaryInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpPostIn" /> + <wsdl:output message="tns:DefineHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpPostIn" /> + <wsdl:output message="tns:DefineInDictHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpPostIn" /> + <wsdl:output message="tns:StrategyListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpPostIn" /> + <wsdl:output message="tns:MatchHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpPostIn" /> + <wsdl:output message="tns:MatchInDictHttpPostOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="DictServiceSoap" type="tns:DictServiceSoap"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" 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="DictServiceSoap12" type="tns:DictServiceSoap"> + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpGet" type="tns:DictServiceHttpGet"> + <http:binding verb="GET" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpPost" type="tns:DictServiceHttpPost"> + <http:binding verb="POST" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="DictService"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:port name="DictServiceSoap" binding="tns:DictServiceSoap"> + <soap:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceSoap12" binding="tns:DictServiceSoap12"> + <soap12:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpGet" binding="tns:DictServiceHttpGet"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpPost" binding="tns:DictServiceHttpPost"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + </wsdl:service> +</wsdl:definitions>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource new file mode 100644 index 0000000..b6db5d2 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Dictionary" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.Dictionary, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource new file mode 100644 index 0000000..9fd63a4 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="DictionaryWord" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.DictionaryWord, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource new file mode 100644 index 0000000..7cdc3ab --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Strategy" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.Strategy, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource new file mode 100644 index 0000000..327195d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="WordDefinition" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.WordDefinition, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/Reference.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/Reference.cs new file mode 100644 index 0000000..ab76343 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/Reference.cs @@ -0,0 +1,1064 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.431 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace Excercise8.DictionarySuggestService { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://services.aonaware.com/webservices/", ConfigurationName="DictionarySuggestService.DictServiceSoap")] + public interface DictServiceSoap { + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string ServerInfo(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState); + + string EndServerInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryListExtended(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryListExtended(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string DictionaryInfo(string dictId); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState); + + string EndDictionaryInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise8.DictionarySuggestService.WordDefinition Define(string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState); + + Excercise8.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise8.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState); + + Excercise8.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Strategy[] StrategyList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState); + + Strategy[] EndStrategyList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] Match(string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatch(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] MatchInDict(string dictId, string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatchInDict(System.IAsyncResult result); + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Dictionary : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string nameField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class DictionaryWord : object, System.ComponentModel.INotifyPropertyChanged { + + private string dictionaryIdField; + + private string wordField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string DictionaryId { + get { + return this.dictionaryIdField; + } + set { + this.dictionaryIdField = value; + this.RaisePropertyChanged("DictionaryId"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Strategy : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string descriptionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Definition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Dictionary dictionaryField; + + private string wordDefinitionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public Dictionary Dictionary { + get { + return this.dictionaryField; + } + set { + this.dictionaryField = value; + this.RaisePropertyChanged("Dictionary"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string WordDefinition { + get { + return this.wordDefinitionField; + } + set { + this.wordDefinitionField = value; + this.RaisePropertyChanged("WordDefinition"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class WordDefinition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Definition[] definitionsField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public Definition[] Definitions { + get { + return this.definitionsField; + } + set { + this.definitionsField = value; + this.RaisePropertyChanged("Definitions"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface DictServiceSoapChannel : Excercise8.DictionarySuggestService.DictServiceSoap, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class ServerInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public ServerInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListExtendedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListExtendedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise8.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise8.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise8.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise8.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class StrategyListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public StrategyListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Strategy[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Strategy[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictServiceSoapClient : System.ServiceModel.ClientBase<Excercise8.DictionarySuggestService.DictServiceSoap>, Excercise8.DictionarySuggestService.DictServiceSoap { + + private BeginOperationDelegate onBeginServerInfoDelegate; + + private EndOperationDelegate onEndServerInfoDelegate; + + private System.Threading.SendOrPostCallback onServerInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListDelegate; + + private EndOperationDelegate onEndDictionaryListDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListExtendedDelegate; + + private EndOperationDelegate onEndDictionaryListExtendedDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListExtendedCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryInfoDelegate; + + private EndOperationDelegate onEndDictionaryInfoDelegate; + + private System.Threading.SendOrPostCallback onDictionaryInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDefineDelegate; + + private EndOperationDelegate onEndDefineDelegate; + + private System.Threading.SendOrPostCallback onDefineCompletedDelegate; + + private BeginOperationDelegate onBeginDefineInDictDelegate; + + private EndOperationDelegate onEndDefineInDictDelegate; + + private System.Threading.SendOrPostCallback onDefineInDictCompletedDelegate; + + private BeginOperationDelegate onBeginStrategyListDelegate; + + private EndOperationDelegate onEndStrategyListDelegate; + + private System.Threading.SendOrPostCallback onStrategyListCompletedDelegate; + + private BeginOperationDelegate onBeginMatchDelegate; + + private EndOperationDelegate onEndMatchDelegate; + + private System.Threading.SendOrPostCallback onMatchCompletedDelegate; + + private BeginOperationDelegate onBeginMatchInDictDelegate; + + private EndOperationDelegate onEndMatchInDictDelegate; + + private System.Threading.SendOrPostCallback onMatchInDictCompletedDelegate; + + public DictServiceSoapClient() { + } + + public DictServiceSoapClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public DictServiceSoapClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + public event System.EventHandler<ServerInfoCompletedEventArgs> ServerInfoCompleted; + + public event System.EventHandler<DictionaryListCompletedEventArgs> DictionaryListCompleted; + + public event System.EventHandler<DictionaryListExtendedCompletedEventArgs> DictionaryListExtendedCompleted; + + public event System.EventHandler<DictionaryInfoCompletedEventArgs> DictionaryInfoCompleted; + + public event System.EventHandler<DefineCompletedEventArgs> DefineCompleted; + + public event System.EventHandler<DefineInDictCompletedEventArgs> DefineInDictCompleted; + + public event System.EventHandler<StrategyListCompletedEventArgs> StrategyListCompleted; + + public event System.EventHandler<MatchCompletedEventArgs> MatchCompleted; + + public event System.EventHandler<MatchInDictCompletedEventArgs> MatchInDictCompleted; + + public string ServerInfo() { + return base.Channel.ServerInfo(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginServerInfo(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndServerInfo(System.IAsyncResult result) { + return base.Channel.EndServerInfo(result); + } + + private System.IAsyncResult OnBeginServerInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginServerInfo(callback, asyncState); + } + + private object[] OnEndServerInfo(System.IAsyncResult result) { + string retVal = this.EndServerInfo(result); + return new object[] { + retVal}; + } + + private void OnServerInfoCompleted(object state) { + if ((this.ServerInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.ServerInfoCompleted(this, new ServerInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void ServerInfoAsync() { + this.ServerInfoAsync(null); + } + + public void ServerInfoAsync(object userState) { + if ((this.onBeginServerInfoDelegate == null)) { + this.onBeginServerInfoDelegate = new BeginOperationDelegate(this.OnBeginServerInfo); + } + if ((this.onEndServerInfoDelegate == null)) { + this.onEndServerInfoDelegate = new EndOperationDelegate(this.OnEndServerInfo); + } + if ((this.onServerInfoCompletedDelegate == null)) { + this.onServerInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnServerInfoCompleted); + } + base.InvokeAsync(this.onBeginServerInfoDelegate, null, this.onEndServerInfoDelegate, this.onServerInfoCompletedDelegate, userState); + } + + public Dictionary[] DictionaryList() { + return base.Channel.DictionaryList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryList(System.IAsyncResult result) { + return base.Channel.EndDictionaryList(result); + } + + private System.IAsyncResult OnBeginDictionaryList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryList(callback, asyncState); + } + + private object[] OnEndDictionaryList(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryList(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListCompleted(object state) { + if ((this.DictionaryListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListCompleted(this, new DictionaryListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListAsync() { + this.DictionaryListAsync(null); + } + + public void DictionaryListAsync(object userState) { + if ((this.onBeginDictionaryListDelegate == null)) { + this.onBeginDictionaryListDelegate = new BeginOperationDelegate(this.OnBeginDictionaryList); + } + if ((this.onEndDictionaryListDelegate == null)) { + this.onEndDictionaryListDelegate = new EndOperationDelegate(this.OnEndDictionaryList); + } + if ((this.onDictionaryListCompletedDelegate == null)) { + this.onDictionaryListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListDelegate, null, this.onEndDictionaryListDelegate, this.onDictionaryListCompletedDelegate, userState); + } + + public Dictionary[] DictionaryListExtended() { + return base.Channel.DictionaryListExtended(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryListExtended(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryListExtended(System.IAsyncResult result) { + return base.Channel.EndDictionaryListExtended(result); + } + + private System.IAsyncResult OnBeginDictionaryListExtended(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryListExtended(callback, asyncState); + } + + private object[] OnEndDictionaryListExtended(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryListExtended(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListExtendedCompleted(object state) { + if ((this.DictionaryListExtendedCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListExtendedCompleted(this, new DictionaryListExtendedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListExtendedAsync() { + this.DictionaryListExtendedAsync(null); + } + + public void DictionaryListExtendedAsync(object userState) { + if ((this.onBeginDictionaryListExtendedDelegate == null)) { + this.onBeginDictionaryListExtendedDelegate = new BeginOperationDelegate(this.OnBeginDictionaryListExtended); + } + if ((this.onEndDictionaryListExtendedDelegate == null)) { + this.onEndDictionaryListExtendedDelegate = new EndOperationDelegate(this.OnEndDictionaryListExtended); + } + if ((this.onDictionaryListExtendedCompletedDelegate == null)) { + this.onDictionaryListExtendedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListExtendedCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListExtendedDelegate, null, this.onEndDictionaryListExtendedDelegate, this.onDictionaryListExtendedCompletedDelegate, userState); + } + + public string DictionaryInfo(string dictId) { + return base.Channel.DictionaryInfo(dictId); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryInfo(dictId, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndDictionaryInfo(System.IAsyncResult result) { + return base.Channel.EndDictionaryInfo(result); + } + + private System.IAsyncResult OnBeginDictionaryInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + return this.BeginDictionaryInfo(dictId, callback, asyncState); + } + + private object[] OnEndDictionaryInfo(System.IAsyncResult result) { + string retVal = this.EndDictionaryInfo(result); + return new object[] { + retVal}; + } + + private void OnDictionaryInfoCompleted(object state) { + if ((this.DictionaryInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryInfoCompleted(this, new DictionaryInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryInfoAsync(string dictId) { + this.DictionaryInfoAsync(dictId, null); + } + + public void DictionaryInfoAsync(string dictId, object userState) { + if ((this.onBeginDictionaryInfoDelegate == null)) { + this.onBeginDictionaryInfoDelegate = new BeginOperationDelegate(this.OnBeginDictionaryInfo); + } + if ((this.onEndDictionaryInfoDelegate == null)) { + this.onEndDictionaryInfoDelegate = new EndOperationDelegate(this.OnEndDictionaryInfo); + } + if ((this.onDictionaryInfoCompletedDelegate == null)) { + this.onDictionaryInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryInfoCompleted); + } + base.InvokeAsync(this.onBeginDictionaryInfoDelegate, new object[] { + dictId}, this.onEndDictionaryInfoDelegate, this.onDictionaryInfoCompletedDelegate, userState); + } + + public Excercise8.DictionarySuggestService.WordDefinition Define(string word) { + return base.Channel.Define(word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefine(word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise8.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result) { + return base.Channel.EndDefine(result); + } + + private System.IAsyncResult OnBeginDefine(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + return this.BeginDefine(word, callback, asyncState); + } + + private object[] OnEndDefine(System.IAsyncResult result) { + Excercise8.DictionarySuggestService.WordDefinition retVal = this.EndDefine(result); + return new object[] { + retVal}; + } + + private void OnDefineCompleted(object state) { + if ((this.DefineCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineCompleted(this, new DefineCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineAsync(string word) { + this.DefineAsync(word, null); + } + + public void DefineAsync(string word, object userState) { + if ((this.onBeginDefineDelegate == null)) { + this.onBeginDefineDelegate = new BeginOperationDelegate(this.OnBeginDefine); + } + if ((this.onEndDefineDelegate == null)) { + this.onEndDefineDelegate = new EndOperationDelegate(this.OnEndDefine); + } + if ((this.onDefineCompletedDelegate == null)) { + this.onDefineCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineCompleted); + } + base.InvokeAsync(this.onBeginDefineDelegate, new object[] { + word}, this.onEndDefineDelegate, this.onDefineCompletedDelegate, userState); + } + + public Excercise8.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word) { + return base.Channel.DefineInDict(dictId, word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefineInDict(dictId, word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise8.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result) { + return base.Channel.EndDefineInDict(result); + } + + private System.IAsyncResult OnBeginDefineInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + return this.BeginDefineInDict(dictId, word, callback, asyncState); + } + + private object[] OnEndDefineInDict(System.IAsyncResult result) { + Excercise8.DictionarySuggestService.WordDefinition retVal = this.EndDefineInDict(result); + return new object[] { + retVal}; + } + + private void OnDefineInDictCompleted(object state) { + if ((this.DefineInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineInDictCompleted(this, new DefineInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineInDictAsync(string dictId, string word) { + this.DefineInDictAsync(dictId, word, null); + } + + public void DefineInDictAsync(string dictId, string word, object userState) { + if ((this.onBeginDefineInDictDelegate == null)) { + this.onBeginDefineInDictDelegate = new BeginOperationDelegate(this.OnBeginDefineInDict); + } + if ((this.onEndDefineInDictDelegate == null)) { + this.onEndDefineInDictDelegate = new EndOperationDelegate(this.OnEndDefineInDict); + } + if ((this.onDefineInDictCompletedDelegate == null)) { + this.onDefineInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineInDictCompleted); + } + base.InvokeAsync(this.onBeginDefineInDictDelegate, new object[] { + dictId, + word}, this.onEndDefineInDictDelegate, this.onDefineInDictCompletedDelegate, userState); + } + + public Strategy[] StrategyList() { + return base.Channel.StrategyList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginStrategyList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Strategy[] EndStrategyList(System.IAsyncResult result) { + return base.Channel.EndStrategyList(result); + } + + private System.IAsyncResult OnBeginStrategyList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginStrategyList(callback, asyncState); + } + + private object[] OnEndStrategyList(System.IAsyncResult result) { + Strategy[] retVal = this.EndStrategyList(result); + return new object[] { + retVal}; + } + + private void OnStrategyListCompleted(object state) { + if ((this.StrategyListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.StrategyListCompleted(this, new StrategyListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void StrategyListAsync() { + this.StrategyListAsync(null); + } + + public void StrategyListAsync(object userState) { + if ((this.onBeginStrategyListDelegate == null)) { + this.onBeginStrategyListDelegate = new BeginOperationDelegate(this.OnBeginStrategyList); + } + if ((this.onEndStrategyListDelegate == null)) { + this.onEndStrategyListDelegate = new EndOperationDelegate(this.OnEndStrategyList); + } + if ((this.onStrategyListCompletedDelegate == null)) { + this.onStrategyListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStrategyListCompleted); + } + base.InvokeAsync(this.onBeginStrategyListDelegate, null, this.onEndStrategyListDelegate, this.onStrategyListCompletedDelegate, userState); + } + + public DictionaryWord[] Match(string word, string strategy) { + return base.Channel.Match(word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatch(word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatch(System.IAsyncResult result) { + return base.Channel.EndMatch(result); + } + + private System.IAsyncResult OnBeginMatch(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + string strategy = ((string)(inValues[1])); + return this.BeginMatch(word, strategy, callback, asyncState); + } + + private object[] OnEndMatch(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatch(result); + return new object[] { + retVal}; + } + + private void OnMatchCompleted(object state) { + if ((this.MatchCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchCompleted(this, new MatchCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchAsync(string word, string strategy) { + this.MatchAsync(word, strategy, null); + } + + public void MatchAsync(string word, string strategy, object userState) { + if ((this.onBeginMatchDelegate == null)) { + this.onBeginMatchDelegate = new BeginOperationDelegate(this.OnBeginMatch); + } + if ((this.onEndMatchDelegate == null)) { + this.onEndMatchDelegate = new EndOperationDelegate(this.OnEndMatch); + } + if ((this.onMatchCompletedDelegate == null)) { + this.onMatchCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchCompleted); + } + base.InvokeAsync(this.onBeginMatchDelegate, new object[] { + word, + strategy}, this.onEndMatchDelegate, this.onMatchCompletedDelegate, userState); + } + + public DictionaryWord[] MatchInDict(string dictId, string word, string strategy) { + return base.Channel.MatchInDict(dictId, word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatchInDict(System.IAsyncResult result) { + return base.Channel.EndMatchInDict(result); + } + + private System.IAsyncResult OnBeginMatchInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + string strategy = ((string)(inValues[2])); + return this.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + private object[] OnEndMatchInDict(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatchInDict(result); + return new object[] { + retVal}; + } + + private void OnMatchInDictCompleted(object state) { + if ((this.MatchInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchInDictCompleted(this, new MatchInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchInDictAsync(string dictId, string word, string strategy) { + this.MatchInDictAsync(dictId, word, strategy, null); + } + + public void MatchInDictAsync(string dictId, string word, string strategy, object userState) { + if ((this.onBeginMatchInDictDelegate == null)) { + this.onBeginMatchInDictDelegate = new BeginOperationDelegate(this.OnBeginMatchInDict); + } + if ((this.onEndMatchInDictDelegate == null)) { + this.onEndMatchInDictDelegate = new EndOperationDelegate(this.OnEndMatchInDict); + } + if ((this.onMatchInDictCompletedDelegate == null)) { + this.onMatchInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchInDictCompleted); + } + base.InvokeAsync(this.onBeginMatchInDictDelegate, new object[] { + dictId, + word, + strategy}, this.onEndMatchInDictDelegate, this.onMatchInDictCompletedDelegate, userState); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/Reference.svcmap b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/Reference.svcmap new file mode 100644 index 0000000..262793d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/Reference.svcmap @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="e75a076a-da23-4f7a-863b-068b0bcdc64a" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap"> + <ClientOptions> + <GenerateAsynchronousMethods>true</GenerateAsynchronousMethods> + <EnableDataBinding>true</EnableDataBinding> + <ExcludedTypes /> + <ImportXmlTypes>false</ImportXmlTypes> + <GenerateInternalTypes>false</GenerateInternalTypes> + <GenerateMessageContracts>false</GenerateMessageContracts> + <NamespaceMappings /> + <CollectionMappings /> + <GenerateSerializableTypes>true</GenerateSerializableTypes> + <Serializer>Auto</Serializer> + <UseSerializerForFaults>true</UseSerializerForFaults> + <ReferenceAllAssemblies>true</ReferenceAllAssemblies> + <ReferencedAssemblies /> + <ReferencedDataContractTypes /> + <ServiceContractMappings /> + </ClientOptions> + <MetadataSources> + <MetadataSource Address="http://services.aonaware.com/DictService/DictService.asmx" Protocol="http" SourceId="1" /> + </MetadataSources> + <Metadata> + <MetadataFile FileName="DictService.disco" MetadataType="Disco" ID="ec8a6728-2d46-4424-a9cb-a89dbf639570" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?disco" /> + <MetadataFile FileName="DictService.wsdl" MetadataType="Wsdl" ID="dbe33f76-54f8-4c5a-b509-af92c391b3a3" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?wsdl" /> + </Metadata> + <Extensions> + <ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" /> + <ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" /> + </Extensions> +</ReferenceGroup>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/configuration.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/configuration.svcinfo new file mode 100644 index 0000000..a856d3d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/configuration.svcinfo @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot"> + <behaviors /> + <bindings> + <binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" messageEncoding="Text" name="DictServiceSoap" textEncoding="utf-8" transferMode="Buffered"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /><security mode="None"><message algorithmSuite="Default" clientCredentialType="UserName" /><transport clientCredentialType="None" proxyCredentialType="None" realm="" /></security></Data>" bindingType="basicHttpBinding" name="DictServiceSoap" /> + <binding digest="System.ServiceModel.Configuration.CustomBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="DictServiceSoap12"><httpTransport allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" manualAddressing="false" maxBufferPoolSize="524288" maxBufferSize="65536" maxReceivedMessageSize="65536" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" /><textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap12" writeEncoding="utf-8"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /></textMessageEncoding></Data>" bindingType="customBinding" name="DictServiceSoap12" /> + </bindings> + <endpoints> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </endpoints> +</configurationSnapshot>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/configuration91.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/configuration91.svcinfo new file mode 100644 index 0000000..2599177 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/Service References/DictionarySuggestService/configuration91.svcinfo @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="Cb1mlQVfrIvXhoWXP+TpwPhxgGY="> + <bindingConfigurations> + <bindingConfiguration bindingType="basicHttpBinding" name="DictServiceSoap"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:10:00</serializedValue> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Text</serializedValue> + </property> + <property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue> + </property> + <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue> + </property> + <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + <property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue> + </property> + <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>UserName</serializedValue> + </property> + <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Default</serializedValue> + </property> + <property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + </properties> + </bindingConfiguration> + <bindingConfiguration bindingType="customBinding" name="DictServiceSoap12"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/textMessageEncoding" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TextMessageEncodingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.TextMessageEncodingElement</serializedValue> + </property> + <property path="/textMessageEncoding/maxReadPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>64</serializedValue> + </property> + <property path="/textMessageEncoding/maxWritePoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16</serializedValue> + </property> + <property path="/textMessageEncoding/messageVersion" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.MessageVersion, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Soap12</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/writeEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/httpTransport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportElement</serializedValue> + </property> + <property path="/httpTransport/manualAddressing" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/httpTransport/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/authenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/decompressionEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/httpTransport/keepAliveEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/proxyAddress" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/proxyAuthenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/httpTransport/unsafeConnectionNtlmAuthentication" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + </properties> + </bindingConfiguration> + </bindingConfigurations> + <endpoints> + <endpoint name="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" bindingType="basicHttpBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>basicHttpBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + <endpoint name="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" bindingType="customBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap12"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>customBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + </endpoints> +</SavedWcfConfigurationInformation>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step08/app.config b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/app.config new file mode 100644 index 0000000..cf1770f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step08/app.config @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <system.serviceModel> + <bindings> + <basicHttpBinding> + <binding name="DictServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" + receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" + bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" + maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" + messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" + useDefaultWebProxy="true"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + <security mode="None"> + <transport clientCredentialType="None" proxyCredentialType="None" + realm="" /> + <message clientCredentialType="UserName" algorithmSuite="Default" /> + </security> + </binding> + </basicHttpBinding> + <customBinding> + <binding name="DictServiceSoap12"> + <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" + messageVersion="Soap12" writeEncoding="utf-8"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + </textMessageEncoding> + <httpTransport manualAddressing="false" maxBufferPoolSize="524288" + maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous" + bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" + keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous" + realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" + useDefaultWebProxy="true" /> + </binding> + </customBinding> + </bindings> + <client> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="customBinding" bindingConfiguration="DictServiceSoap12" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </client> + </system.serviceModel> +</configuration>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Excercise8.csproj b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Excercise8.csproj new file mode 100644 index 0000000..6bd35ba --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Excercise8.csproj @@ -0,0 +1,105 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{A385F93F-35D9-4855-AC37-030FB77FE525}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise8</RootNamespace> + <AssemblyName>Excercise8</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Reactive.Windows.Forms, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.ServiceModel" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Service References\DictionarySuggestService\Reference.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Reference.svcmap</DependentUpon> + </Compile> + </ItemGroup> + <ItemGroup> + <WCFMetadata Include="Service References\" /> + </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + <None Include="Service References\DictionarySuggestService\DictService.wsdl" /> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.Dictionary.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.DictionaryWord.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.Strategy.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.WordDefinition.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + </ItemGroup> + <ItemGroup> + <WCFMetadataStorage Include="Service References\DictionarySuggestService\" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\DictService.disco" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration91.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\Reference.svcmap"> + <Generator>WCF Proxy Generator</Generator> + <LastGenOutput>Reference.cs</LastGenOutput> + </None> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Excercise8.sln b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Excercise8.sln new file mode 100644 index 0000000..e2c0652 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Excercise8.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise8", "Excercise8.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Program.cs new file mode 100644 index 0000000..7d28388 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Program.cs @@ -0,0 +1,57 @@ +using System; +using System.Linq; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; +using Excercise8.DictionarySuggestService; + +namespace Excercise8 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + var lst = new ListBox { Top = txt.Height + 10 }; + + var frm = new Form() + { + Controls = { txt, lst } + }; + + var input = (from evt in Observable.FromEventPattern(txt, "TextChanged") + select ((TextBox)evt.Sender).Text) + .Where(term => term.Length >= 3) + //.Throttle(TimeSpan.FromSeconds(1)) + .DistinctUntilChanged() + .Do(Console.WriteLine); + + var svc = new DictServiceSoapClient("DictServiceSoap"); + var matchInDict = Observable.FromAsyncPattern<string, string, string, DictionaryWord[]> + (svc.BeginMatchInDict, svc.EndMatchInDict); + + Func<string, IObservable<DictionaryWord[]>> matchInWordNetByPrefix = + term => matchInDict("wn", term, "prefix"); + + var res = from term in input + from words in matchInWordNetByPrefix(term) + select words; + + using (res.ObserveOn(lst).Subscribe( + words => + { + lst.Items.Clear(); + lst.Items.AddRange((from word in words select word.Word).ToArray()); + }, + ex => + { + MessageBox.Show( + "An error occurred: " + ex.Message, frm.Text, MessageBoxButtons.OK, MessageBoxIcon.Error + ); + })) + { + Application.Run(frm); + } + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f320cdf --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise8")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise8")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/DictService.disco b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/DictService.disco new file mode 100644 index 0000000..d8b4769 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/DictService.disco @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> + <contractRef ref="http://services.aonaware.com/DictService/DictService.asmx?wsdl" docRef="http://services.aonaware.com/DictService/DictService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q1="http://services.aonaware.com/webservices/" binding="q1:DictServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q2="http://services.aonaware.com/webservices/" binding="q2:DictServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> +</discovery>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/DictService.wsdl b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/DictService.wsdl new file mode 100644 index 0000000..72a8189 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/DictService.wsdl @@ -0,0 +1,824 @@ +<?xml version="1.0" encoding="utf-8"?> +<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://services.aonaware.com/webservices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://services.aonaware.com/webservices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:types> + <s:schema elementFormDefault="qualified" targetNamespace="http://services.aonaware.com/webservices/"> + <s:element name="ServerInfo"> + <s:complexType /> + </s:element> + <s:element name="ServerInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="ServerInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryList"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Dictionary" nillable="true" type="tns:Dictionary" /> + </s:sequence> + </s:complexType> + <s:complexType name="Dictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DictionaryListExtended"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListExtendedResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListExtendedResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfo"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="Define"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="WordDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Definitions" type="tns:ArrayOfDefinition" /> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Definition" nillable="true" type="tns:Definition" /> + </s:sequence> + </s:complexType> + <s:complexType name="Definition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Dictionary" type="tns:Dictionary" /> + <s:element minOccurs="0" maxOccurs="1" name="WordDefinition" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DefineInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineInDictResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="StrategyList"> + <s:complexType /> + </s:element> + <s:element name="StrategyListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="StrategyListResult" type="tns:ArrayOfStrategy" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfStrategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Strategy" nillable="true" type="tns:Strategy" /> + </s:sequence> + </s:complexType> + <s:complexType name="Strategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="Match"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="DictionaryWord" nillable="true" type="tns:DictionaryWord" /> + </s:sequence> + </s:complexType> + <s:complexType name="DictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="MatchInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchInDictResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="string" nillable="true" type="s:string" /> + <s:element name="ArrayOfDictionary" nillable="true" type="tns:ArrayOfDictionary" /> + <s:element name="WordDefinition" nillable="true" type="tns:WordDefinition" /> + <s:element name="ArrayOfStrategy" nillable="true" type="tns:ArrayOfStrategy" /> + <s:element name="ArrayOfDictionaryWord" nillable="true" type="tns:ArrayOfDictionaryWord" /> + </s:schema> + </wsdl:types> + <wsdl:message name="ServerInfoSoapIn"> + <wsdl:part name="parameters" element="tns:ServerInfo" /> + </wsdl:message> + <wsdl:message name="ServerInfoSoapOut"> + <wsdl:part name="parameters" element="tns:ServerInfoResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryList" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryListExtended" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListExtendedResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryInfo" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryInfoResponse" /> + </wsdl:message> + <wsdl:message name="DefineSoapIn"> + <wsdl:part name="parameters" element="tns:Define" /> + </wsdl:message> + <wsdl:message name="DefineSoapOut"> + <wsdl:part name="parameters" element="tns:DefineResponse" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapIn"> + <wsdl:part name="parameters" element="tns:DefineInDict" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapOut"> + <wsdl:part name="parameters" element="tns:DefineInDictResponse" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapIn"> + <wsdl:part name="parameters" element="tns:StrategyList" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapOut"> + <wsdl:part name="parameters" element="tns:StrategyListResponse" /> + </wsdl:message> + <wsdl:message name="MatchSoapIn"> + <wsdl:part name="parameters" element="tns:Match" /> + </wsdl:message> + <wsdl:message name="MatchSoapOut"> + <wsdl:part name="parameters" element="tns:MatchResponse" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapIn"> + <wsdl:part name="parameters" element="tns:MatchInDict" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapOut"> + <wsdl:part name="parameters" element="tns:MatchInDictResponse" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpGetIn" /> + <wsdl:message name="ServerInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpGetIn" /> + <wsdl:message name="DictionaryListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpGetIn" /> + <wsdl:message name="DictionaryListExtendedHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpGetIn" /> + <wsdl:message name="StrategyListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpPostIn" /> + <wsdl:message name="ServerInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpPostIn" /> + <wsdl:message name="DictionaryListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpPostIn" /> + <wsdl:message name="DictionaryListExtendedHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpPostIn" /> + <wsdl:message name="StrategyListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:portType name="DictServiceSoap"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoSoapIn" /> + <wsdl:output message="tns:ServerInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListSoapIn" /> + <wsdl:output message="tns:DictionaryListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedSoapIn" /> + <wsdl:output message="tns:DictionaryListExtendedSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoSoapIn" /> + <wsdl:output message="tns:DictionaryInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineSoapIn" /> + <wsdl:output message="tns:DefineSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictSoapIn" /> + <wsdl:output message="tns:DefineInDictSoapOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListSoapIn" /> + <wsdl:output message="tns:StrategyListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchSoapIn" /> + <wsdl:output message="tns:MatchSoapOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictSoapIn" /> + <wsdl:output message="tns:MatchInDictSoapOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpGet"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpGetIn" /> + <wsdl:output message="tns:ServerInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpGetIn" /> + <wsdl:output message="tns:DictionaryListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpGetIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpGetIn" /> + <wsdl:output message="tns:DictionaryInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpGetIn" /> + <wsdl:output message="tns:DefineHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpGetIn" /> + <wsdl:output message="tns:DefineInDictHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpGetIn" /> + <wsdl:output message="tns:StrategyListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpGetIn" /> + <wsdl:output message="tns:MatchHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpGetIn" /> + <wsdl:output message="tns:MatchInDictHttpGetOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpPost"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpPostIn" /> + <wsdl:output message="tns:ServerInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpPostIn" /> + <wsdl:output message="tns:DictionaryListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpPostIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpPostIn" /> + <wsdl:output message="tns:DictionaryInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpPostIn" /> + <wsdl:output message="tns:DefineHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpPostIn" /> + <wsdl:output message="tns:DefineInDictHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpPostIn" /> + <wsdl:output message="tns:StrategyListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpPostIn" /> + <wsdl:output message="tns:MatchHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpPostIn" /> + <wsdl:output message="tns:MatchInDictHttpPostOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="DictServiceSoap" type="tns:DictServiceSoap"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" 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="DictServiceSoap12" type="tns:DictServiceSoap"> + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpGet" type="tns:DictServiceHttpGet"> + <http:binding verb="GET" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpPost" type="tns:DictServiceHttpPost"> + <http:binding verb="POST" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="DictService"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:port name="DictServiceSoap" binding="tns:DictServiceSoap"> + <soap:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceSoap12" binding="tns:DictServiceSoap12"> + <soap12:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpGet" binding="tns:DictServiceHttpGet"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpPost" binding="tns:DictServiceHttpPost"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + </wsdl:service> +</wsdl:definitions>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource new file mode 100644 index 0000000..b6db5d2 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Dictionary" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.Dictionary, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource new file mode 100644 index 0000000..9fd63a4 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="DictionaryWord" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.DictionaryWord, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource new file mode 100644 index 0000000..7cdc3ab --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Strategy" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.Strategy, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource new file mode 100644 index 0000000..327195d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="WordDefinition" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.WordDefinition, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/Reference.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/Reference.cs new file mode 100644 index 0000000..ab76343 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/Reference.cs @@ -0,0 +1,1064 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.431 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace Excercise8.DictionarySuggestService { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://services.aonaware.com/webservices/", ConfigurationName="DictionarySuggestService.DictServiceSoap")] + public interface DictServiceSoap { + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string ServerInfo(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState); + + string EndServerInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryListExtended(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryListExtended(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string DictionaryInfo(string dictId); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState); + + string EndDictionaryInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise8.DictionarySuggestService.WordDefinition Define(string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState); + + Excercise8.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise8.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState); + + Excercise8.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Strategy[] StrategyList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState); + + Strategy[] EndStrategyList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] Match(string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatch(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] MatchInDict(string dictId, string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatchInDict(System.IAsyncResult result); + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Dictionary : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string nameField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class DictionaryWord : object, System.ComponentModel.INotifyPropertyChanged { + + private string dictionaryIdField; + + private string wordField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string DictionaryId { + get { + return this.dictionaryIdField; + } + set { + this.dictionaryIdField = value; + this.RaisePropertyChanged("DictionaryId"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Strategy : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string descriptionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Definition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Dictionary dictionaryField; + + private string wordDefinitionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public Dictionary Dictionary { + get { + return this.dictionaryField; + } + set { + this.dictionaryField = value; + this.RaisePropertyChanged("Dictionary"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string WordDefinition { + get { + return this.wordDefinitionField; + } + set { + this.wordDefinitionField = value; + this.RaisePropertyChanged("WordDefinition"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class WordDefinition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Definition[] definitionsField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public Definition[] Definitions { + get { + return this.definitionsField; + } + set { + this.definitionsField = value; + this.RaisePropertyChanged("Definitions"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface DictServiceSoapChannel : Excercise8.DictionarySuggestService.DictServiceSoap, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class ServerInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public ServerInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListExtendedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListExtendedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise8.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise8.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise8.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise8.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class StrategyListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public StrategyListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Strategy[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Strategy[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictServiceSoapClient : System.ServiceModel.ClientBase<Excercise8.DictionarySuggestService.DictServiceSoap>, Excercise8.DictionarySuggestService.DictServiceSoap { + + private BeginOperationDelegate onBeginServerInfoDelegate; + + private EndOperationDelegate onEndServerInfoDelegate; + + private System.Threading.SendOrPostCallback onServerInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListDelegate; + + private EndOperationDelegate onEndDictionaryListDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListExtendedDelegate; + + private EndOperationDelegate onEndDictionaryListExtendedDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListExtendedCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryInfoDelegate; + + private EndOperationDelegate onEndDictionaryInfoDelegate; + + private System.Threading.SendOrPostCallback onDictionaryInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDefineDelegate; + + private EndOperationDelegate onEndDefineDelegate; + + private System.Threading.SendOrPostCallback onDefineCompletedDelegate; + + private BeginOperationDelegate onBeginDefineInDictDelegate; + + private EndOperationDelegate onEndDefineInDictDelegate; + + private System.Threading.SendOrPostCallback onDefineInDictCompletedDelegate; + + private BeginOperationDelegate onBeginStrategyListDelegate; + + private EndOperationDelegate onEndStrategyListDelegate; + + private System.Threading.SendOrPostCallback onStrategyListCompletedDelegate; + + private BeginOperationDelegate onBeginMatchDelegate; + + private EndOperationDelegate onEndMatchDelegate; + + private System.Threading.SendOrPostCallback onMatchCompletedDelegate; + + private BeginOperationDelegate onBeginMatchInDictDelegate; + + private EndOperationDelegate onEndMatchInDictDelegate; + + private System.Threading.SendOrPostCallback onMatchInDictCompletedDelegate; + + public DictServiceSoapClient() { + } + + public DictServiceSoapClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public DictServiceSoapClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + public event System.EventHandler<ServerInfoCompletedEventArgs> ServerInfoCompleted; + + public event System.EventHandler<DictionaryListCompletedEventArgs> DictionaryListCompleted; + + public event System.EventHandler<DictionaryListExtendedCompletedEventArgs> DictionaryListExtendedCompleted; + + public event System.EventHandler<DictionaryInfoCompletedEventArgs> DictionaryInfoCompleted; + + public event System.EventHandler<DefineCompletedEventArgs> DefineCompleted; + + public event System.EventHandler<DefineInDictCompletedEventArgs> DefineInDictCompleted; + + public event System.EventHandler<StrategyListCompletedEventArgs> StrategyListCompleted; + + public event System.EventHandler<MatchCompletedEventArgs> MatchCompleted; + + public event System.EventHandler<MatchInDictCompletedEventArgs> MatchInDictCompleted; + + public string ServerInfo() { + return base.Channel.ServerInfo(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginServerInfo(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndServerInfo(System.IAsyncResult result) { + return base.Channel.EndServerInfo(result); + } + + private System.IAsyncResult OnBeginServerInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginServerInfo(callback, asyncState); + } + + private object[] OnEndServerInfo(System.IAsyncResult result) { + string retVal = this.EndServerInfo(result); + return new object[] { + retVal}; + } + + private void OnServerInfoCompleted(object state) { + if ((this.ServerInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.ServerInfoCompleted(this, new ServerInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void ServerInfoAsync() { + this.ServerInfoAsync(null); + } + + public void ServerInfoAsync(object userState) { + if ((this.onBeginServerInfoDelegate == null)) { + this.onBeginServerInfoDelegate = new BeginOperationDelegate(this.OnBeginServerInfo); + } + if ((this.onEndServerInfoDelegate == null)) { + this.onEndServerInfoDelegate = new EndOperationDelegate(this.OnEndServerInfo); + } + if ((this.onServerInfoCompletedDelegate == null)) { + this.onServerInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnServerInfoCompleted); + } + base.InvokeAsync(this.onBeginServerInfoDelegate, null, this.onEndServerInfoDelegate, this.onServerInfoCompletedDelegate, userState); + } + + public Dictionary[] DictionaryList() { + return base.Channel.DictionaryList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryList(System.IAsyncResult result) { + return base.Channel.EndDictionaryList(result); + } + + private System.IAsyncResult OnBeginDictionaryList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryList(callback, asyncState); + } + + private object[] OnEndDictionaryList(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryList(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListCompleted(object state) { + if ((this.DictionaryListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListCompleted(this, new DictionaryListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListAsync() { + this.DictionaryListAsync(null); + } + + public void DictionaryListAsync(object userState) { + if ((this.onBeginDictionaryListDelegate == null)) { + this.onBeginDictionaryListDelegate = new BeginOperationDelegate(this.OnBeginDictionaryList); + } + if ((this.onEndDictionaryListDelegate == null)) { + this.onEndDictionaryListDelegate = new EndOperationDelegate(this.OnEndDictionaryList); + } + if ((this.onDictionaryListCompletedDelegate == null)) { + this.onDictionaryListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListDelegate, null, this.onEndDictionaryListDelegate, this.onDictionaryListCompletedDelegate, userState); + } + + public Dictionary[] DictionaryListExtended() { + return base.Channel.DictionaryListExtended(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryListExtended(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryListExtended(System.IAsyncResult result) { + return base.Channel.EndDictionaryListExtended(result); + } + + private System.IAsyncResult OnBeginDictionaryListExtended(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryListExtended(callback, asyncState); + } + + private object[] OnEndDictionaryListExtended(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryListExtended(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListExtendedCompleted(object state) { + if ((this.DictionaryListExtendedCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListExtendedCompleted(this, new DictionaryListExtendedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListExtendedAsync() { + this.DictionaryListExtendedAsync(null); + } + + public void DictionaryListExtendedAsync(object userState) { + if ((this.onBeginDictionaryListExtendedDelegate == null)) { + this.onBeginDictionaryListExtendedDelegate = new BeginOperationDelegate(this.OnBeginDictionaryListExtended); + } + if ((this.onEndDictionaryListExtendedDelegate == null)) { + this.onEndDictionaryListExtendedDelegate = new EndOperationDelegate(this.OnEndDictionaryListExtended); + } + if ((this.onDictionaryListExtendedCompletedDelegate == null)) { + this.onDictionaryListExtendedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListExtendedCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListExtendedDelegate, null, this.onEndDictionaryListExtendedDelegate, this.onDictionaryListExtendedCompletedDelegate, userState); + } + + public string DictionaryInfo(string dictId) { + return base.Channel.DictionaryInfo(dictId); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryInfo(dictId, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndDictionaryInfo(System.IAsyncResult result) { + return base.Channel.EndDictionaryInfo(result); + } + + private System.IAsyncResult OnBeginDictionaryInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + return this.BeginDictionaryInfo(dictId, callback, asyncState); + } + + private object[] OnEndDictionaryInfo(System.IAsyncResult result) { + string retVal = this.EndDictionaryInfo(result); + return new object[] { + retVal}; + } + + private void OnDictionaryInfoCompleted(object state) { + if ((this.DictionaryInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryInfoCompleted(this, new DictionaryInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryInfoAsync(string dictId) { + this.DictionaryInfoAsync(dictId, null); + } + + public void DictionaryInfoAsync(string dictId, object userState) { + if ((this.onBeginDictionaryInfoDelegate == null)) { + this.onBeginDictionaryInfoDelegate = new BeginOperationDelegate(this.OnBeginDictionaryInfo); + } + if ((this.onEndDictionaryInfoDelegate == null)) { + this.onEndDictionaryInfoDelegate = new EndOperationDelegate(this.OnEndDictionaryInfo); + } + if ((this.onDictionaryInfoCompletedDelegate == null)) { + this.onDictionaryInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryInfoCompleted); + } + base.InvokeAsync(this.onBeginDictionaryInfoDelegate, new object[] { + dictId}, this.onEndDictionaryInfoDelegate, this.onDictionaryInfoCompletedDelegate, userState); + } + + public Excercise8.DictionarySuggestService.WordDefinition Define(string word) { + return base.Channel.Define(word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefine(word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise8.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result) { + return base.Channel.EndDefine(result); + } + + private System.IAsyncResult OnBeginDefine(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + return this.BeginDefine(word, callback, asyncState); + } + + private object[] OnEndDefine(System.IAsyncResult result) { + Excercise8.DictionarySuggestService.WordDefinition retVal = this.EndDefine(result); + return new object[] { + retVal}; + } + + private void OnDefineCompleted(object state) { + if ((this.DefineCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineCompleted(this, new DefineCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineAsync(string word) { + this.DefineAsync(word, null); + } + + public void DefineAsync(string word, object userState) { + if ((this.onBeginDefineDelegate == null)) { + this.onBeginDefineDelegate = new BeginOperationDelegate(this.OnBeginDefine); + } + if ((this.onEndDefineDelegate == null)) { + this.onEndDefineDelegate = new EndOperationDelegate(this.OnEndDefine); + } + if ((this.onDefineCompletedDelegate == null)) { + this.onDefineCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineCompleted); + } + base.InvokeAsync(this.onBeginDefineDelegate, new object[] { + word}, this.onEndDefineDelegate, this.onDefineCompletedDelegate, userState); + } + + public Excercise8.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word) { + return base.Channel.DefineInDict(dictId, word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefineInDict(dictId, word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise8.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result) { + return base.Channel.EndDefineInDict(result); + } + + private System.IAsyncResult OnBeginDefineInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + return this.BeginDefineInDict(dictId, word, callback, asyncState); + } + + private object[] OnEndDefineInDict(System.IAsyncResult result) { + Excercise8.DictionarySuggestService.WordDefinition retVal = this.EndDefineInDict(result); + return new object[] { + retVal}; + } + + private void OnDefineInDictCompleted(object state) { + if ((this.DefineInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineInDictCompleted(this, new DefineInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineInDictAsync(string dictId, string word) { + this.DefineInDictAsync(dictId, word, null); + } + + public void DefineInDictAsync(string dictId, string word, object userState) { + if ((this.onBeginDefineInDictDelegate == null)) { + this.onBeginDefineInDictDelegate = new BeginOperationDelegate(this.OnBeginDefineInDict); + } + if ((this.onEndDefineInDictDelegate == null)) { + this.onEndDefineInDictDelegate = new EndOperationDelegate(this.OnEndDefineInDict); + } + if ((this.onDefineInDictCompletedDelegate == null)) { + this.onDefineInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineInDictCompleted); + } + base.InvokeAsync(this.onBeginDefineInDictDelegate, new object[] { + dictId, + word}, this.onEndDefineInDictDelegate, this.onDefineInDictCompletedDelegate, userState); + } + + public Strategy[] StrategyList() { + return base.Channel.StrategyList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginStrategyList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Strategy[] EndStrategyList(System.IAsyncResult result) { + return base.Channel.EndStrategyList(result); + } + + private System.IAsyncResult OnBeginStrategyList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginStrategyList(callback, asyncState); + } + + private object[] OnEndStrategyList(System.IAsyncResult result) { + Strategy[] retVal = this.EndStrategyList(result); + return new object[] { + retVal}; + } + + private void OnStrategyListCompleted(object state) { + if ((this.StrategyListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.StrategyListCompleted(this, new StrategyListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void StrategyListAsync() { + this.StrategyListAsync(null); + } + + public void StrategyListAsync(object userState) { + if ((this.onBeginStrategyListDelegate == null)) { + this.onBeginStrategyListDelegate = new BeginOperationDelegate(this.OnBeginStrategyList); + } + if ((this.onEndStrategyListDelegate == null)) { + this.onEndStrategyListDelegate = new EndOperationDelegate(this.OnEndStrategyList); + } + if ((this.onStrategyListCompletedDelegate == null)) { + this.onStrategyListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStrategyListCompleted); + } + base.InvokeAsync(this.onBeginStrategyListDelegate, null, this.onEndStrategyListDelegate, this.onStrategyListCompletedDelegate, userState); + } + + public DictionaryWord[] Match(string word, string strategy) { + return base.Channel.Match(word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatch(word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatch(System.IAsyncResult result) { + return base.Channel.EndMatch(result); + } + + private System.IAsyncResult OnBeginMatch(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + string strategy = ((string)(inValues[1])); + return this.BeginMatch(word, strategy, callback, asyncState); + } + + private object[] OnEndMatch(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatch(result); + return new object[] { + retVal}; + } + + private void OnMatchCompleted(object state) { + if ((this.MatchCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchCompleted(this, new MatchCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchAsync(string word, string strategy) { + this.MatchAsync(word, strategy, null); + } + + public void MatchAsync(string word, string strategy, object userState) { + if ((this.onBeginMatchDelegate == null)) { + this.onBeginMatchDelegate = new BeginOperationDelegate(this.OnBeginMatch); + } + if ((this.onEndMatchDelegate == null)) { + this.onEndMatchDelegate = new EndOperationDelegate(this.OnEndMatch); + } + if ((this.onMatchCompletedDelegate == null)) { + this.onMatchCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchCompleted); + } + base.InvokeAsync(this.onBeginMatchDelegate, new object[] { + word, + strategy}, this.onEndMatchDelegate, this.onMatchCompletedDelegate, userState); + } + + public DictionaryWord[] MatchInDict(string dictId, string word, string strategy) { + return base.Channel.MatchInDict(dictId, word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatchInDict(System.IAsyncResult result) { + return base.Channel.EndMatchInDict(result); + } + + private System.IAsyncResult OnBeginMatchInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + string strategy = ((string)(inValues[2])); + return this.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + private object[] OnEndMatchInDict(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatchInDict(result); + return new object[] { + retVal}; + } + + private void OnMatchInDictCompleted(object state) { + if ((this.MatchInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchInDictCompleted(this, new MatchInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchInDictAsync(string dictId, string word, string strategy) { + this.MatchInDictAsync(dictId, word, strategy, null); + } + + public void MatchInDictAsync(string dictId, string word, string strategy, object userState) { + if ((this.onBeginMatchInDictDelegate == null)) { + this.onBeginMatchInDictDelegate = new BeginOperationDelegate(this.OnBeginMatchInDict); + } + if ((this.onEndMatchInDictDelegate == null)) { + this.onEndMatchInDictDelegate = new EndOperationDelegate(this.OnEndMatchInDict); + } + if ((this.onMatchInDictCompletedDelegate == null)) { + this.onMatchInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchInDictCompleted); + } + base.InvokeAsync(this.onBeginMatchInDictDelegate, new object[] { + dictId, + word, + strategy}, this.onEndMatchInDictDelegate, this.onMatchInDictCompletedDelegate, userState); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/Reference.svcmap b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/Reference.svcmap new file mode 100644 index 0000000..262793d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/Reference.svcmap @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="e75a076a-da23-4f7a-863b-068b0bcdc64a" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap"> + <ClientOptions> + <GenerateAsynchronousMethods>true</GenerateAsynchronousMethods> + <EnableDataBinding>true</EnableDataBinding> + <ExcludedTypes /> + <ImportXmlTypes>false</ImportXmlTypes> + <GenerateInternalTypes>false</GenerateInternalTypes> + <GenerateMessageContracts>false</GenerateMessageContracts> + <NamespaceMappings /> + <CollectionMappings /> + <GenerateSerializableTypes>true</GenerateSerializableTypes> + <Serializer>Auto</Serializer> + <UseSerializerForFaults>true</UseSerializerForFaults> + <ReferenceAllAssemblies>true</ReferenceAllAssemblies> + <ReferencedAssemblies /> + <ReferencedDataContractTypes /> + <ServiceContractMappings /> + </ClientOptions> + <MetadataSources> + <MetadataSource Address="http://services.aonaware.com/DictService/DictService.asmx" Protocol="http" SourceId="1" /> + </MetadataSources> + <Metadata> + <MetadataFile FileName="DictService.disco" MetadataType="Disco" ID="ec8a6728-2d46-4424-a9cb-a89dbf639570" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?disco" /> + <MetadataFile FileName="DictService.wsdl" MetadataType="Wsdl" ID="dbe33f76-54f8-4c5a-b509-af92c391b3a3" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?wsdl" /> + </Metadata> + <Extensions> + <ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" /> + <ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" /> + </Extensions> +</ReferenceGroup>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/configuration.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/configuration.svcinfo new file mode 100644 index 0000000..a856d3d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/configuration.svcinfo @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot"> + <behaviors /> + <bindings> + <binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" messageEncoding="Text" name="DictServiceSoap" textEncoding="utf-8" transferMode="Buffered"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /><security mode="None"><message algorithmSuite="Default" clientCredentialType="UserName" /><transport clientCredentialType="None" proxyCredentialType="None" realm="" /></security></Data>" bindingType="basicHttpBinding" name="DictServiceSoap" /> + <binding digest="System.ServiceModel.Configuration.CustomBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="DictServiceSoap12"><httpTransport allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" manualAddressing="false" maxBufferPoolSize="524288" maxBufferSize="65536" maxReceivedMessageSize="65536" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" /><textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap12" writeEncoding="utf-8"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /></textMessageEncoding></Data>" bindingType="customBinding" name="DictServiceSoap12" /> + </bindings> + <endpoints> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </endpoints> +</configurationSnapshot>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/configuration91.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/configuration91.svcinfo new file mode 100644 index 0000000..2599177 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/Service References/DictionarySuggestService/configuration91.svcinfo @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="Cb1mlQVfrIvXhoWXP+TpwPhxgGY="> + <bindingConfigurations> + <bindingConfiguration bindingType="basicHttpBinding" name="DictServiceSoap"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:10:00</serializedValue> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Text</serializedValue> + </property> + <property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue> + </property> + <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue> + </property> + <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + <property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue> + </property> + <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>UserName</serializedValue> + </property> + <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Default</serializedValue> + </property> + <property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + </properties> + </bindingConfiguration> + <bindingConfiguration bindingType="customBinding" name="DictServiceSoap12"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/textMessageEncoding" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TextMessageEncodingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.TextMessageEncodingElement</serializedValue> + </property> + <property path="/textMessageEncoding/maxReadPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>64</serializedValue> + </property> + <property path="/textMessageEncoding/maxWritePoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16</serializedValue> + </property> + <property path="/textMessageEncoding/messageVersion" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.MessageVersion, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Soap12</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/writeEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/httpTransport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportElement</serializedValue> + </property> + <property path="/httpTransport/manualAddressing" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/httpTransport/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/authenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/decompressionEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/httpTransport/keepAliveEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/proxyAddress" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/proxyAuthenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/httpTransport/unsafeConnectionNtlmAuthentication" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + </properties> + </bindingConfiguration> + </bindingConfigurations> + <endpoints> + <endpoint name="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" bindingType="basicHttpBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>basicHttpBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + <endpoint name="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" bindingType="customBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap12"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>customBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + </endpoints> +</SavedWcfConfigurationInformation>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step09/app.config b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/app.config new file mode 100644 index 0000000..cf1770f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step09/app.config @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <system.serviceModel> + <bindings> + <basicHttpBinding> + <binding name="DictServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" + receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" + bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" + maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" + messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" + useDefaultWebProxy="true"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + <security mode="None"> + <transport clientCredentialType="None" proxyCredentialType="None" + realm="" /> + <message clientCredentialType="UserName" algorithmSuite="Default" /> + </security> + </binding> + </basicHttpBinding> + <customBinding> + <binding name="DictServiceSoap12"> + <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" + messageVersion="Soap12" writeEncoding="utf-8"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + </textMessageEncoding> + <httpTransport manualAddressing="false" maxBufferPoolSize="524288" + maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous" + bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" + keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous" + realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" + useDefaultWebProxy="true" /> + </binding> + </customBinding> + </bindings> + <client> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="customBinding" bindingConfiguration="DictServiceSoap12" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </client> + </system.serviceModel> +</configuration>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Excercise8.csproj b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Excercise8.csproj new file mode 100644 index 0000000..a277dff --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Excercise8.csproj @@ -0,0 +1,105 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{F7F85211-07C5-4E83-9EF0-ACB174F9FE8D}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise8</RootNamespace> + <AssemblyName>Excercise8</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Reactive.Windows.Forms, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.ServiceModel" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Service References\DictionarySuggestService\Reference.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Reference.svcmap</DependentUpon> + </Compile> + </ItemGroup> + <ItemGroup> + <WCFMetadata Include="Service References\" /> + </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + <None Include="Service References\DictionarySuggestService\DictService.wsdl" /> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.Dictionary.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.DictionaryWord.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.Strategy.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.WordDefinition.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + </ItemGroup> + <ItemGroup> + <WCFMetadataStorage Include="Service References\DictionarySuggestService\" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\DictService.disco" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration91.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\Reference.svcmap"> + <Generator>WCF Proxy Generator</Generator> + <LastGenOutput>Reference.cs</LastGenOutput> + </None> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Excercise8.sln b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Excercise8.sln new file mode 100644 index 0000000..e2c0652 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Excercise8.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise8", "Excercise8.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Program.cs new file mode 100644 index 0000000..fb7f59d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Program.cs @@ -0,0 +1,63 @@ +using System; +using System.Linq; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; +using Excercise8.DictionarySuggestService; + +namespace Excercise8 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + var lst = new ListBox { Top = txt.Height + 10 }; + + var frm = new Form() + { + Controls = { txt, lst } + }; + + // Turn the user input into a tamed sequence of strings. + var textChanged = from evt in Observable.FromEventPattern(txt, "TextChanged") + select ((TextBox)evt.Sender).Text; + + var input = textChanged + .Throttle(TimeSpan.FromSeconds(1)) + .DistinctUntilChanged(); + + // Bridge with the web service's MatchInDict method. + var svc = new DictServiceSoapClient("DictServiceSoap"); + var matchInDict = Observable.FromAsyncPattern<string, string, string, DictionaryWord[]> + (svc.BeginMatchInDict, svc.EndMatchInDict); + + Func<string, IObservable<DictionaryWord[]>> matchInWordNetByPrefix = + term => matchInDict("wn", term, "prefix"); + + // The grand composition connecting the user input with the web service. + var res = from term in input + from word in matchInWordNetByPrefix(term) + // .Finally(() => Console.WriteLine("Disposed request for " + term)) + .TakeUntil(input) + select word; + + // Synchronize with the UI thread and populate the ListBox or signal an error. + using (res.ObserveOn(lst).Subscribe( + words => + { + lst.Items.Clear(); + lst.Items.AddRange((from word in words select word.Word).ToArray()); + }, + ex => + { + MessageBox.Show( + "An error occurred: " + ex.Message, frm.Text, MessageBoxButtons.OK, MessageBoxIcon.Error + ); + })) + { + Application.Run(frm); + } // Proper disposal happens upon exiting the application. + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f320cdf --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise8")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise8")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/DictService.disco b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/DictService.disco new file mode 100644 index 0000000..d8b4769 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/DictService.disco @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> + <contractRef ref="http://services.aonaware.com/DictService/DictService.asmx?wsdl" docRef="http://services.aonaware.com/DictService/DictService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q1="http://services.aonaware.com/webservices/" binding="q1:DictServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q2="http://services.aonaware.com/webservices/" binding="q2:DictServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> +</discovery>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/DictService.wsdl b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/DictService.wsdl new file mode 100644 index 0000000..72a8189 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/DictService.wsdl @@ -0,0 +1,824 @@ +<?xml version="1.0" encoding="utf-8"?> +<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://services.aonaware.com/webservices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://services.aonaware.com/webservices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:types> + <s:schema elementFormDefault="qualified" targetNamespace="http://services.aonaware.com/webservices/"> + <s:element name="ServerInfo"> + <s:complexType /> + </s:element> + <s:element name="ServerInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="ServerInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryList"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Dictionary" nillable="true" type="tns:Dictionary" /> + </s:sequence> + </s:complexType> + <s:complexType name="Dictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DictionaryListExtended"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListExtendedResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListExtendedResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfo"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="Define"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="WordDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Definitions" type="tns:ArrayOfDefinition" /> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Definition" nillable="true" type="tns:Definition" /> + </s:sequence> + </s:complexType> + <s:complexType name="Definition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Dictionary" type="tns:Dictionary" /> + <s:element minOccurs="0" maxOccurs="1" name="WordDefinition" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DefineInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineInDictResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="StrategyList"> + <s:complexType /> + </s:element> + <s:element name="StrategyListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="StrategyListResult" type="tns:ArrayOfStrategy" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfStrategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Strategy" nillable="true" type="tns:Strategy" /> + </s:sequence> + </s:complexType> + <s:complexType name="Strategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="Match"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="DictionaryWord" nillable="true" type="tns:DictionaryWord" /> + </s:sequence> + </s:complexType> + <s:complexType name="DictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="MatchInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchInDictResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="string" nillable="true" type="s:string" /> + <s:element name="ArrayOfDictionary" nillable="true" type="tns:ArrayOfDictionary" /> + <s:element name="WordDefinition" nillable="true" type="tns:WordDefinition" /> + <s:element name="ArrayOfStrategy" nillable="true" type="tns:ArrayOfStrategy" /> + <s:element name="ArrayOfDictionaryWord" nillable="true" type="tns:ArrayOfDictionaryWord" /> + </s:schema> + </wsdl:types> + <wsdl:message name="ServerInfoSoapIn"> + <wsdl:part name="parameters" element="tns:ServerInfo" /> + </wsdl:message> + <wsdl:message name="ServerInfoSoapOut"> + <wsdl:part name="parameters" element="tns:ServerInfoResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryList" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryListExtended" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListExtendedResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryInfo" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryInfoResponse" /> + </wsdl:message> + <wsdl:message name="DefineSoapIn"> + <wsdl:part name="parameters" element="tns:Define" /> + </wsdl:message> + <wsdl:message name="DefineSoapOut"> + <wsdl:part name="parameters" element="tns:DefineResponse" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapIn"> + <wsdl:part name="parameters" element="tns:DefineInDict" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapOut"> + <wsdl:part name="parameters" element="tns:DefineInDictResponse" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapIn"> + <wsdl:part name="parameters" element="tns:StrategyList" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapOut"> + <wsdl:part name="parameters" element="tns:StrategyListResponse" /> + </wsdl:message> + <wsdl:message name="MatchSoapIn"> + <wsdl:part name="parameters" element="tns:Match" /> + </wsdl:message> + <wsdl:message name="MatchSoapOut"> + <wsdl:part name="parameters" element="tns:MatchResponse" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapIn"> + <wsdl:part name="parameters" element="tns:MatchInDict" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapOut"> + <wsdl:part name="parameters" element="tns:MatchInDictResponse" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpGetIn" /> + <wsdl:message name="ServerInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpGetIn" /> + <wsdl:message name="DictionaryListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpGetIn" /> + <wsdl:message name="DictionaryListExtendedHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpGetIn" /> + <wsdl:message name="StrategyListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpPostIn" /> + <wsdl:message name="ServerInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpPostIn" /> + <wsdl:message name="DictionaryListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpPostIn" /> + <wsdl:message name="DictionaryListExtendedHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpPostIn" /> + <wsdl:message name="StrategyListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:portType name="DictServiceSoap"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoSoapIn" /> + <wsdl:output message="tns:ServerInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListSoapIn" /> + <wsdl:output message="tns:DictionaryListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedSoapIn" /> + <wsdl:output message="tns:DictionaryListExtendedSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoSoapIn" /> + <wsdl:output message="tns:DictionaryInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineSoapIn" /> + <wsdl:output message="tns:DefineSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictSoapIn" /> + <wsdl:output message="tns:DefineInDictSoapOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListSoapIn" /> + <wsdl:output message="tns:StrategyListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchSoapIn" /> + <wsdl:output message="tns:MatchSoapOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictSoapIn" /> + <wsdl:output message="tns:MatchInDictSoapOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpGet"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpGetIn" /> + <wsdl:output message="tns:ServerInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpGetIn" /> + <wsdl:output message="tns:DictionaryListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpGetIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpGetIn" /> + <wsdl:output message="tns:DictionaryInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpGetIn" /> + <wsdl:output message="tns:DefineHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpGetIn" /> + <wsdl:output message="tns:DefineInDictHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpGetIn" /> + <wsdl:output message="tns:StrategyListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpGetIn" /> + <wsdl:output message="tns:MatchHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpGetIn" /> + <wsdl:output message="tns:MatchInDictHttpGetOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpPost"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpPostIn" /> + <wsdl:output message="tns:ServerInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpPostIn" /> + <wsdl:output message="tns:DictionaryListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpPostIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpPostIn" /> + <wsdl:output message="tns:DictionaryInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpPostIn" /> + <wsdl:output message="tns:DefineHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpPostIn" /> + <wsdl:output message="tns:DefineInDictHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpPostIn" /> + <wsdl:output message="tns:StrategyListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpPostIn" /> + <wsdl:output message="tns:MatchHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpPostIn" /> + <wsdl:output message="tns:MatchInDictHttpPostOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="DictServiceSoap" type="tns:DictServiceSoap"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" 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="DictServiceSoap12" type="tns:DictServiceSoap"> + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpGet" type="tns:DictServiceHttpGet"> + <http:binding verb="GET" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpPost" type="tns:DictServiceHttpPost"> + <http:binding verb="POST" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="DictService"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:port name="DictServiceSoap" binding="tns:DictServiceSoap"> + <soap:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceSoap12" binding="tns:DictServiceSoap12"> + <soap12:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpGet" binding="tns:DictServiceHttpGet"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpPost" binding="tns:DictServiceHttpPost"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + </wsdl:service> +</wsdl:definitions>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource new file mode 100644 index 0000000..b6db5d2 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Dictionary" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.Dictionary, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource new file mode 100644 index 0000000..9fd63a4 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="DictionaryWord" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.DictionaryWord, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource new file mode 100644 index 0000000..7cdc3ab --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Strategy" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.Strategy, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource new file mode 100644 index 0000000..327195d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="WordDefinition" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.WordDefinition, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/Reference.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/Reference.cs new file mode 100644 index 0000000..ab76343 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/Reference.cs @@ -0,0 +1,1064 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.431 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace Excercise8.DictionarySuggestService { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://services.aonaware.com/webservices/", ConfigurationName="DictionarySuggestService.DictServiceSoap")] + public interface DictServiceSoap { + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string ServerInfo(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState); + + string EndServerInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryListExtended(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryListExtended(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string DictionaryInfo(string dictId); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState); + + string EndDictionaryInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise8.DictionarySuggestService.WordDefinition Define(string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState); + + Excercise8.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise8.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState); + + Excercise8.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Strategy[] StrategyList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState); + + Strategy[] EndStrategyList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] Match(string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatch(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] MatchInDict(string dictId, string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatchInDict(System.IAsyncResult result); + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Dictionary : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string nameField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class DictionaryWord : object, System.ComponentModel.INotifyPropertyChanged { + + private string dictionaryIdField; + + private string wordField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string DictionaryId { + get { + return this.dictionaryIdField; + } + set { + this.dictionaryIdField = value; + this.RaisePropertyChanged("DictionaryId"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Strategy : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string descriptionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Definition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Dictionary dictionaryField; + + private string wordDefinitionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public Dictionary Dictionary { + get { + return this.dictionaryField; + } + set { + this.dictionaryField = value; + this.RaisePropertyChanged("Dictionary"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string WordDefinition { + get { + return this.wordDefinitionField; + } + set { + this.wordDefinitionField = value; + this.RaisePropertyChanged("WordDefinition"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class WordDefinition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Definition[] definitionsField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public Definition[] Definitions { + get { + return this.definitionsField; + } + set { + this.definitionsField = value; + this.RaisePropertyChanged("Definitions"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface DictServiceSoapChannel : Excercise8.DictionarySuggestService.DictServiceSoap, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class ServerInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public ServerInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListExtendedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListExtendedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise8.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise8.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise8.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise8.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class StrategyListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public StrategyListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Strategy[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Strategy[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictServiceSoapClient : System.ServiceModel.ClientBase<Excercise8.DictionarySuggestService.DictServiceSoap>, Excercise8.DictionarySuggestService.DictServiceSoap { + + private BeginOperationDelegate onBeginServerInfoDelegate; + + private EndOperationDelegate onEndServerInfoDelegate; + + private System.Threading.SendOrPostCallback onServerInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListDelegate; + + private EndOperationDelegate onEndDictionaryListDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListExtendedDelegate; + + private EndOperationDelegate onEndDictionaryListExtendedDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListExtendedCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryInfoDelegate; + + private EndOperationDelegate onEndDictionaryInfoDelegate; + + private System.Threading.SendOrPostCallback onDictionaryInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDefineDelegate; + + private EndOperationDelegate onEndDefineDelegate; + + private System.Threading.SendOrPostCallback onDefineCompletedDelegate; + + private BeginOperationDelegate onBeginDefineInDictDelegate; + + private EndOperationDelegate onEndDefineInDictDelegate; + + private System.Threading.SendOrPostCallback onDefineInDictCompletedDelegate; + + private BeginOperationDelegate onBeginStrategyListDelegate; + + private EndOperationDelegate onEndStrategyListDelegate; + + private System.Threading.SendOrPostCallback onStrategyListCompletedDelegate; + + private BeginOperationDelegate onBeginMatchDelegate; + + private EndOperationDelegate onEndMatchDelegate; + + private System.Threading.SendOrPostCallback onMatchCompletedDelegate; + + private BeginOperationDelegate onBeginMatchInDictDelegate; + + private EndOperationDelegate onEndMatchInDictDelegate; + + private System.Threading.SendOrPostCallback onMatchInDictCompletedDelegate; + + public DictServiceSoapClient() { + } + + public DictServiceSoapClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public DictServiceSoapClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + public event System.EventHandler<ServerInfoCompletedEventArgs> ServerInfoCompleted; + + public event System.EventHandler<DictionaryListCompletedEventArgs> DictionaryListCompleted; + + public event System.EventHandler<DictionaryListExtendedCompletedEventArgs> DictionaryListExtendedCompleted; + + public event System.EventHandler<DictionaryInfoCompletedEventArgs> DictionaryInfoCompleted; + + public event System.EventHandler<DefineCompletedEventArgs> DefineCompleted; + + public event System.EventHandler<DefineInDictCompletedEventArgs> DefineInDictCompleted; + + public event System.EventHandler<StrategyListCompletedEventArgs> StrategyListCompleted; + + public event System.EventHandler<MatchCompletedEventArgs> MatchCompleted; + + public event System.EventHandler<MatchInDictCompletedEventArgs> MatchInDictCompleted; + + public string ServerInfo() { + return base.Channel.ServerInfo(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginServerInfo(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndServerInfo(System.IAsyncResult result) { + return base.Channel.EndServerInfo(result); + } + + private System.IAsyncResult OnBeginServerInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginServerInfo(callback, asyncState); + } + + private object[] OnEndServerInfo(System.IAsyncResult result) { + string retVal = this.EndServerInfo(result); + return new object[] { + retVal}; + } + + private void OnServerInfoCompleted(object state) { + if ((this.ServerInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.ServerInfoCompleted(this, new ServerInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void ServerInfoAsync() { + this.ServerInfoAsync(null); + } + + public void ServerInfoAsync(object userState) { + if ((this.onBeginServerInfoDelegate == null)) { + this.onBeginServerInfoDelegate = new BeginOperationDelegate(this.OnBeginServerInfo); + } + if ((this.onEndServerInfoDelegate == null)) { + this.onEndServerInfoDelegate = new EndOperationDelegate(this.OnEndServerInfo); + } + if ((this.onServerInfoCompletedDelegate == null)) { + this.onServerInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnServerInfoCompleted); + } + base.InvokeAsync(this.onBeginServerInfoDelegate, null, this.onEndServerInfoDelegate, this.onServerInfoCompletedDelegate, userState); + } + + public Dictionary[] DictionaryList() { + return base.Channel.DictionaryList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryList(System.IAsyncResult result) { + return base.Channel.EndDictionaryList(result); + } + + private System.IAsyncResult OnBeginDictionaryList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryList(callback, asyncState); + } + + private object[] OnEndDictionaryList(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryList(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListCompleted(object state) { + if ((this.DictionaryListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListCompleted(this, new DictionaryListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListAsync() { + this.DictionaryListAsync(null); + } + + public void DictionaryListAsync(object userState) { + if ((this.onBeginDictionaryListDelegate == null)) { + this.onBeginDictionaryListDelegate = new BeginOperationDelegate(this.OnBeginDictionaryList); + } + if ((this.onEndDictionaryListDelegate == null)) { + this.onEndDictionaryListDelegate = new EndOperationDelegate(this.OnEndDictionaryList); + } + if ((this.onDictionaryListCompletedDelegate == null)) { + this.onDictionaryListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListDelegate, null, this.onEndDictionaryListDelegate, this.onDictionaryListCompletedDelegate, userState); + } + + public Dictionary[] DictionaryListExtended() { + return base.Channel.DictionaryListExtended(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryListExtended(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryListExtended(System.IAsyncResult result) { + return base.Channel.EndDictionaryListExtended(result); + } + + private System.IAsyncResult OnBeginDictionaryListExtended(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryListExtended(callback, asyncState); + } + + private object[] OnEndDictionaryListExtended(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryListExtended(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListExtendedCompleted(object state) { + if ((this.DictionaryListExtendedCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListExtendedCompleted(this, new DictionaryListExtendedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListExtendedAsync() { + this.DictionaryListExtendedAsync(null); + } + + public void DictionaryListExtendedAsync(object userState) { + if ((this.onBeginDictionaryListExtendedDelegate == null)) { + this.onBeginDictionaryListExtendedDelegate = new BeginOperationDelegate(this.OnBeginDictionaryListExtended); + } + if ((this.onEndDictionaryListExtendedDelegate == null)) { + this.onEndDictionaryListExtendedDelegate = new EndOperationDelegate(this.OnEndDictionaryListExtended); + } + if ((this.onDictionaryListExtendedCompletedDelegate == null)) { + this.onDictionaryListExtendedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListExtendedCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListExtendedDelegate, null, this.onEndDictionaryListExtendedDelegate, this.onDictionaryListExtendedCompletedDelegate, userState); + } + + public string DictionaryInfo(string dictId) { + return base.Channel.DictionaryInfo(dictId); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryInfo(dictId, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndDictionaryInfo(System.IAsyncResult result) { + return base.Channel.EndDictionaryInfo(result); + } + + private System.IAsyncResult OnBeginDictionaryInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + return this.BeginDictionaryInfo(dictId, callback, asyncState); + } + + private object[] OnEndDictionaryInfo(System.IAsyncResult result) { + string retVal = this.EndDictionaryInfo(result); + return new object[] { + retVal}; + } + + private void OnDictionaryInfoCompleted(object state) { + if ((this.DictionaryInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryInfoCompleted(this, new DictionaryInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryInfoAsync(string dictId) { + this.DictionaryInfoAsync(dictId, null); + } + + public void DictionaryInfoAsync(string dictId, object userState) { + if ((this.onBeginDictionaryInfoDelegate == null)) { + this.onBeginDictionaryInfoDelegate = new BeginOperationDelegate(this.OnBeginDictionaryInfo); + } + if ((this.onEndDictionaryInfoDelegate == null)) { + this.onEndDictionaryInfoDelegate = new EndOperationDelegate(this.OnEndDictionaryInfo); + } + if ((this.onDictionaryInfoCompletedDelegate == null)) { + this.onDictionaryInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryInfoCompleted); + } + base.InvokeAsync(this.onBeginDictionaryInfoDelegate, new object[] { + dictId}, this.onEndDictionaryInfoDelegate, this.onDictionaryInfoCompletedDelegate, userState); + } + + public Excercise8.DictionarySuggestService.WordDefinition Define(string word) { + return base.Channel.Define(word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefine(word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise8.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result) { + return base.Channel.EndDefine(result); + } + + private System.IAsyncResult OnBeginDefine(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + return this.BeginDefine(word, callback, asyncState); + } + + private object[] OnEndDefine(System.IAsyncResult result) { + Excercise8.DictionarySuggestService.WordDefinition retVal = this.EndDefine(result); + return new object[] { + retVal}; + } + + private void OnDefineCompleted(object state) { + if ((this.DefineCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineCompleted(this, new DefineCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineAsync(string word) { + this.DefineAsync(word, null); + } + + public void DefineAsync(string word, object userState) { + if ((this.onBeginDefineDelegate == null)) { + this.onBeginDefineDelegate = new BeginOperationDelegate(this.OnBeginDefine); + } + if ((this.onEndDefineDelegate == null)) { + this.onEndDefineDelegate = new EndOperationDelegate(this.OnEndDefine); + } + if ((this.onDefineCompletedDelegate == null)) { + this.onDefineCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineCompleted); + } + base.InvokeAsync(this.onBeginDefineDelegate, new object[] { + word}, this.onEndDefineDelegate, this.onDefineCompletedDelegate, userState); + } + + public Excercise8.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word) { + return base.Channel.DefineInDict(dictId, word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefineInDict(dictId, word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise8.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result) { + return base.Channel.EndDefineInDict(result); + } + + private System.IAsyncResult OnBeginDefineInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + return this.BeginDefineInDict(dictId, word, callback, asyncState); + } + + private object[] OnEndDefineInDict(System.IAsyncResult result) { + Excercise8.DictionarySuggestService.WordDefinition retVal = this.EndDefineInDict(result); + return new object[] { + retVal}; + } + + private void OnDefineInDictCompleted(object state) { + if ((this.DefineInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineInDictCompleted(this, new DefineInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineInDictAsync(string dictId, string word) { + this.DefineInDictAsync(dictId, word, null); + } + + public void DefineInDictAsync(string dictId, string word, object userState) { + if ((this.onBeginDefineInDictDelegate == null)) { + this.onBeginDefineInDictDelegate = new BeginOperationDelegate(this.OnBeginDefineInDict); + } + if ((this.onEndDefineInDictDelegate == null)) { + this.onEndDefineInDictDelegate = new EndOperationDelegate(this.OnEndDefineInDict); + } + if ((this.onDefineInDictCompletedDelegate == null)) { + this.onDefineInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineInDictCompleted); + } + base.InvokeAsync(this.onBeginDefineInDictDelegate, new object[] { + dictId, + word}, this.onEndDefineInDictDelegate, this.onDefineInDictCompletedDelegate, userState); + } + + public Strategy[] StrategyList() { + return base.Channel.StrategyList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginStrategyList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Strategy[] EndStrategyList(System.IAsyncResult result) { + return base.Channel.EndStrategyList(result); + } + + private System.IAsyncResult OnBeginStrategyList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginStrategyList(callback, asyncState); + } + + private object[] OnEndStrategyList(System.IAsyncResult result) { + Strategy[] retVal = this.EndStrategyList(result); + return new object[] { + retVal}; + } + + private void OnStrategyListCompleted(object state) { + if ((this.StrategyListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.StrategyListCompleted(this, new StrategyListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void StrategyListAsync() { + this.StrategyListAsync(null); + } + + public void StrategyListAsync(object userState) { + if ((this.onBeginStrategyListDelegate == null)) { + this.onBeginStrategyListDelegate = new BeginOperationDelegate(this.OnBeginStrategyList); + } + if ((this.onEndStrategyListDelegate == null)) { + this.onEndStrategyListDelegate = new EndOperationDelegate(this.OnEndStrategyList); + } + if ((this.onStrategyListCompletedDelegate == null)) { + this.onStrategyListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStrategyListCompleted); + } + base.InvokeAsync(this.onBeginStrategyListDelegate, null, this.onEndStrategyListDelegate, this.onStrategyListCompletedDelegate, userState); + } + + public DictionaryWord[] Match(string word, string strategy) { + return base.Channel.Match(word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatch(word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatch(System.IAsyncResult result) { + return base.Channel.EndMatch(result); + } + + private System.IAsyncResult OnBeginMatch(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + string strategy = ((string)(inValues[1])); + return this.BeginMatch(word, strategy, callback, asyncState); + } + + private object[] OnEndMatch(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatch(result); + return new object[] { + retVal}; + } + + private void OnMatchCompleted(object state) { + if ((this.MatchCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchCompleted(this, new MatchCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchAsync(string word, string strategy) { + this.MatchAsync(word, strategy, null); + } + + public void MatchAsync(string word, string strategy, object userState) { + if ((this.onBeginMatchDelegate == null)) { + this.onBeginMatchDelegate = new BeginOperationDelegate(this.OnBeginMatch); + } + if ((this.onEndMatchDelegate == null)) { + this.onEndMatchDelegate = new EndOperationDelegate(this.OnEndMatch); + } + if ((this.onMatchCompletedDelegate == null)) { + this.onMatchCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchCompleted); + } + base.InvokeAsync(this.onBeginMatchDelegate, new object[] { + word, + strategy}, this.onEndMatchDelegate, this.onMatchCompletedDelegate, userState); + } + + public DictionaryWord[] MatchInDict(string dictId, string word, string strategy) { + return base.Channel.MatchInDict(dictId, word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatchInDict(System.IAsyncResult result) { + return base.Channel.EndMatchInDict(result); + } + + private System.IAsyncResult OnBeginMatchInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + string strategy = ((string)(inValues[2])); + return this.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + private object[] OnEndMatchInDict(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatchInDict(result); + return new object[] { + retVal}; + } + + private void OnMatchInDictCompleted(object state) { + if ((this.MatchInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchInDictCompleted(this, new MatchInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchInDictAsync(string dictId, string word, string strategy) { + this.MatchInDictAsync(dictId, word, strategy, null); + } + + public void MatchInDictAsync(string dictId, string word, string strategy, object userState) { + if ((this.onBeginMatchInDictDelegate == null)) { + this.onBeginMatchInDictDelegate = new BeginOperationDelegate(this.OnBeginMatchInDict); + } + if ((this.onEndMatchInDictDelegate == null)) { + this.onEndMatchInDictDelegate = new EndOperationDelegate(this.OnEndMatchInDict); + } + if ((this.onMatchInDictCompletedDelegate == null)) { + this.onMatchInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchInDictCompleted); + } + base.InvokeAsync(this.onBeginMatchInDictDelegate, new object[] { + dictId, + word, + strategy}, this.onEndMatchInDictDelegate, this.onMatchInDictCompletedDelegate, userState); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/Reference.svcmap b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/Reference.svcmap new file mode 100644 index 0000000..262793d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/Reference.svcmap @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="e75a076a-da23-4f7a-863b-068b0bcdc64a" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap"> + <ClientOptions> + <GenerateAsynchronousMethods>true</GenerateAsynchronousMethods> + <EnableDataBinding>true</EnableDataBinding> + <ExcludedTypes /> + <ImportXmlTypes>false</ImportXmlTypes> + <GenerateInternalTypes>false</GenerateInternalTypes> + <GenerateMessageContracts>false</GenerateMessageContracts> + <NamespaceMappings /> + <CollectionMappings /> + <GenerateSerializableTypes>true</GenerateSerializableTypes> + <Serializer>Auto</Serializer> + <UseSerializerForFaults>true</UseSerializerForFaults> + <ReferenceAllAssemblies>true</ReferenceAllAssemblies> + <ReferencedAssemblies /> + <ReferencedDataContractTypes /> + <ServiceContractMappings /> + </ClientOptions> + <MetadataSources> + <MetadataSource Address="http://services.aonaware.com/DictService/DictService.asmx" Protocol="http" SourceId="1" /> + </MetadataSources> + <Metadata> + <MetadataFile FileName="DictService.disco" MetadataType="Disco" ID="ec8a6728-2d46-4424-a9cb-a89dbf639570" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?disco" /> + <MetadataFile FileName="DictService.wsdl" MetadataType="Wsdl" ID="dbe33f76-54f8-4c5a-b509-af92c391b3a3" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?wsdl" /> + </Metadata> + <Extensions> + <ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" /> + <ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" /> + </Extensions> +</ReferenceGroup>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/configuration.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/configuration.svcinfo new file mode 100644 index 0000000..a856d3d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/configuration.svcinfo @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot"> + <behaviors /> + <bindings> + <binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" messageEncoding="Text" name="DictServiceSoap" textEncoding="utf-8" transferMode="Buffered"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /><security mode="None"><message algorithmSuite="Default" clientCredentialType="UserName" /><transport clientCredentialType="None" proxyCredentialType="None" realm="" /></security></Data>" bindingType="basicHttpBinding" name="DictServiceSoap" /> + <binding digest="System.ServiceModel.Configuration.CustomBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="DictServiceSoap12"><httpTransport allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" manualAddressing="false" maxBufferPoolSize="524288" maxBufferSize="65536" maxReceivedMessageSize="65536" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" /><textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap12" writeEncoding="utf-8"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /></textMessageEncoding></Data>" bindingType="customBinding" name="DictServiceSoap12" /> + </bindings> + <endpoints> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </endpoints> +</configurationSnapshot>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/configuration91.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/configuration91.svcinfo new file mode 100644 index 0000000..2599177 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/Service References/DictionarySuggestService/configuration91.svcinfo @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="Cb1mlQVfrIvXhoWXP+TpwPhxgGY="> + <bindingConfigurations> + <bindingConfiguration bindingType="basicHttpBinding" name="DictServiceSoap"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:10:00</serializedValue> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Text</serializedValue> + </property> + <property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue> + </property> + <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue> + </property> + <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + <property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue> + </property> + <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>UserName</serializedValue> + </property> + <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Default</serializedValue> + </property> + <property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + </properties> + </bindingConfiguration> + <bindingConfiguration bindingType="customBinding" name="DictServiceSoap12"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/textMessageEncoding" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TextMessageEncodingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.TextMessageEncodingElement</serializedValue> + </property> + <property path="/textMessageEncoding/maxReadPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>64</serializedValue> + </property> + <property path="/textMessageEncoding/maxWritePoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16</serializedValue> + </property> + <property path="/textMessageEncoding/messageVersion" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.MessageVersion, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Soap12</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/writeEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/httpTransport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportElement</serializedValue> + </property> + <property path="/httpTransport/manualAddressing" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/httpTransport/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/authenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/decompressionEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/httpTransport/keepAliveEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/proxyAddress" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/proxyAuthenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/httpTransport/unsafeConnectionNtlmAuthentication" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + </properties> + </bindingConfiguration> + </bindingConfigurations> + <endpoints> + <endpoint name="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" bindingType="basicHttpBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>basicHttpBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + <endpoint name="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" bindingType="customBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap12"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>customBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + </endpoints> +</SavedWcfConfigurationInformation>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step10/app.config b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/app.config new file mode 100644 index 0000000..cf1770f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step10/app.config @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <system.serviceModel> + <bindings> + <basicHttpBinding> + <binding name="DictServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" + receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" + bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" + maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" + messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" + useDefaultWebProxy="true"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + <security mode="None"> + <transport clientCredentialType="None" proxyCredentialType="None" + realm="" /> + <message clientCredentialType="UserName" algorithmSuite="Default" /> + </security> + </binding> + </basicHttpBinding> + <customBinding> + <binding name="DictServiceSoap12"> + <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" + messageVersion="Soap12" writeEncoding="utf-8"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + </textMessageEncoding> + <httpTransport manualAddressing="false" maxBufferPoolSize="524288" + maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous" + bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" + keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous" + realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" + useDefaultWebProxy="true" /> + </binding> + </customBinding> + </bindings> + <client> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="customBinding" bindingConfiguration="DictServiceSoap12" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </client> + </system.serviceModel> +</configuration>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Excercise8.csproj b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Excercise8.csproj new file mode 100644 index 0000000..d9f92a5 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Excercise8.csproj @@ -0,0 +1,105 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{E127C33D-FB10-4F17-A79A-6669A51F021D}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise8</RootNamespace> + <AssemblyName>Excercise8</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Reactive.Windows.Forms, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.ServiceModel" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Service References\DictionarySuggestService\Reference.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Reference.svcmap</DependentUpon> + </Compile> + </ItemGroup> + <ItemGroup> + <WCFMetadata Include="Service References\" /> + </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + <None Include="Service References\DictionarySuggestService\DictService.wsdl" /> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.Dictionary.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.DictionaryWord.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.Strategy.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise8.DictionarySuggestService.WordDefinition.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + </ItemGroup> + <ItemGroup> + <WCFMetadataStorage Include="Service References\DictionarySuggestService\" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\DictService.disco" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration91.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\Reference.svcmap"> + <Generator>WCF Proxy Generator</Generator> + <LastGenOutput>Reference.cs</LastGenOutput> + </None> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Excercise8.sln b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Excercise8.sln new file mode 100644 index 0000000..e2c0652 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Excercise8.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise8", "Excercise8.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Program.cs new file mode 100644 index 0000000..ad145ee --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Program.cs @@ -0,0 +1,61 @@ +using System; +using System.Linq; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; +using Excercise8.DictionarySuggestService; + +namespace Excercise8 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + var lst = new ListBox { Top = txt.Height + 10 }; + + var frm = new Form() + { + Controls = { txt, lst } + }; + + // Turn the user input into a tamed sequence of strings. + var textChanged = from evt in Observable.FromEventPattern(txt, "TextChanged") + select ((TextBox)evt.Sender).Text; + + var input = textChanged + .Throttle(TimeSpan.FromSeconds(1)) + .DistinctUntilChanged(); + + // Bridge with the web service's MatchInDict method. + var svc = new DictServiceSoapClient("DictServiceSoap"); + var matchInDict = Observable.FromAsyncPattern<string, string, string, DictionaryWord[]> + (svc.BeginMatchInDict, svc.EndMatchInDict); + + Func<string, IObservable<DictionaryWord[]>> matchInWordNetByPrefix = + term => matchInDict("wn", term, "prefix"); + + // The grand composition connecting the user input with the web service. + var res = (from term in input + select matchInWordNetByPrefix(term)) + .Switch(); + + // Synchronize with the UI thread and populate the ListBox or signal an error. + using (res.ObserveOn(lst).Subscribe( + words => + { + lst.Items.Clear(); + lst.Items.AddRange((from word in words select word.Word).ToArray()); + }, + ex => + { + MessageBox.Show( + "An error occurred: " + ex.Message, frm.Text, MessageBoxButtons.OK, MessageBoxIcon.Error + ); + })) + { + Application.Run(frm); + } // Proper disposal happens upon exiting the application. + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f320cdf --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise8")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise8")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/DictService.disco b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/DictService.disco new file mode 100644 index 0000000..d8b4769 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/DictService.disco @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> + <contractRef ref="http://services.aonaware.com/DictService/DictService.asmx?wsdl" docRef="http://services.aonaware.com/DictService/DictService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q1="http://services.aonaware.com/webservices/" binding="q1:DictServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q2="http://services.aonaware.com/webservices/" binding="q2:DictServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> +</discovery>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/DictService.wsdl b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/DictService.wsdl new file mode 100644 index 0000000..72a8189 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/DictService.wsdl @@ -0,0 +1,824 @@ +<?xml version="1.0" encoding="utf-8"?> +<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://services.aonaware.com/webservices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://services.aonaware.com/webservices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:types> + <s:schema elementFormDefault="qualified" targetNamespace="http://services.aonaware.com/webservices/"> + <s:element name="ServerInfo"> + <s:complexType /> + </s:element> + <s:element name="ServerInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="ServerInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryList"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Dictionary" nillable="true" type="tns:Dictionary" /> + </s:sequence> + </s:complexType> + <s:complexType name="Dictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DictionaryListExtended"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListExtendedResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListExtendedResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfo"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="Define"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="WordDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Definitions" type="tns:ArrayOfDefinition" /> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Definition" nillable="true" type="tns:Definition" /> + </s:sequence> + </s:complexType> + <s:complexType name="Definition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Dictionary" type="tns:Dictionary" /> + <s:element minOccurs="0" maxOccurs="1" name="WordDefinition" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DefineInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineInDictResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="StrategyList"> + <s:complexType /> + </s:element> + <s:element name="StrategyListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="StrategyListResult" type="tns:ArrayOfStrategy" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfStrategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Strategy" nillable="true" type="tns:Strategy" /> + </s:sequence> + </s:complexType> + <s:complexType name="Strategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="Match"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="DictionaryWord" nillable="true" type="tns:DictionaryWord" /> + </s:sequence> + </s:complexType> + <s:complexType name="DictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="MatchInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchInDictResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="string" nillable="true" type="s:string" /> + <s:element name="ArrayOfDictionary" nillable="true" type="tns:ArrayOfDictionary" /> + <s:element name="WordDefinition" nillable="true" type="tns:WordDefinition" /> + <s:element name="ArrayOfStrategy" nillable="true" type="tns:ArrayOfStrategy" /> + <s:element name="ArrayOfDictionaryWord" nillable="true" type="tns:ArrayOfDictionaryWord" /> + </s:schema> + </wsdl:types> + <wsdl:message name="ServerInfoSoapIn"> + <wsdl:part name="parameters" element="tns:ServerInfo" /> + </wsdl:message> + <wsdl:message name="ServerInfoSoapOut"> + <wsdl:part name="parameters" element="tns:ServerInfoResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryList" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryListExtended" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListExtendedResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryInfo" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryInfoResponse" /> + </wsdl:message> + <wsdl:message name="DefineSoapIn"> + <wsdl:part name="parameters" element="tns:Define" /> + </wsdl:message> + <wsdl:message name="DefineSoapOut"> + <wsdl:part name="parameters" element="tns:DefineResponse" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapIn"> + <wsdl:part name="parameters" element="tns:DefineInDict" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapOut"> + <wsdl:part name="parameters" element="tns:DefineInDictResponse" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapIn"> + <wsdl:part name="parameters" element="tns:StrategyList" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapOut"> + <wsdl:part name="parameters" element="tns:StrategyListResponse" /> + </wsdl:message> + <wsdl:message name="MatchSoapIn"> + <wsdl:part name="parameters" element="tns:Match" /> + </wsdl:message> + <wsdl:message name="MatchSoapOut"> + <wsdl:part name="parameters" element="tns:MatchResponse" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapIn"> + <wsdl:part name="parameters" element="tns:MatchInDict" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapOut"> + <wsdl:part name="parameters" element="tns:MatchInDictResponse" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpGetIn" /> + <wsdl:message name="ServerInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpGetIn" /> + <wsdl:message name="DictionaryListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpGetIn" /> + <wsdl:message name="DictionaryListExtendedHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpGetIn" /> + <wsdl:message name="StrategyListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpPostIn" /> + <wsdl:message name="ServerInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpPostIn" /> + <wsdl:message name="DictionaryListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpPostIn" /> + <wsdl:message name="DictionaryListExtendedHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpPostIn" /> + <wsdl:message name="StrategyListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:portType name="DictServiceSoap"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoSoapIn" /> + <wsdl:output message="tns:ServerInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListSoapIn" /> + <wsdl:output message="tns:DictionaryListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedSoapIn" /> + <wsdl:output message="tns:DictionaryListExtendedSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoSoapIn" /> + <wsdl:output message="tns:DictionaryInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineSoapIn" /> + <wsdl:output message="tns:DefineSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictSoapIn" /> + <wsdl:output message="tns:DefineInDictSoapOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListSoapIn" /> + <wsdl:output message="tns:StrategyListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchSoapIn" /> + <wsdl:output message="tns:MatchSoapOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictSoapIn" /> + <wsdl:output message="tns:MatchInDictSoapOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpGet"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpGetIn" /> + <wsdl:output message="tns:ServerInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpGetIn" /> + <wsdl:output message="tns:DictionaryListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpGetIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpGetIn" /> + <wsdl:output message="tns:DictionaryInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpGetIn" /> + <wsdl:output message="tns:DefineHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpGetIn" /> + <wsdl:output message="tns:DefineInDictHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpGetIn" /> + <wsdl:output message="tns:StrategyListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpGetIn" /> + <wsdl:output message="tns:MatchHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpGetIn" /> + <wsdl:output message="tns:MatchInDictHttpGetOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpPost"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpPostIn" /> + <wsdl:output message="tns:ServerInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpPostIn" /> + <wsdl:output message="tns:DictionaryListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpPostIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpPostIn" /> + <wsdl:output message="tns:DictionaryInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpPostIn" /> + <wsdl:output message="tns:DefineHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpPostIn" /> + <wsdl:output message="tns:DefineInDictHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpPostIn" /> + <wsdl:output message="tns:StrategyListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpPostIn" /> + <wsdl:output message="tns:MatchHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpPostIn" /> + <wsdl:output message="tns:MatchInDictHttpPostOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="DictServiceSoap" type="tns:DictServiceSoap"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" 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="DictServiceSoap12" type="tns:DictServiceSoap"> + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpGet" type="tns:DictServiceHttpGet"> + <http:binding verb="GET" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpPost" type="tns:DictServiceHttpPost"> + <http:binding verb="POST" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="DictService"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:port name="DictServiceSoap" binding="tns:DictServiceSoap"> + <soap:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceSoap12" binding="tns:DictServiceSoap12"> + <soap12:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpGet" binding="tns:DictServiceHttpGet"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpPost" binding="tns:DictServiceHttpPost"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + </wsdl:service> +</wsdl:definitions>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource new file mode 100644 index 0000000..b6db5d2 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Dictionary.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Dictionary" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.Dictionary, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource new file mode 100644 index 0000000..9fd63a4 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.DictionaryWord.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="DictionaryWord" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.DictionaryWord, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource new file mode 100644 index 0000000..7cdc3ab --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.Strategy.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Strategy" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.Strategy, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource new file mode 100644 index 0000000..327195d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/Excercise8.DictionarySuggestService.WordDefinition.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="WordDefinition" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise8.DictionarySuggestService.WordDefinition, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/Reference.cs b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/Reference.cs new file mode 100644 index 0000000..ab76343 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/Reference.cs @@ -0,0 +1,1064 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.431 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace Excercise8.DictionarySuggestService { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://services.aonaware.com/webservices/", ConfigurationName="DictionarySuggestService.DictServiceSoap")] + public interface DictServiceSoap { + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string ServerInfo(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState); + + string EndServerInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryListExtended(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryListExtended(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string DictionaryInfo(string dictId); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState); + + string EndDictionaryInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise8.DictionarySuggestService.WordDefinition Define(string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState); + + Excercise8.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise8.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState); + + Excercise8.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Strategy[] StrategyList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState); + + Strategy[] EndStrategyList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] Match(string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatch(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] MatchInDict(string dictId, string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatchInDict(System.IAsyncResult result); + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Dictionary : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string nameField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class DictionaryWord : object, System.ComponentModel.INotifyPropertyChanged { + + private string dictionaryIdField; + + private string wordField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string DictionaryId { + get { + return this.dictionaryIdField; + } + set { + this.dictionaryIdField = value; + this.RaisePropertyChanged("DictionaryId"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Strategy : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string descriptionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Definition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Dictionary dictionaryField; + + private string wordDefinitionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public Dictionary Dictionary { + get { + return this.dictionaryField; + } + set { + this.dictionaryField = value; + this.RaisePropertyChanged("Dictionary"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string WordDefinition { + get { + return this.wordDefinitionField; + } + set { + this.wordDefinitionField = value; + this.RaisePropertyChanged("WordDefinition"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class WordDefinition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Definition[] definitionsField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public Definition[] Definitions { + get { + return this.definitionsField; + } + set { + this.definitionsField = value; + this.RaisePropertyChanged("Definitions"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface DictServiceSoapChannel : Excercise8.DictionarySuggestService.DictServiceSoap, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class ServerInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public ServerInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListExtendedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListExtendedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise8.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise8.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise8.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise8.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class StrategyListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public StrategyListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Strategy[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Strategy[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictServiceSoapClient : System.ServiceModel.ClientBase<Excercise8.DictionarySuggestService.DictServiceSoap>, Excercise8.DictionarySuggestService.DictServiceSoap { + + private BeginOperationDelegate onBeginServerInfoDelegate; + + private EndOperationDelegate onEndServerInfoDelegate; + + private System.Threading.SendOrPostCallback onServerInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListDelegate; + + private EndOperationDelegate onEndDictionaryListDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListExtendedDelegate; + + private EndOperationDelegate onEndDictionaryListExtendedDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListExtendedCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryInfoDelegate; + + private EndOperationDelegate onEndDictionaryInfoDelegate; + + private System.Threading.SendOrPostCallback onDictionaryInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDefineDelegate; + + private EndOperationDelegate onEndDefineDelegate; + + private System.Threading.SendOrPostCallback onDefineCompletedDelegate; + + private BeginOperationDelegate onBeginDefineInDictDelegate; + + private EndOperationDelegate onEndDefineInDictDelegate; + + private System.Threading.SendOrPostCallback onDefineInDictCompletedDelegate; + + private BeginOperationDelegate onBeginStrategyListDelegate; + + private EndOperationDelegate onEndStrategyListDelegate; + + private System.Threading.SendOrPostCallback onStrategyListCompletedDelegate; + + private BeginOperationDelegate onBeginMatchDelegate; + + private EndOperationDelegate onEndMatchDelegate; + + private System.Threading.SendOrPostCallback onMatchCompletedDelegate; + + private BeginOperationDelegate onBeginMatchInDictDelegate; + + private EndOperationDelegate onEndMatchInDictDelegate; + + private System.Threading.SendOrPostCallback onMatchInDictCompletedDelegate; + + public DictServiceSoapClient() { + } + + public DictServiceSoapClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public DictServiceSoapClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + public event System.EventHandler<ServerInfoCompletedEventArgs> ServerInfoCompleted; + + public event System.EventHandler<DictionaryListCompletedEventArgs> DictionaryListCompleted; + + public event System.EventHandler<DictionaryListExtendedCompletedEventArgs> DictionaryListExtendedCompleted; + + public event System.EventHandler<DictionaryInfoCompletedEventArgs> DictionaryInfoCompleted; + + public event System.EventHandler<DefineCompletedEventArgs> DefineCompleted; + + public event System.EventHandler<DefineInDictCompletedEventArgs> DefineInDictCompleted; + + public event System.EventHandler<StrategyListCompletedEventArgs> StrategyListCompleted; + + public event System.EventHandler<MatchCompletedEventArgs> MatchCompleted; + + public event System.EventHandler<MatchInDictCompletedEventArgs> MatchInDictCompleted; + + public string ServerInfo() { + return base.Channel.ServerInfo(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginServerInfo(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndServerInfo(System.IAsyncResult result) { + return base.Channel.EndServerInfo(result); + } + + private System.IAsyncResult OnBeginServerInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginServerInfo(callback, asyncState); + } + + private object[] OnEndServerInfo(System.IAsyncResult result) { + string retVal = this.EndServerInfo(result); + return new object[] { + retVal}; + } + + private void OnServerInfoCompleted(object state) { + if ((this.ServerInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.ServerInfoCompleted(this, new ServerInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void ServerInfoAsync() { + this.ServerInfoAsync(null); + } + + public void ServerInfoAsync(object userState) { + if ((this.onBeginServerInfoDelegate == null)) { + this.onBeginServerInfoDelegate = new BeginOperationDelegate(this.OnBeginServerInfo); + } + if ((this.onEndServerInfoDelegate == null)) { + this.onEndServerInfoDelegate = new EndOperationDelegate(this.OnEndServerInfo); + } + if ((this.onServerInfoCompletedDelegate == null)) { + this.onServerInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnServerInfoCompleted); + } + base.InvokeAsync(this.onBeginServerInfoDelegate, null, this.onEndServerInfoDelegate, this.onServerInfoCompletedDelegate, userState); + } + + public Dictionary[] DictionaryList() { + return base.Channel.DictionaryList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryList(System.IAsyncResult result) { + return base.Channel.EndDictionaryList(result); + } + + private System.IAsyncResult OnBeginDictionaryList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryList(callback, asyncState); + } + + private object[] OnEndDictionaryList(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryList(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListCompleted(object state) { + if ((this.DictionaryListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListCompleted(this, new DictionaryListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListAsync() { + this.DictionaryListAsync(null); + } + + public void DictionaryListAsync(object userState) { + if ((this.onBeginDictionaryListDelegate == null)) { + this.onBeginDictionaryListDelegate = new BeginOperationDelegate(this.OnBeginDictionaryList); + } + if ((this.onEndDictionaryListDelegate == null)) { + this.onEndDictionaryListDelegate = new EndOperationDelegate(this.OnEndDictionaryList); + } + if ((this.onDictionaryListCompletedDelegate == null)) { + this.onDictionaryListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListDelegate, null, this.onEndDictionaryListDelegate, this.onDictionaryListCompletedDelegate, userState); + } + + public Dictionary[] DictionaryListExtended() { + return base.Channel.DictionaryListExtended(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryListExtended(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryListExtended(System.IAsyncResult result) { + return base.Channel.EndDictionaryListExtended(result); + } + + private System.IAsyncResult OnBeginDictionaryListExtended(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryListExtended(callback, asyncState); + } + + private object[] OnEndDictionaryListExtended(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryListExtended(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListExtendedCompleted(object state) { + if ((this.DictionaryListExtendedCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListExtendedCompleted(this, new DictionaryListExtendedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListExtendedAsync() { + this.DictionaryListExtendedAsync(null); + } + + public void DictionaryListExtendedAsync(object userState) { + if ((this.onBeginDictionaryListExtendedDelegate == null)) { + this.onBeginDictionaryListExtendedDelegate = new BeginOperationDelegate(this.OnBeginDictionaryListExtended); + } + if ((this.onEndDictionaryListExtendedDelegate == null)) { + this.onEndDictionaryListExtendedDelegate = new EndOperationDelegate(this.OnEndDictionaryListExtended); + } + if ((this.onDictionaryListExtendedCompletedDelegate == null)) { + this.onDictionaryListExtendedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListExtendedCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListExtendedDelegate, null, this.onEndDictionaryListExtendedDelegate, this.onDictionaryListExtendedCompletedDelegate, userState); + } + + public string DictionaryInfo(string dictId) { + return base.Channel.DictionaryInfo(dictId); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryInfo(dictId, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndDictionaryInfo(System.IAsyncResult result) { + return base.Channel.EndDictionaryInfo(result); + } + + private System.IAsyncResult OnBeginDictionaryInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + return this.BeginDictionaryInfo(dictId, callback, asyncState); + } + + private object[] OnEndDictionaryInfo(System.IAsyncResult result) { + string retVal = this.EndDictionaryInfo(result); + return new object[] { + retVal}; + } + + private void OnDictionaryInfoCompleted(object state) { + if ((this.DictionaryInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryInfoCompleted(this, new DictionaryInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryInfoAsync(string dictId) { + this.DictionaryInfoAsync(dictId, null); + } + + public void DictionaryInfoAsync(string dictId, object userState) { + if ((this.onBeginDictionaryInfoDelegate == null)) { + this.onBeginDictionaryInfoDelegate = new BeginOperationDelegate(this.OnBeginDictionaryInfo); + } + if ((this.onEndDictionaryInfoDelegate == null)) { + this.onEndDictionaryInfoDelegate = new EndOperationDelegate(this.OnEndDictionaryInfo); + } + if ((this.onDictionaryInfoCompletedDelegate == null)) { + this.onDictionaryInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryInfoCompleted); + } + base.InvokeAsync(this.onBeginDictionaryInfoDelegate, new object[] { + dictId}, this.onEndDictionaryInfoDelegate, this.onDictionaryInfoCompletedDelegate, userState); + } + + public Excercise8.DictionarySuggestService.WordDefinition Define(string word) { + return base.Channel.Define(word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefine(word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise8.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result) { + return base.Channel.EndDefine(result); + } + + private System.IAsyncResult OnBeginDefine(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + return this.BeginDefine(word, callback, asyncState); + } + + private object[] OnEndDefine(System.IAsyncResult result) { + Excercise8.DictionarySuggestService.WordDefinition retVal = this.EndDefine(result); + return new object[] { + retVal}; + } + + private void OnDefineCompleted(object state) { + if ((this.DefineCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineCompleted(this, new DefineCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineAsync(string word) { + this.DefineAsync(word, null); + } + + public void DefineAsync(string word, object userState) { + if ((this.onBeginDefineDelegate == null)) { + this.onBeginDefineDelegate = new BeginOperationDelegate(this.OnBeginDefine); + } + if ((this.onEndDefineDelegate == null)) { + this.onEndDefineDelegate = new EndOperationDelegate(this.OnEndDefine); + } + if ((this.onDefineCompletedDelegate == null)) { + this.onDefineCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineCompleted); + } + base.InvokeAsync(this.onBeginDefineDelegate, new object[] { + word}, this.onEndDefineDelegate, this.onDefineCompletedDelegate, userState); + } + + public Excercise8.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word) { + return base.Channel.DefineInDict(dictId, word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefineInDict(dictId, word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise8.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result) { + return base.Channel.EndDefineInDict(result); + } + + private System.IAsyncResult OnBeginDefineInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + return this.BeginDefineInDict(dictId, word, callback, asyncState); + } + + private object[] OnEndDefineInDict(System.IAsyncResult result) { + Excercise8.DictionarySuggestService.WordDefinition retVal = this.EndDefineInDict(result); + return new object[] { + retVal}; + } + + private void OnDefineInDictCompleted(object state) { + if ((this.DefineInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineInDictCompleted(this, new DefineInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineInDictAsync(string dictId, string word) { + this.DefineInDictAsync(dictId, word, null); + } + + public void DefineInDictAsync(string dictId, string word, object userState) { + if ((this.onBeginDefineInDictDelegate == null)) { + this.onBeginDefineInDictDelegate = new BeginOperationDelegate(this.OnBeginDefineInDict); + } + if ((this.onEndDefineInDictDelegate == null)) { + this.onEndDefineInDictDelegate = new EndOperationDelegate(this.OnEndDefineInDict); + } + if ((this.onDefineInDictCompletedDelegate == null)) { + this.onDefineInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineInDictCompleted); + } + base.InvokeAsync(this.onBeginDefineInDictDelegate, new object[] { + dictId, + word}, this.onEndDefineInDictDelegate, this.onDefineInDictCompletedDelegate, userState); + } + + public Strategy[] StrategyList() { + return base.Channel.StrategyList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginStrategyList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Strategy[] EndStrategyList(System.IAsyncResult result) { + return base.Channel.EndStrategyList(result); + } + + private System.IAsyncResult OnBeginStrategyList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginStrategyList(callback, asyncState); + } + + private object[] OnEndStrategyList(System.IAsyncResult result) { + Strategy[] retVal = this.EndStrategyList(result); + return new object[] { + retVal}; + } + + private void OnStrategyListCompleted(object state) { + if ((this.StrategyListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.StrategyListCompleted(this, new StrategyListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void StrategyListAsync() { + this.StrategyListAsync(null); + } + + public void StrategyListAsync(object userState) { + if ((this.onBeginStrategyListDelegate == null)) { + this.onBeginStrategyListDelegate = new BeginOperationDelegate(this.OnBeginStrategyList); + } + if ((this.onEndStrategyListDelegate == null)) { + this.onEndStrategyListDelegate = new EndOperationDelegate(this.OnEndStrategyList); + } + if ((this.onStrategyListCompletedDelegate == null)) { + this.onStrategyListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStrategyListCompleted); + } + base.InvokeAsync(this.onBeginStrategyListDelegate, null, this.onEndStrategyListDelegate, this.onStrategyListCompletedDelegate, userState); + } + + public DictionaryWord[] Match(string word, string strategy) { + return base.Channel.Match(word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatch(word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatch(System.IAsyncResult result) { + return base.Channel.EndMatch(result); + } + + private System.IAsyncResult OnBeginMatch(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + string strategy = ((string)(inValues[1])); + return this.BeginMatch(word, strategy, callback, asyncState); + } + + private object[] OnEndMatch(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatch(result); + return new object[] { + retVal}; + } + + private void OnMatchCompleted(object state) { + if ((this.MatchCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchCompleted(this, new MatchCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchAsync(string word, string strategy) { + this.MatchAsync(word, strategy, null); + } + + public void MatchAsync(string word, string strategy, object userState) { + if ((this.onBeginMatchDelegate == null)) { + this.onBeginMatchDelegate = new BeginOperationDelegate(this.OnBeginMatch); + } + if ((this.onEndMatchDelegate == null)) { + this.onEndMatchDelegate = new EndOperationDelegate(this.OnEndMatch); + } + if ((this.onMatchCompletedDelegate == null)) { + this.onMatchCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchCompleted); + } + base.InvokeAsync(this.onBeginMatchDelegate, new object[] { + word, + strategy}, this.onEndMatchDelegate, this.onMatchCompletedDelegate, userState); + } + + public DictionaryWord[] MatchInDict(string dictId, string word, string strategy) { + return base.Channel.MatchInDict(dictId, word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatchInDict(System.IAsyncResult result) { + return base.Channel.EndMatchInDict(result); + } + + private System.IAsyncResult OnBeginMatchInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + string strategy = ((string)(inValues[2])); + return this.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + private object[] OnEndMatchInDict(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatchInDict(result); + return new object[] { + retVal}; + } + + private void OnMatchInDictCompleted(object state) { + if ((this.MatchInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchInDictCompleted(this, new MatchInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchInDictAsync(string dictId, string word, string strategy) { + this.MatchInDictAsync(dictId, word, strategy, null); + } + + public void MatchInDictAsync(string dictId, string word, string strategy, object userState) { + if ((this.onBeginMatchInDictDelegate == null)) { + this.onBeginMatchInDictDelegate = new BeginOperationDelegate(this.OnBeginMatchInDict); + } + if ((this.onEndMatchInDictDelegate == null)) { + this.onEndMatchInDictDelegate = new EndOperationDelegate(this.OnEndMatchInDict); + } + if ((this.onMatchInDictCompletedDelegate == null)) { + this.onMatchInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchInDictCompleted); + } + base.InvokeAsync(this.onBeginMatchInDictDelegate, new object[] { + dictId, + word, + strategy}, this.onEndMatchInDictDelegate, this.onMatchInDictCompletedDelegate, userState); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/Reference.svcmap b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/Reference.svcmap new file mode 100644 index 0000000..262793d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/Reference.svcmap @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="e75a076a-da23-4f7a-863b-068b0bcdc64a" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap"> + <ClientOptions> + <GenerateAsynchronousMethods>true</GenerateAsynchronousMethods> + <EnableDataBinding>true</EnableDataBinding> + <ExcludedTypes /> + <ImportXmlTypes>false</ImportXmlTypes> + <GenerateInternalTypes>false</GenerateInternalTypes> + <GenerateMessageContracts>false</GenerateMessageContracts> + <NamespaceMappings /> + <CollectionMappings /> + <GenerateSerializableTypes>true</GenerateSerializableTypes> + <Serializer>Auto</Serializer> + <UseSerializerForFaults>true</UseSerializerForFaults> + <ReferenceAllAssemblies>true</ReferenceAllAssemblies> + <ReferencedAssemblies /> + <ReferencedDataContractTypes /> + <ServiceContractMappings /> + </ClientOptions> + <MetadataSources> + <MetadataSource Address="http://services.aonaware.com/DictService/DictService.asmx" Protocol="http" SourceId="1" /> + </MetadataSources> + <Metadata> + <MetadataFile FileName="DictService.disco" MetadataType="Disco" ID="ec8a6728-2d46-4424-a9cb-a89dbf639570" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?disco" /> + <MetadataFile FileName="DictService.wsdl" MetadataType="Wsdl" ID="dbe33f76-54f8-4c5a-b509-af92c391b3a3" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?wsdl" /> + </Metadata> + <Extensions> + <ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" /> + <ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" /> + </Extensions> +</ReferenceGroup>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/configuration.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/configuration.svcinfo new file mode 100644 index 0000000..a856d3d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/configuration.svcinfo @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot"> + <behaviors /> + <bindings> + <binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" messageEncoding="Text" name="DictServiceSoap" textEncoding="utf-8" transferMode="Buffered"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /><security mode="None"><message algorithmSuite="Default" clientCredentialType="UserName" /><transport clientCredentialType="None" proxyCredentialType="None" realm="" /></security></Data>" bindingType="basicHttpBinding" name="DictServiceSoap" /> + <binding digest="System.ServiceModel.Configuration.CustomBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="DictServiceSoap12"><httpTransport allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" manualAddressing="false" maxBufferPoolSize="524288" maxBufferSize="65536" maxReceivedMessageSize="65536" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" /><textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap12" writeEncoding="utf-8"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /></textMessageEncoding></Data>" bindingType="customBinding" name="DictServiceSoap12" /> + </bindings> + <endpoints> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </endpoints> +</configurationSnapshot>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/configuration91.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/configuration91.svcinfo new file mode 100644 index 0000000..2599177 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/Service References/DictionarySuggestService/configuration91.svcinfo @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="Cb1mlQVfrIvXhoWXP+TpwPhxgGY="> + <bindingConfigurations> + <bindingConfiguration bindingType="basicHttpBinding" name="DictServiceSoap"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:10:00</serializedValue> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Text</serializedValue> + </property> + <property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue> + </property> + <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue> + </property> + <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + <property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue> + </property> + <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>UserName</serializedValue> + </property> + <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Default</serializedValue> + </property> + <property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + </properties> + </bindingConfiguration> + <bindingConfiguration bindingType="customBinding" name="DictServiceSoap12"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/textMessageEncoding" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TextMessageEncodingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.TextMessageEncodingElement</serializedValue> + </property> + <property path="/textMessageEncoding/maxReadPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>64</serializedValue> + </property> + <property path="/textMessageEncoding/maxWritePoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16</serializedValue> + </property> + <property path="/textMessageEncoding/messageVersion" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.MessageVersion, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Soap12</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/writeEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/httpTransport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportElement</serializedValue> + </property> + <property path="/httpTransport/manualAddressing" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/httpTransport/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/authenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/decompressionEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/httpTransport/keepAliveEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/proxyAddress" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/proxyAuthenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/httpTransport/unsafeConnectionNtlmAuthentication" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + </properties> + </bindingConfiguration> + </bindingConfigurations> + <endpoints> + <endpoint name="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" bindingType="basicHttpBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>basicHttpBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + <endpoint name="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" bindingType="customBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap12"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>customBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + </endpoints> +</SavedWcfConfigurationInformation>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise8/Step11/app.config b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/app.config new file mode 100644 index 0000000..cf1770f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise8/Step11/app.config @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <system.serviceModel> + <bindings> + <basicHttpBinding> + <binding name="DictServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" + receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" + bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" + maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" + messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" + useDefaultWebProxy="true"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + <security mode="None"> + <transport clientCredentialType="None" proxyCredentialType="None" + realm="" /> + <message clientCredentialType="UserName" algorithmSuite="Default" /> + </security> + </binding> + </basicHttpBinding> + <customBinding> + <binding name="DictServiceSoap12"> + <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" + messageVersion="Soap12" writeEncoding="utf-8"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + </textMessageEncoding> + <httpTransport manualAddressing="false" maxBufferPoolSize="524288" + maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous" + bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" + keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous" + realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" + useDefaultWebProxy="true" /> + </binding> + </customBinding> + </bindings> + <client> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="customBinding" bindingConfiguration="DictServiceSoap12" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </client> + </system.serviceModel> +</configuration>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Excercise9.csproj b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Excercise9.csproj new file mode 100644 index 0000000..fe32357 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Excercise9.csproj @@ -0,0 +1,105 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{1C6AB6E0-0D01-4648-80EB-C9ACE86F0AF8}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise9</RootNamespace> + <AssemblyName>Excercise9</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Reactive.Windows.Forms, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.ServiceModel" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Service References\DictionarySuggestService\Reference.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Reference.svcmap</DependentUpon> + </Compile> + </ItemGroup> + <ItemGroup> + <WCFMetadata Include="Service References\" /> + </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + <None Include="Service References\DictionarySuggestService\DictService.wsdl" /> + </ItemGroup> + <ItemGroup> + <WCFMetadataStorage Include="Service References\DictionarySuggestService\" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\DictService.disco" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration91.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\Excercise9.DictionarySuggestService.Dictionary.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise9.DictionarySuggestService.DictionaryWord.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise9.DictionarySuggestService.Strategy.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise9.DictionarySuggestService.WordDefinition.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Reference.svcmap"> + <Generator>WCF Proxy Generator</Generator> + <LastGenOutput>Reference.cs</LastGenOutput> + </None> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Excercise9.sln b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Excercise9.sln new file mode 100644 index 0000000..c4506a2 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Excercise9.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise9", "Excercise9.csproj", "{E127C33D-FB10-4F17-A79A-6669A51F021D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E127C33D-FB10-4F17-A79A-6669A51F021D}.Debug|x86.ActiveCfg = Debug|x86 + {E127C33D-FB10-4F17-A79A-6669A51F021D}.Debug|x86.Build.0 = Debug|x86 + {E127C33D-FB10-4F17-A79A-6669A51F021D}.Release|x86.ActiveCfg = Release|x86 + {E127C33D-FB10-4F17-A79A-6669A51F021D}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Program.cs new file mode 100644 index 0000000..5a2e5af --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Program.cs @@ -0,0 +1,66 @@ +using System; +using System.Linq; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; +using Excercise9.DictionarySuggestService; + +namespace Excercise9 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + var lst = new ListBox { Top = txt.Height + 10 }; + + var frm = new Form() + { + Controls = { txt, lst } + }; + +#if PRODUCTION + // Turn the user input into a tamed sequence of strings. + var textChanged = from evt in Observable.FromEventPattern(txt, "TextChanged") + select ((TextBox)evt.Sender).Text; + + var input = textChanged + .Throttle(TimeSpan.FromSeconds(1)) + .DistinctUntilChanged(); +#else + // Test input + var input = new[] { "reac", "reactive", "bing" }.ToObservable(); +#endif + + // Bridge with the web service's MatchInDict method. + var svc = new DictServiceSoapClient("DictServiceSoap"); + var matchInDict = Observable.FromAsyncPattern<string, string, string, DictionaryWord[]> + (svc.BeginMatchInDict, svc.EndMatchInDict); + + Func<string, IObservable<DictionaryWord[]>> matchInWordNetByPrefix = + term => matchInDict("wn", term, "prefix"); + + // The grand composition connecting the user input with the web service. + var res = (from term in input + select matchInWordNetByPrefix(term)) + .Switch(); + + // Synchronize with the UI thread and populate the ListBox or signal an error. + using (res.ObserveOn(lst).Subscribe( + words => + { + lst.Items.Clear(); + lst.Items.AddRange((from word in words select word.Word).ToArray()); + }, + ex => + { + MessageBox.Show( + "An error occurred: " + ex.Message, frm.Text, MessageBoxButtons.OK, MessageBoxIcon.Error + ); + })) + { + Application.Run(frm); + } // Proper disposal happens upon exiting the application. + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..94328f9 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise9")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise9")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/DictService.disco b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/DictService.disco new file mode 100644 index 0000000..d8b4769 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/DictService.disco @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> + <contractRef ref="http://services.aonaware.com/DictService/DictService.asmx?wsdl" docRef="http://services.aonaware.com/DictService/DictService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q1="http://services.aonaware.com/webservices/" binding="q1:DictServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q2="http://services.aonaware.com/webservices/" binding="q2:DictServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> +</discovery>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/DictService.wsdl b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/DictService.wsdl new file mode 100644 index 0000000..72a8189 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/DictService.wsdl @@ -0,0 +1,824 @@ +<?xml version="1.0" encoding="utf-8"?> +<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://services.aonaware.com/webservices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://services.aonaware.com/webservices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:types> + <s:schema elementFormDefault="qualified" targetNamespace="http://services.aonaware.com/webservices/"> + <s:element name="ServerInfo"> + <s:complexType /> + </s:element> + <s:element name="ServerInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="ServerInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryList"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Dictionary" nillable="true" type="tns:Dictionary" /> + </s:sequence> + </s:complexType> + <s:complexType name="Dictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DictionaryListExtended"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListExtendedResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListExtendedResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfo"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="Define"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="WordDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Definitions" type="tns:ArrayOfDefinition" /> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Definition" nillable="true" type="tns:Definition" /> + </s:sequence> + </s:complexType> + <s:complexType name="Definition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Dictionary" type="tns:Dictionary" /> + <s:element minOccurs="0" maxOccurs="1" name="WordDefinition" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DefineInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineInDictResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="StrategyList"> + <s:complexType /> + </s:element> + <s:element name="StrategyListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="StrategyListResult" type="tns:ArrayOfStrategy" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfStrategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Strategy" nillable="true" type="tns:Strategy" /> + </s:sequence> + </s:complexType> + <s:complexType name="Strategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="Match"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="DictionaryWord" nillable="true" type="tns:DictionaryWord" /> + </s:sequence> + </s:complexType> + <s:complexType name="DictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="MatchInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchInDictResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="string" nillable="true" type="s:string" /> + <s:element name="ArrayOfDictionary" nillable="true" type="tns:ArrayOfDictionary" /> + <s:element name="WordDefinition" nillable="true" type="tns:WordDefinition" /> + <s:element name="ArrayOfStrategy" nillable="true" type="tns:ArrayOfStrategy" /> + <s:element name="ArrayOfDictionaryWord" nillable="true" type="tns:ArrayOfDictionaryWord" /> + </s:schema> + </wsdl:types> + <wsdl:message name="ServerInfoSoapIn"> + <wsdl:part name="parameters" element="tns:ServerInfo" /> + </wsdl:message> + <wsdl:message name="ServerInfoSoapOut"> + <wsdl:part name="parameters" element="tns:ServerInfoResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryList" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryListExtended" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListExtendedResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryInfo" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryInfoResponse" /> + </wsdl:message> + <wsdl:message name="DefineSoapIn"> + <wsdl:part name="parameters" element="tns:Define" /> + </wsdl:message> + <wsdl:message name="DefineSoapOut"> + <wsdl:part name="parameters" element="tns:DefineResponse" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapIn"> + <wsdl:part name="parameters" element="tns:DefineInDict" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapOut"> + <wsdl:part name="parameters" element="tns:DefineInDictResponse" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapIn"> + <wsdl:part name="parameters" element="tns:StrategyList" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapOut"> + <wsdl:part name="parameters" element="tns:StrategyListResponse" /> + </wsdl:message> + <wsdl:message name="MatchSoapIn"> + <wsdl:part name="parameters" element="tns:Match" /> + </wsdl:message> + <wsdl:message name="MatchSoapOut"> + <wsdl:part name="parameters" element="tns:MatchResponse" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapIn"> + <wsdl:part name="parameters" element="tns:MatchInDict" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapOut"> + <wsdl:part name="parameters" element="tns:MatchInDictResponse" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpGetIn" /> + <wsdl:message name="ServerInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpGetIn" /> + <wsdl:message name="DictionaryListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpGetIn" /> + <wsdl:message name="DictionaryListExtendedHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpGetIn" /> + <wsdl:message name="StrategyListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpPostIn" /> + <wsdl:message name="ServerInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpPostIn" /> + <wsdl:message name="DictionaryListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpPostIn" /> + <wsdl:message name="DictionaryListExtendedHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpPostIn" /> + <wsdl:message name="StrategyListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:portType name="DictServiceSoap"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoSoapIn" /> + <wsdl:output message="tns:ServerInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListSoapIn" /> + <wsdl:output message="tns:DictionaryListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedSoapIn" /> + <wsdl:output message="tns:DictionaryListExtendedSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoSoapIn" /> + <wsdl:output message="tns:DictionaryInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineSoapIn" /> + <wsdl:output message="tns:DefineSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictSoapIn" /> + <wsdl:output message="tns:DefineInDictSoapOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListSoapIn" /> + <wsdl:output message="tns:StrategyListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchSoapIn" /> + <wsdl:output message="tns:MatchSoapOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictSoapIn" /> + <wsdl:output message="tns:MatchInDictSoapOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpGet"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpGetIn" /> + <wsdl:output message="tns:ServerInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpGetIn" /> + <wsdl:output message="tns:DictionaryListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpGetIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpGetIn" /> + <wsdl:output message="tns:DictionaryInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpGetIn" /> + <wsdl:output message="tns:DefineHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpGetIn" /> + <wsdl:output message="tns:DefineInDictHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpGetIn" /> + <wsdl:output message="tns:StrategyListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpGetIn" /> + <wsdl:output message="tns:MatchHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpGetIn" /> + <wsdl:output message="tns:MatchInDictHttpGetOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpPost"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpPostIn" /> + <wsdl:output message="tns:ServerInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpPostIn" /> + <wsdl:output message="tns:DictionaryListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpPostIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpPostIn" /> + <wsdl:output message="tns:DictionaryInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpPostIn" /> + <wsdl:output message="tns:DefineHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpPostIn" /> + <wsdl:output message="tns:DefineInDictHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpPostIn" /> + <wsdl:output message="tns:StrategyListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpPostIn" /> + <wsdl:output message="tns:MatchHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpPostIn" /> + <wsdl:output message="tns:MatchInDictHttpPostOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="DictServiceSoap" type="tns:DictServiceSoap"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" 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="DictServiceSoap12" type="tns:DictServiceSoap"> + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpGet" type="tns:DictServiceHttpGet"> + <http:binding verb="GET" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpPost" type="tns:DictServiceHttpPost"> + <http:binding verb="POST" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="DictService"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:port name="DictServiceSoap" binding="tns:DictServiceSoap"> + <soap:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceSoap12" binding="tns:DictServiceSoap12"> + <soap12:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpGet" binding="tns:DictServiceHttpGet"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpPost" binding="tns:DictServiceHttpPost"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + </wsdl:service> +</wsdl:definitions>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.Dictionary.datasource b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.Dictionary.datasource new file mode 100644 index 0000000..da71a7f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.Dictionary.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Dictionary" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise9.DictionarySuggestService.Dictionary, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.DictionaryWord.datasource b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.DictionaryWord.datasource new file mode 100644 index 0000000..3f223e3 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.DictionaryWord.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="DictionaryWord" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise9.DictionarySuggestService.DictionaryWord, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.Strategy.datasource b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.Strategy.datasource new file mode 100644 index 0000000..948a45e --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.Strategy.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Strategy" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise9.DictionarySuggestService.Strategy, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.WordDefinition.datasource b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.WordDefinition.datasource new file mode 100644 index 0000000..0e2e8ed --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.WordDefinition.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="WordDefinition" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise9.DictionarySuggestService.WordDefinition, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/Reference.cs b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/Reference.cs new file mode 100644 index 0000000..3b17164 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/Reference.cs @@ -0,0 +1,1064 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.431 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace Excercise9.DictionarySuggestService { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://services.aonaware.com/webservices/", ConfigurationName="DictionarySuggestService.DictServiceSoap")] + public interface DictServiceSoap { + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string ServerInfo(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState); + + string EndServerInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryListExtended(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryListExtended(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string DictionaryInfo(string dictId); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState); + + string EndDictionaryInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise9.DictionarySuggestService.WordDefinition Define(string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState); + + Excercise9.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise9.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState); + + Excercise9.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Strategy[] StrategyList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState); + + Strategy[] EndStrategyList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] Match(string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatch(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] MatchInDict(string dictId, string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatchInDict(System.IAsyncResult result); + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Dictionary : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string nameField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class DictionaryWord : object, System.ComponentModel.INotifyPropertyChanged { + + private string dictionaryIdField; + + private string wordField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string DictionaryId { + get { + return this.dictionaryIdField; + } + set { + this.dictionaryIdField = value; + this.RaisePropertyChanged("DictionaryId"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Strategy : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string descriptionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Definition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Dictionary dictionaryField; + + private string wordDefinitionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public Dictionary Dictionary { + get { + return this.dictionaryField; + } + set { + this.dictionaryField = value; + this.RaisePropertyChanged("Dictionary"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string WordDefinition { + get { + return this.wordDefinitionField; + } + set { + this.wordDefinitionField = value; + this.RaisePropertyChanged("WordDefinition"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class WordDefinition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Definition[] definitionsField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public Definition[] Definitions { + get { + return this.definitionsField; + } + set { + this.definitionsField = value; + this.RaisePropertyChanged("Definitions"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface DictServiceSoapChannel : Excercise9.DictionarySuggestService.DictServiceSoap, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class ServerInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public ServerInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListExtendedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListExtendedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise9.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise9.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise9.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise9.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class StrategyListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public StrategyListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Strategy[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Strategy[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictServiceSoapClient : System.ServiceModel.ClientBase<Excercise9.DictionarySuggestService.DictServiceSoap>, Excercise9.DictionarySuggestService.DictServiceSoap { + + private BeginOperationDelegate onBeginServerInfoDelegate; + + private EndOperationDelegate onEndServerInfoDelegate; + + private System.Threading.SendOrPostCallback onServerInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListDelegate; + + private EndOperationDelegate onEndDictionaryListDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListExtendedDelegate; + + private EndOperationDelegate onEndDictionaryListExtendedDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListExtendedCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryInfoDelegate; + + private EndOperationDelegate onEndDictionaryInfoDelegate; + + private System.Threading.SendOrPostCallback onDictionaryInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDefineDelegate; + + private EndOperationDelegate onEndDefineDelegate; + + private System.Threading.SendOrPostCallback onDefineCompletedDelegate; + + private BeginOperationDelegate onBeginDefineInDictDelegate; + + private EndOperationDelegate onEndDefineInDictDelegate; + + private System.Threading.SendOrPostCallback onDefineInDictCompletedDelegate; + + private BeginOperationDelegate onBeginStrategyListDelegate; + + private EndOperationDelegate onEndStrategyListDelegate; + + private System.Threading.SendOrPostCallback onStrategyListCompletedDelegate; + + private BeginOperationDelegate onBeginMatchDelegate; + + private EndOperationDelegate onEndMatchDelegate; + + private System.Threading.SendOrPostCallback onMatchCompletedDelegate; + + private BeginOperationDelegate onBeginMatchInDictDelegate; + + private EndOperationDelegate onEndMatchInDictDelegate; + + private System.Threading.SendOrPostCallback onMatchInDictCompletedDelegate; + + public DictServiceSoapClient() { + } + + public DictServiceSoapClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public DictServiceSoapClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + public event System.EventHandler<ServerInfoCompletedEventArgs> ServerInfoCompleted; + + public event System.EventHandler<DictionaryListCompletedEventArgs> DictionaryListCompleted; + + public event System.EventHandler<DictionaryListExtendedCompletedEventArgs> DictionaryListExtendedCompleted; + + public event System.EventHandler<DictionaryInfoCompletedEventArgs> DictionaryInfoCompleted; + + public event System.EventHandler<DefineCompletedEventArgs> DefineCompleted; + + public event System.EventHandler<DefineInDictCompletedEventArgs> DefineInDictCompleted; + + public event System.EventHandler<StrategyListCompletedEventArgs> StrategyListCompleted; + + public event System.EventHandler<MatchCompletedEventArgs> MatchCompleted; + + public event System.EventHandler<MatchInDictCompletedEventArgs> MatchInDictCompleted; + + public string ServerInfo() { + return base.Channel.ServerInfo(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginServerInfo(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndServerInfo(System.IAsyncResult result) { + return base.Channel.EndServerInfo(result); + } + + private System.IAsyncResult OnBeginServerInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginServerInfo(callback, asyncState); + } + + private object[] OnEndServerInfo(System.IAsyncResult result) { + string retVal = this.EndServerInfo(result); + return new object[] { + retVal}; + } + + private void OnServerInfoCompleted(object state) { + if ((this.ServerInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.ServerInfoCompleted(this, new ServerInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void ServerInfoAsync() { + this.ServerInfoAsync(null); + } + + public void ServerInfoAsync(object userState) { + if ((this.onBeginServerInfoDelegate == null)) { + this.onBeginServerInfoDelegate = new BeginOperationDelegate(this.OnBeginServerInfo); + } + if ((this.onEndServerInfoDelegate == null)) { + this.onEndServerInfoDelegate = new EndOperationDelegate(this.OnEndServerInfo); + } + if ((this.onServerInfoCompletedDelegate == null)) { + this.onServerInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnServerInfoCompleted); + } + base.InvokeAsync(this.onBeginServerInfoDelegate, null, this.onEndServerInfoDelegate, this.onServerInfoCompletedDelegate, userState); + } + + public Dictionary[] DictionaryList() { + return base.Channel.DictionaryList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryList(System.IAsyncResult result) { + return base.Channel.EndDictionaryList(result); + } + + private System.IAsyncResult OnBeginDictionaryList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryList(callback, asyncState); + } + + private object[] OnEndDictionaryList(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryList(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListCompleted(object state) { + if ((this.DictionaryListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListCompleted(this, new DictionaryListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListAsync() { + this.DictionaryListAsync(null); + } + + public void DictionaryListAsync(object userState) { + if ((this.onBeginDictionaryListDelegate == null)) { + this.onBeginDictionaryListDelegate = new BeginOperationDelegate(this.OnBeginDictionaryList); + } + if ((this.onEndDictionaryListDelegate == null)) { + this.onEndDictionaryListDelegate = new EndOperationDelegate(this.OnEndDictionaryList); + } + if ((this.onDictionaryListCompletedDelegate == null)) { + this.onDictionaryListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListDelegate, null, this.onEndDictionaryListDelegate, this.onDictionaryListCompletedDelegate, userState); + } + + public Dictionary[] DictionaryListExtended() { + return base.Channel.DictionaryListExtended(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryListExtended(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryListExtended(System.IAsyncResult result) { + return base.Channel.EndDictionaryListExtended(result); + } + + private System.IAsyncResult OnBeginDictionaryListExtended(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryListExtended(callback, asyncState); + } + + private object[] OnEndDictionaryListExtended(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryListExtended(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListExtendedCompleted(object state) { + if ((this.DictionaryListExtendedCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListExtendedCompleted(this, new DictionaryListExtendedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListExtendedAsync() { + this.DictionaryListExtendedAsync(null); + } + + public void DictionaryListExtendedAsync(object userState) { + if ((this.onBeginDictionaryListExtendedDelegate == null)) { + this.onBeginDictionaryListExtendedDelegate = new BeginOperationDelegate(this.OnBeginDictionaryListExtended); + } + if ((this.onEndDictionaryListExtendedDelegate == null)) { + this.onEndDictionaryListExtendedDelegate = new EndOperationDelegate(this.OnEndDictionaryListExtended); + } + if ((this.onDictionaryListExtendedCompletedDelegate == null)) { + this.onDictionaryListExtendedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListExtendedCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListExtendedDelegate, null, this.onEndDictionaryListExtendedDelegate, this.onDictionaryListExtendedCompletedDelegate, userState); + } + + public string DictionaryInfo(string dictId) { + return base.Channel.DictionaryInfo(dictId); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryInfo(dictId, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndDictionaryInfo(System.IAsyncResult result) { + return base.Channel.EndDictionaryInfo(result); + } + + private System.IAsyncResult OnBeginDictionaryInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + return this.BeginDictionaryInfo(dictId, callback, asyncState); + } + + private object[] OnEndDictionaryInfo(System.IAsyncResult result) { + string retVal = this.EndDictionaryInfo(result); + return new object[] { + retVal}; + } + + private void OnDictionaryInfoCompleted(object state) { + if ((this.DictionaryInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryInfoCompleted(this, new DictionaryInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryInfoAsync(string dictId) { + this.DictionaryInfoAsync(dictId, null); + } + + public void DictionaryInfoAsync(string dictId, object userState) { + if ((this.onBeginDictionaryInfoDelegate == null)) { + this.onBeginDictionaryInfoDelegate = new BeginOperationDelegate(this.OnBeginDictionaryInfo); + } + if ((this.onEndDictionaryInfoDelegate == null)) { + this.onEndDictionaryInfoDelegate = new EndOperationDelegate(this.OnEndDictionaryInfo); + } + if ((this.onDictionaryInfoCompletedDelegate == null)) { + this.onDictionaryInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryInfoCompleted); + } + base.InvokeAsync(this.onBeginDictionaryInfoDelegate, new object[] { + dictId}, this.onEndDictionaryInfoDelegate, this.onDictionaryInfoCompletedDelegate, userState); + } + + public Excercise9.DictionarySuggestService.WordDefinition Define(string word) { + return base.Channel.Define(word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefine(word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise9.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result) { + return base.Channel.EndDefine(result); + } + + private System.IAsyncResult OnBeginDefine(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + return this.BeginDefine(word, callback, asyncState); + } + + private object[] OnEndDefine(System.IAsyncResult result) { + Excercise9.DictionarySuggestService.WordDefinition retVal = this.EndDefine(result); + return new object[] { + retVal}; + } + + private void OnDefineCompleted(object state) { + if ((this.DefineCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineCompleted(this, new DefineCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineAsync(string word) { + this.DefineAsync(word, null); + } + + public void DefineAsync(string word, object userState) { + if ((this.onBeginDefineDelegate == null)) { + this.onBeginDefineDelegate = new BeginOperationDelegate(this.OnBeginDefine); + } + if ((this.onEndDefineDelegate == null)) { + this.onEndDefineDelegate = new EndOperationDelegate(this.OnEndDefine); + } + if ((this.onDefineCompletedDelegate == null)) { + this.onDefineCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineCompleted); + } + base.InvokeAsync(this.onBeginDefineDelegate, new object[] { + word}, this.onEndDefineDelegate, this.onDefineCompletedDelegate, userState); + } + + public Excercise9.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word) { + return base.Channel.DefineInDict(dictId, word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefineInDict(dictId, word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise9.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result) { + return base.Channel.EndDefineInDict(result); + } + + private System.IAsyncResult OnBeginDefineInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + return this.BeginDefineInDict(dictId, word, callback, asyncState); + } + + private object[] OnEndDefineInDict(System.IAsyncResult result) { + Excercise9.DictionarySuggestService.WordDefinition retVal = this.EndDefineInDict(result); + return new object[] { + retVal}; + } + + private void OnDefineInDictCompleted(object state) { + if ((this.DefineInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineInDictCompleted(this, new DefineInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineInDictAsync(string dictId, string word) { + this.DefineInDictAsync(dictId, word, null); + } + + public void DefineInDictAsync(string dictId, string word, object userState) { + if ((this.onBeginDefineInDictDelegate == null)) { + this.onBeginDefineInDictDelegate = new BeginOperationDelegate(this.OnBeginDefineInDict); + } + if ((this.onEndDefineInDictDelegate == null)) { + this.onEndDefineInDictDelegate = new EndOperationDelegate(this.OnEndDefineInDict); + } + if ((this.onDefineInDictCompletedDelegate == null)) { + this.onDefineInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineInDictCompleted); + } + base.InvokeAsync(this.onBeginDefineInDictDelegate, new object[] { + dictId, + word}, this.onEndDefineInDictDelegate, this.onDefineInDictCompletedDelegate, userState); + } + + public Strategy[] StrategyList() { + return base.Channel.StrategyList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginStrategyList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Strategy[] EndStrategyList(System.IAsyncResult result) { + return base.Channel.EndStrategyList(result); + } + + private System.IAsyncResult OnBeginStrategyList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginStrategyList(callback, asyncState); + } + + private object[] OnEndStrategyList(System.IAsyncResult result) { + Strategy[] retVal = this.EndStrategyList(result); + return new object[] { + retVal}; + } + + private void OnStrategyListCompleted(object state) { + if ((this.StrategyListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.StrategyListCompleted(this, new StrategyListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void StrategyListAsync() { + this.StrategyListAsync(null); + } + + public void StrategyListAsync(object userState) { + if ((this.onBeginStrategyListDelegate == null)) { + this.onBeginStrategyListDelegate = new BeginOperationDelegate(this.OnBeginStrategyList); + } + if ((this.onEndStrategyListDelegate == null)) { + this.onEndStrategyListDelegate = new EndOperationDelegate(this.OnEndStrategyList); + } + if ((this.onStrategyListCompletedDelegate == null)) { + this.onStrategyListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStrategyListCompleted); + } + base.InvokeAsync(this.onBeginStrategyListDelegate, null, this.onEndStrategyListDelegate, this.onStrategyListCompletedDelegate, userState); + } + + public DictionaryWord[] Match(string word, string strategy) { + return base.Channel.Match(word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatch(word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatch(System.IAsyncResult result) { + return base.Channel.EndMatch(result); + } + + private System.IAsyncResult OnBeginMatch(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + string strategy = ((string)(inValues[1])); + return this.BeginMatch(word, strategy, callback, asyncState); + } + + private object[] OnEndMatch(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatch(result); + return new object[] { + retVal}; + } + + private void OnMatchCompleted(object state) { + if ((this.MatchCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchCompleted(this, new MatchCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchAsync(string word, string strategy) { + this.MatchAsync(word, strategy, null); + } + + public void MatchAsync(string word, string strategy, object userState) { + if ((this.onBeginMatchDelegate == null)) { + this.onBeginMatchDelegate = new BeginOperationDelegate(this.OnBeginMatch); + } + if ((this.onEndMatchDelegate == null)) { + this.onEndMatchDelegate = new EndOperationDelegate(this.OnEndMatch); + } + if ((this.onMatchCompletedDelegate == null)) { + this.onMatchCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchCompleted); + } + base.InvokeAsync(this.onBeginMatchDelegate, new object[] { + word, + strategy}, this.onEndMatchDelegate, this.onMatchCompletedDelegate, userState); + } + + public DictionaryWord[] MatchInDict(string dictId, string word, string strategy) { + return base.Channel.MatchInDict(dictId, word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatchInDict(System.IAsyncResult result) { + return base.Channel.EndMatchInDict(result); + } + + private System.IAsyncResult OnBeginMatchInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + string strategy = ((string)(inValues[2])); + return this.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + private object[] OnEndMatchInDict(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatchInDict(result); + return new object[] { + retVal}; + } + + private void OnMatchInDictCompleted(object state) { + if ((this.MatchInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchInDictCompleted(this, new MatchInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchInDictAsync(string dictId, string word, string strategy) { + this.MatchInDictAsync(dictId, word, strategy, null); + } + + public void MatchInDictAsync(string dictId, string word, string strategy, object userState) { + if ((this.onBeginMatchInDictDelegate == null)) { + this.onBeginMatchInDictDelegate = new BeginOperationDelegate(this.OnBeginMatchInDict); + } + if ((this.onEndMatchInDictDelegate == null)) { + this.onEndMatchInDictDelegate = new EndOperationDelegate(this.OnEndMatchInDict); + } + if ((this.onMatchInDictCompletedDelegate == null)) { + this.onMatchInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchInDictCompleted); + } + base.InvokeAsync(this.onBeginMatchInDictDelegate, new object[] { + dictId, + word, + strategy}, this.onEndMatchInDictDelegate, this.onMatchInDictCompletedDelegate, userState); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/Reference.svcmap b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/Reference.svcmap new file mode 100644 index 0000000..262793d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/Reference.svcmap @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="e75a076a-da23-4f7a-863b-068b0bcdc64a" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap"> + <ClientOptions> + <GenerateAsynchronousMethods>true</GenerateAsynchronousMethods> + <EnableDataBinding>true</EnableDataBinding> + <ExcludedTypes /> + <ImportXmlTypes>false</ImportXmlTypes> + <GenerateInternalTypes>false</GenerateInternalTypes> + <GenerateMessageContracts>false</GenerateMessageContracts> + <NamespaceMappings /> + <CollectionMappings /> + <GenerateSerializableTypes>true</GenerateSerializableTypes> + <Serializer>Auto</Serializer> + <UseSerializerForFaults>true</UseSerializerForFaults> + <ReferenceAllAssemblies>true</ReferenceAllAssemblies> + <ReferencedAssemblies /> + <ReferencedDataContractTypes /> + <ServiceContractMappings /> + </ClientOptions> + <MetadataSources> + <MetadataSource Address="http://services.aonaware.com/DictService/DictService.asmx" Protocol="http" SourceId="1" /> + </MetadataSources> + <Metadata> + <MetadataFile FileName="DictService.disco" MetadataType="Disco" ID="ec8a6728-2d46-4424-a9cb-a89dbf639570" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?disco" /> + <MetadataFile FileName="DictService.wsdl" MetadataType="Wsdl" ID="dbe33f76-54f8-4c5a-b509-af92c391b3a3" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?wsdl" /> + </Metadata> + <Extensions> + <ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" /> + <ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" /> + </Extensions> +</ReferenceGroup>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/configuration.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/configuration.svcinfo new file mode 100644 index 0000000..a856d3d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/configuration.svcinfo @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot"> + <behaviors /> + <bindings> + <binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" messageEncoding="Text" name="DictServiceSoap" textEncoding="utf-8" transferMode="Buffered"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /><security mode="None"><message algorithmSuite="Default" clientCredentialType="UserName" /><transport clientCredentialType="None" proxyCredentialType="None" realm="" /></security></Data>" bindingType="basicHttpBinding" name="DictServiceSoap" /> + <binding digest="System.ServiceModel.Configuration.CustomBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="DictServiceSoap12"><httpTransport allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" manualAddressing="false" maxBufferPoolSize="524288" maxBufferSize="65536" maxReceivedMessageSize="65536" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" /><textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap12" writeEncoding="utf-8"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /></textMessageEncoding></Data>" bindingType="customBinding" name="DictServiceSoap12" /> + </bindings> + <endpoints> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </endpoints> +</configurationSnapshot>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/configuration91.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/configuration91.svcinfo new file mode 100644 index 0000000..2599177 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/Service References/DictionarySuggestService/configuration91.svcinfo @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="Cb1mlQVfrIvXhoWXP+TpwPhxgGY="> + <bindingConfigurations> + <bindingConfiguration bindingType="basicHttpBinding" name="DictServiceSoap"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:10:00</serializedValue> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Text</serializedValue> + </property> + <property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue> + </property> + <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue> + </property> + <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + <property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue> + </property> + <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>UserName</serializedValue> + </property> + <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Default</serializedValue> + </property> + <property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + </properties> + </bindingConfiguration> + <bindingConfiguration bindingType="customBinding" name="DictServiceSoap12"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/textMessageEncoding" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TextMessageEncodingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.TextMessageEncodingElement</serializedValue> + </property> + <property path="/textMessageEncoding/maxReadPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>64</serializedValue> + </property> + <property path="/textMessageEncoding/maxWritePoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16</serializedValue> + </property> + <property path="/textMessageEncoding/messageVersion" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.MessageVersion, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Soap12</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/writeEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/httpTransport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportElement</serializedValue> + </property> + <property path="/httpTransport/manualAddressing" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/httpTransport/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/authenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/decompressionEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/httpTransport/keepAliveEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/proxyAddress" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/proxyAuthenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/httpTransport/unsafeConnectionNtlmAuthentication" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + </properties> + </bindingConfiguration> + </bindingConfigurations> + <endpoints> + <endpoint name="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" bindingType="basicHttpBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>basicHttpBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + <endpoint name="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" bindingType="customBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap12"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>customBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + </endpoints> +</SavedWcfConfigurationInformation>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step01/app.config b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/app.config new file mode 100644 index 0000000..cf1770f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step01/app.config @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <system.serviceModel> + <bindings> + <basicHttpBinding> + <binding name="DictServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" + receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" + bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" + maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" + messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" + useDefaultWebProxy="true"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + <security mode="None"> + <transport clientCredentialType="None" proxyCredentialType="None" + realm="" /> + <message clientCredentialType="UserName" algorithmSuite="Default" /> + </security> + </binding> + </basicHttpBinding> + <customBinding> + <binding name="DictServiceSoap12"> + <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" + messageVersion="Soap12" writeEncoding="utf-8"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + </textMessageEncoding> + <httpTransport manualAddressing="false" maxBufferPoolSize="524288" + maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous" + bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" + keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous" + realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" + useDefaultWebProxy="true" /> + </binding> + </customBinding> + </bindings> + <client> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="customBinding" bindingConfiguration="DictServiceSoap12" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </client> + </system.serviceModel> +</configuration>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Excercise9.csproj b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Excercise9.csproj new file mode 100644 index 0000000..c10a3c4 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Excercise9.csproj @@ -0,0 +1,105 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{E127C33D-FB10-4F17-A79A-6669A51F021D}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise9</RootNamespace> + <AssemblyName>Excercise9</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Reactive.Windows.Forms, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.ServiceModel" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Service References\DictionarySuggestService\Reference.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Reference.svcmap</DependentUpon> + </Compile> + </ItemGroup> + <ItemGroup> + <WCFMetadata Include="Service References\" /> + </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + <None Include="Service References\DictionarySuggestService\DictService.wsdl" /> + </ItemGroup> + <ItemGroup> + <WCFMetadataStorage Include="Service References\DictionarySuggestService\" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\DictService.disco" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration91.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\Excercise9.DictionarySuggestService.Dictionary.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise9.DictionarySuggestService.DictionaryWord.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise9.DictionarySuggestService.Strategy.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise9.DictionarySuggestService.WordDefinition.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Reference.svcmap"> + <Generator>WCF Proxy Generator</Generator> + <LastGenOutput>Reference.cs</LastGenOutput> + </None> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Excercise9.sln b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Excercise9.sln new file mode 100644 index 0000000..c4506a2 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Excercise9.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise9", "Excercise9.csproj", "{E127C33D-FB10-4F17-A79A-6669A51F021D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E127C33D-FB10-4F17-A79A-6669A51F021D}.Debug|x86.ActiveCfg = Debug|x86 + {E127C33D-FB10-4F17-A79A-6669A51F021D}.Debug|x86.Build.0 = Debug|x86 + {E127C33D-FB10-4F17-A79A-6669A51F021D}.Release|x86.ActiveCfg = Release|x86 + {E127C33D-FB10-4F17-A79A-6669A51F021D}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Program.cs new file mode 100644 index 0000000..57afa4a --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Program.cs @@ -0,0 +1,68 @@ +using System; +using System.Linq; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; +using Excercise9.DictionarySuggestService; + +namespace Excercise9 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + var lst = new ListBox { Top = txt.Height + 10 }; + + var frm = new Form() + { + Controls = { txt, lst } + }; + +#if PRODUCTION + // Turn the user input into a tamed sequence of strings. + var textChanged = from evt in Observable.FromEventPattern(txt, "TextChanged") + select ((TextBox)evt.Sender).Text; + + var input = textChanged + .Throttle(TimeSpan.FromSeconds(1)) + .DistinctUntilChanged(); +#else + // Test input + var input = (from len in Enumerable.Range(3, 8) + select "reactive".Substring(0, len)) // rea, reac, react, reacti, reactiv, reactive + .ToObservable(); +#endif + + // Bridge with the web service's MatchInDict method. + var svc = new DictServiceSoapClient("DictServiceSoap"); + var matchInDict = Observable.FromAsyncPattern<string, string, string, DictionaryWord[]> + (svc.BeginMatchInDict, svc.EndMatchInDict); + + Func<string, IObservable<DictionaryWord[]>> matchInWordNetByPrefix = + term => matchInDict("wn", term, "prefix"); + + // The grand composition connecting the user input with the web service. + var res = (from term in input + select matchInWordNetByPrefix(term)) + .Switch(); + + // Synchronize with the UI thread and populate the ListBox or signal an error. + using (res.ObserveOn(lst).Subscribe( + words => + { + lst.Items.Clear(); + lst.Items.AddRange((from word in words select word.Word).ToArray()); + }, + ex => + { + MessageBox.Show( + "An error occurred: " + ex.Message, frm.Text, MessageBoxButtons.OK, MessageBoxIcon.Error + ); + })) + { + Application.Run(frm); + } // Proper disposal happens upon exiting the application. + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..94328f9 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise9")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise9")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/DictService.disco b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/DictService.disco new file mode 100644 index 0000000..d8b4769 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/DictService.disco @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> + <contractRef ref="http://services.aonaware.com/DictService/DictService.asmx?wsdl" docRef="http://services.aonaware.com/DictService/DictService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q1="http://services.aonaware.com/webservices/" binding="q1:DictServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q2="http://services.aonaware.com/webservices/" binding="q2:DictServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> +</discovery>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/DictService.wsdl b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/DictService.wsdl new file mode 100644 index 0000000..72a8189 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/DictService.wsdl @@ -0,0 +1,824 @@ +<?xml version="1.0" encoding="utf-8"?> +<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://services.aonaware.com/webservices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://services.aonaware.com/webservices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:types> + <s:schema elementFormDefault="qualified" targetNamespace="http://services.aonaware.com/webservices/"> + <s:element name="ServerInfo"> + <s:complexType /> + </s:element> + <s:element name="ServerInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="ServerInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryList"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Dictionary" nillable="true" type="tns:Dictionary" /> + </s:sequence> + </s:complexType> + <s:complexType name="Dictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DictionaryListExtended"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListExtendedResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListExtendedResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfo"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="Define"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="WordDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Definitions" type="tns:ArrayOfDefinition" /> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Definition" nillable="true" type="tns:Definition" /> + </s:sequence> + </s:complexType> + <s:complexType name="Definition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Dictionary" type="tns:Dictionary" /> + <s:element minOccurs="0" maxOccurs="1" name="WordDefinition" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DefineInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineInDictResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="StrategyList"> + <s:complexType /> + </s:element> + <s:element name="StrategyListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="StrategyListResult" type="tns:ArrayOfStrategy" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfStrategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Strategy" nillable="true" type="tns:Strategy" /> + </s:sequence> + </s:complexType> + <s:complexType name="Strategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="Match"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="DictionaryWord" nillable="true" type="tns:DictionaryWord" /> + </s:sequence> + </s:complexType> + <s:complexType name="DictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="MatchInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchInDictResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="string" nillable="true" type="s:string" /> + <s:element name="ArrayOfDictionary" nillable="true" type="tns:ArrayOfDictionary" /> + <s:element name="WordDefinition" nillable="true" type="tns:WordDefinition" /> + <s:element name="ArrayOfStrategy" nillable="true" type="tns:ArrayOfStrategy" /> + <s:element name="ArrayOfDictionaryWord" nillable="true" type="tns:ArrayOfDictionaryWord" /> + </s:schema> + </wsdl:types> + <wsdl:message name="ServerInfoSoapIn"> + <wsdl:part name="parameters" element="tns:ServerInfo" /> + </wsdl:message> + <wsdl:message name="ServerInfoSoapOut"> + <wsdl:part name="parameters" element="tns:ServerInfoResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryList" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryListExtended" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListExtendedResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryInfo" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryInfoResponse" /> + </wsdl:message> + <wsdl:message name="DefineSoapIn"> + <wsdl:part name="parameters" element="tns:Define" /> + </wsdl:message> + <wsdl:message name="DefineSoapOut"> + <wsdl:part name="parameters" element="tns:DefineResponse" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapIn"> + <wsdl:part name="parameters" element="tns:DefineInDict" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapOut"> + <wsdl:part name="parameters" element="tns:DefineInDictResponse" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapIn"> + <wsdl:part name="parameters" element="tns:StrategyList" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapOut"> + <wsdl:part name="parameters" element="tns:StrategyListResponse" /> + </wsdl:message> + <wsdl:message name="MatchSoapIn"> + <wsdl:part name="parameters" element="tns:Match" /> + </wsdl:message> + <wsdl:message name="MatchSoapOut"> + <wsdl:part name="parameters" element="tns:MatchResponse" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapIn"> + <wsdl:part name="parameters" element="tns:MatchInDict" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapOut"> + <wsdl:part name="parameters" element="tns:MatchInDictResponse" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpGetIn" /> + <wsdl:message name="ServerInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpGetIn" /> + <wsdl:message name="DictionaryListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpGetIn" /> + <wsdl:message name="DictionaryListExtendedHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpGetIn" /> + <wsdl:message name="StrategyListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpPostIn" /> + <wsdl:message name="ServerInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpPostIn" /> + <wsdl:message name="DictionaryListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpPostIn" /> + <wsdl:message name="DictionaryListExtendedHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpPostIn" /> + <wsdl:message name="StrategyListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:portType name="DictServiceSoap"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoSoapIn" /> + <wsdl:output message="tns:ServerInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListSoapIn" /> + <wsdl:output message="tns:DictionaryListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedSoapIn" /> + <wsdl:output message="tns:DictionaryListExtendedSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoSoapIn" /> + <wsdl:output message="tns:DictionaryInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineSoapIn" /> + <wsdl:output message="tns:DefineSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictSoapIn" /> + <wsdl:output message="tns:DefineInDictSoapOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListSoapIn" /> + <wsdl:output message="tns:StrategyListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchSoapIn" /> + <wsdl:output message="tns:MatchSoapOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictSoapIn" /> + <wsdl:output message="tns:MatchInDictSoapOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpGet"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpGetIn" /> + <wsdl:output message="tns:ServerInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpGetIn" /> + <wsdl:output message="tns:DictionaryListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpGetIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpGetIn" /> + <wsdl:output message="tns:DictionaryInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpGetIn" /> + <wsdl:output message="tns:DefineHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpGetIn" /> + <wsdl:output message="tns:DefineInDictHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpGetIn" /> + <wsdl:output message="tns:StrategyListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpGetIn" /> + <wsdl:output message="tns:MatchHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpGetIn" /> + <wsdl:output message="tns:MatchInDictHttpGetOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpPost"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpPostIn" /> + <wsdl:output message="tns:ServerInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpPostIn" /> + <wsdl:output message="tns:DictionaryListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpPostIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpPostIn" /> + <wsdl:output message="tns:DictionaryInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpPostIn" /> + <wsdl:output message="tns:DefineHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpPostIn" /> + <wsdl:output message="tns:DefineInDictHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpPostIn" /> + <wsdl:output message="tns:StrategyListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpPostIn" /> + <wsdl:output message="tns:MatchHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpPostIn" /> + <wsdl:output message="tns:MatchInDictHttpPostOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="DictServiceSoap" type="tns:DictServiceSoap"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" 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="DictServiceSoap12" type="tns:DictServiceSoap"> + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpGet" type="tns:DictServiceHttpGet"> + <http:binding verb="GET" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpPost" type="tns:DictServiceHttpPost"> + <http:binding verb="POST" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="DictService"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:port name="DictServiceSoap" binding="tns:DictServiceSoap"> + <soap:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceSoap12" binding="tns:DictServiceSoap12"> + <soap12:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpGet" binding="tns:DictServiceHttpGet"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpPost" binding="tns:DictServiceHttpPost"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + </wsdl:service> +</wsdl:definitions>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.Dictionary.datasource b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.Dictionary.datasource new file mode 100644 index 0000000..da71a7f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.Dictionary.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Dictionary" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise9.DictionarySuggestService.Dictionary, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.DictionaryWord.datasource b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.DictionaryWord.datasource new file mode 100644 index 0000000..3f223e3 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.DictionaryWord.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="DictionaryWord" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise9.DictionarySuggestService.DictionaryWord, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.Strategy.datasource b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.Strategy.datasource new file mode 100644 index 0000000..948a45e --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.Strategy.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Strategy" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise9.DictionarySuggestService.Strategy, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.WordDefinition.datasource b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.WordDefinition.datasource new file mode 100644 index 0000000..0e2e8ed --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.WordDefinition.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="WordDefinition" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise9.DictionarySuggestService.WordDefinition, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/Reference.cs b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/Reference.cs new file mode 100644 index 0000000..3b17164 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/Reference.cs @@ -0,0 +1,1064 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.431 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace Excercise9.DictionarySuggestService { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://services.aonaware.com/webservices/", ConfigurationName="DictionarySuggestService.DictServiceSoap")] + public interface DictServiceSoap { + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string ServerInfo(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState); + + string EndServerInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryListExtended(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryListExtended(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string DictionaryInfo(string dictId); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState); + + string EndDictionaryInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise9.DictionarySuggestService.WordDefinition Define(string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState); + + Excercise9.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise9.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState); + + Excercise9.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Strategy[] StrategyList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState); + + Strategy[] EndStrategyList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] Match(string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatch(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] MatchInDict(string dictId, string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatchInDict(System.IAsyncResult result); + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Dictionary : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string nameField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class DictionaryWord : object, System.ComponentModel.INotifyPropertyChanged { + + private string dictionaryIdField; + + private string wordField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string DictionaryId { + get { + return this.dictionaryIdField; + } + set { + this.dictionaryIdField = value; + this.RaisePropertyChanged("DictionaryId"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Strategy : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string descriptionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Definition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Dictionary dictionaryField; + + private string wordDefinitionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public Dictionary Dictionary { + get { + return this.dictionaryField; + } + set { + this.dictionaryField = value; + this.RaisePropertyChanged("Dictionary"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string WordDefinition { + get { + return this.wordDefinitionField; + } + set { + this.wordDefinitionField = value; + this.RaisePropertyChanged("WordDefinition"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class WordDefinition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Definition[] definitionsField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public Definition[] Definitions { + get { + return this.definitionsField; + } + set { + this.definitionsField = value; + this.RaisePropertyChanged("Definitions"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface DictServiceSoapChannel : Excercise9.DictionarySuggestService.DictServiceSoap, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class ServerInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public ServerInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListExtendedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListExtendedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise9.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise9.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise9.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise9.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class StrategyListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public StrategyListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Strategy[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Strategy[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictServiceSoapClient : System.ServiceModel.ClientBase<Excercise9.DictionarySuggestService.DictServiceSoap>, Excercise9.DictionarySuggestService.DictServiceSoap { + + private BeginOperationDelegate onBeginServerInfoDelegate; + + private EndOperationDelegate onEndServerInfoDelegate; + + private System.Threading.SendOrPostCallback onServerInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListDelegate; + + private EndOperationDelegate onEndDictionaryListDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListExtendedDelegate; + + private EndOperationDelegate onEndDictionaryListExtendedDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListExtendedCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryInfoDelegate; + + private EndOperationDelegate onEndDictionaryInfoDelegate; + + private System.Threading.SendOrPostCallback onDictionaryInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDefineDelegate; + + private EndOperationDelegate onEndDefineDelegate; + + private System.Threading.SendOrPostCallback onDefineCompletedDelegate; + + private BeginOperationDelegate onBeginDefineInDictDelegate; + + private EndOperationDelegate onEndDefineInDictDelegate; + + private System.Threading.SendOrPostCallback onDefineInDictCompletedDelegate; + + private BeginOperationDelegate onBeginStrategyListDelegate; + + private EndOperationDelegate onEndStrategyListDelegate; + + private System.Threading.SendOrPostCallback onStrategyListCompletedDelegate; + + private BeginOperationDelegate onBeginMatchDelegate; + + private EndOperationDelegate onEndMatchDelegate; + + private System.Threading.SendOrPostCallback onMatchCompletedDelegate; + + private BeginOperationDelegate onBeginMatchInDictDelegate; + + private EndOperationDelegate onEndMatchInDictDelegate; + + private System.Threading.SendOrPostCallback onMatchInDictCompletedDelegate; + + public DictServiceSoapClient() { + } + + public DictServiceSoapClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public DictServiceSoapClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + public event System.EventHandler<ServerInfoCompletedEventArgs> ServerInfoCompleted; + + public event System.EventHandler<DictionaryListCompletedEventArgs> DictionaryListCompleted; + + public event System.EventHandler<DictionaryListExtendedCompletedEventArgs> DictionaryListExtendedCompleted; + + public event System.EventHandler<DictionaryInfoCompletedEventArgs> DictionaryInfoCompleted; + + public event System.EventHandler<DefineCompletedEventArgs> DefineCompleted; + + public event System.EventHandler<DefineInDictCompletedEventArgs> DefineInDictCompleted; + + public event System.EventHandler<StrategyListCompletedEventArgs> StrategyListCompleted; + + public event System.EventHandler<MatchCompletedEventArgs> MatchCompleted; + + public event System.EventHandler<MatchInDictCompletedEventArgs> MatchInDictCompleted; + + public string ServerInfo() { + return base.Channel.ServerInfo(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginServerInfo(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndServerInfo(System.IAsyncResult result) { + return base.Channel.EndServerInfo(result); + } + + private System.IAsyncResult OnBeginServerInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginServerInfo(callback, asyncState); + } + + private object[] OnEndServerInfo(System.IAsyncResult result) { + string retVal = this.EndServerInfo(result); + return new object[] { + retVal}; + } + + private void OnServerInfoCompleted(object state) { + if ((this.ServerInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.ServerInfoCompleted(this, new ServerInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void ServerInfoAsync() { + this.ServerInfoAsync(null); + } + + public void ServerInfoAsync(object userState) { + if ((this.onBeginServerInfoDelegate == null)) { + this.onBeginServerInfoDelegate = new BeginOperationDelegate(this.OnBeginServerInfo); + } + if ((this.onEndServerInfoDelegate == null)) { + this.onEndServerInfoDelegate = new EndOperationDelegate(this.OnEndServerInfo); + } + if ((this.onServerInfoCompletedDelegate == null)) { + this.onServerInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnServerInfoCompleted); + } + base.InvokeAsync(this.onBeginServerInfoDelegate, null, this.onEndServerInfoDelegate, this.onServerInfoCompletedDelegate, userState); + } + + public Dictionary[] DictionaryList() { + return base.Channel.DictionaryList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryList(System.IAsyncResult result) { + return base.Channel.EndDictionaryList(result); + } + + private System.IAsyncResult OnBeginDictionaryList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryList(callback, asyncState); + } + + private object[] OnEndDictionaryList(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryList(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListCompleted(object state) { + if ((this.DictionaryListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListCompleted(this, new DictionaryListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListAsync() { + this.DictionaryListAsync(null); + } + + public void DictionaryListAsync(object userState) { + if ((this.onBeginDictionaryListDelegate == null)) { + this.onBeginDictionaryListDelegate = new BeginOperationDelegate(this.OnBeginDictionaryList); + } + if ((this.onEndDictionaryListDelegate == null)) { + this.onEndDictionaryListDelegate = new EndOperationDelegate(this.OnEndDictionaryList); + } + if ((this.onDictionaryListCompletedDelegate == null)) { + this.onDictionaryListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListDelegate, null, this.onEndDictionaryListDelegate, this.onDictionaryListCompletedDelegate, userState); + } + + public Dictionary[] DictionaryListExtended() { + return base.Channel.DictionaryListExtended(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryListExtended(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryListExtended(System.IAsyncResult result) { + return base.Channel.EndDictionaryListExtended(result); + } + + private System.IAsyncResult OnBeginDictionaryListExtended(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryListExtended(callback, asyncState); + } + + private object[] OnEndDictionaryListExtended(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryListExtended(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListExtendedCompleted(object state) { + if ((this.DictionaryListExtendedCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListExtendedCompleted(this, new DictionaryListExtendedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListExtendedAsync() { + this.DictionaryListExtendedAsync(null); + } + + public void DictionaryListExtendedAsync(object userState) { + if ((this.onBeginDictionaryListExtendedDelegate == null)) { + this.onBeginDictionaryListExtendedDelegate = new BeginOperationDelegate(this.OnBeginDictionaryListExtended); + } + if ((this.onEndDictionaryListExtendedDelegate == null)) { + this.onEndDictionaryListExtendedDelegate = new EndOperationDelegate(this.OnEndDictionaryListExtended); + } + if ((this.onDictionaryListExtendedCompletedDelegate == null)) { + this.onDictionaryListExtendedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListExtendedCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListExtendedDelegate, null, this.onEndDictionaryListExtendedDelegate, this.onDictionaryListExtendedCompletedDelegate, userState); + } + + public string DictionaryInfo(string dictId) { + return base.Channel.DictionaryInfo(dictId); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryInfo(dictId, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndDictionaryInfo(System.IAsyncResult result) { + return base.Channel.EndDictionaryInfo(result); + } + + private System.IAsyncResult OnBeginDictionaryInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + return this.BeginDictionaryInfo(dictId, callback, asyncState); + } + + private object[] OnEndDictionaryInfo(System.IAsyncResult result) { + string retVal = this.EndDictionaryInfo(result); + return new object[] { + retVal}; + } + + private void OnDictionaryInfoCompleted(object state) { + if ((this.DictionaryInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryInfoCompleted(this, new DictionaryInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryInfoAsync(string dictId) { + this.DictionaryInfoAsync(dictId, null); + } + + public void DictionaryInfoAsync(string dictId, object userState) { + if ((this.onBeginDictionaryInfoDelegate == null)) { + this.onBeginDictionaryInfoDelegate = new BeginOperationDelegate(this.OnBeginDictionaryInfo); + } + if ((this.onEndDictionaryInfoDelegate == null)) { + this.onEndDictionaryInfoDelegate = new EndOperationDelegate(this.OnEndDictionaryInfo); + } + if ((this.onDictionaryInfoCompletedDelegate == null)) { + this.onDictionaryInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryInfoCompleted); + } + base.InvokeAsync(this.onBeginDictionaryInfoDelegate, new object[] { + dictId}, this.onEndDictionaryInfoDelegate, this.onDictionaryInfoCompletedDelegate, userState); + } + + public Excercise9.DictionarySuggestService.WordDefinition Define(string word) { + return base.Channel.Define(word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefine(word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise9.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result) { + return base.Channel.EndDefine(result); + } + + private System.IAsyncResult OnBeginDefine(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + return this.BeginDefine(word, callback, asyncState); + } + + private object[] OnEndDefine(System.IAsyncResult result) { + Excercise9.DictionarySuggestService.WordDefinition retVal = this.EndDefine(result); + return new object[] { + retVal}; + } + + private void OnDefineCompleted(object state) { + if ((this.DefineCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineCompleted(this, new DefineCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineAsync(string word) { + this.DefineAsync(word, null); + } + + public void DefineAsync(string word, object userState) { + if ((this.onBeginDefineDelegate == null)) { + this.onBeginDefineDelegate = new BeginOperationDelegate(this.OnBeginDefine); + } + if ((this.onEndDefineDelegate == null)) { + this.onEndDefineDelegate = new EndOperationDelegate(this.OnEndDefine); + } + if ((this.onDefineCompletedDelegate == null)) { + this.onDefineCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineCompleted); + } + base.InvokeAsync(this.onBeginDefineDelegate, new object[] { + word}, this.onEndDefineDelegate, this.onDefineCompletedDelegate, userState); + } + + public Excercise9.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word) { + return base.Channel.DefineInDict(dictId, word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefineInDict(dictId, word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise9.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result) { + return base.Channel.EndDefineInDict(result); + } + + private System.IAsyncResult OnBeginDefineInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + return this.BeginDefineInDict(dictId, word, callback, asyncState); + } + + private object[] OnEndDefineInDict(System.IAsyncResult result) { + Excercise9.DictionarySuggestService.WordDefinition retVal = this.EndDefineInDict(result); + return new object[] { + retVal}; + } + + private void OnDefineInDictCompleted(object state) { + if ((this.DefineInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineInDictCompleted(this, new DefineInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineInDictAsync(string dictId, string word) { + this.DefineInDictAsync(dictId, word, null); + } + + public void DefineInDictAsync(string dictId, string word, object userState) { + if ((this.onBeginDefineInDictDelegate == null)) { + this.onBeginDefineInDictDelegate = new BeginOperationDelegate(this.OnBeginDefineInDict); + } + if ((this.onEndDefineInDictDelegate == null)) { + this.onEndDefineInDictDelegate = new EndOperationDelegate(this.OnEndDefineInDict); + } + if ((this.onDefineInDictCompletedDelegate == null)) { + this.onDefineInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineInDictCompleted); + } + base.InvokeAsync(this.onBeginDefineInDictDelegate, new object[] { + dictId, + word}, this.onEndDefineInDictDelegate, this.onDefineInDictCompletedDelegate, userState); + } + + public Strategy[] StrategyList() { + return base.Channel.StrategyList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginStrategyList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Strategy[] EndStrategyList(System.IAsyncResult result) { + return base.Channel.EndStrategyList(result); + } + + private System.IAsyncResult OnBeginStrategyList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginStrategyList(callback, asyncState); + } + + private object[] OnEndStrategyList(System.IAsyncResult result) { + Strategy[] retVal = this.EndStrategyList(result); + return new object[] { + retVal}; + } + + private void OnStrategyListCompleted(object state) { + if ((this.StrategyListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.StrategyListCompleted(this, new StrategyListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void StrategyListAsync() { + this.StrategyListAsync(null); + } + + public void StrategyListAsync(object userState) { + if ((this.onBeginStrategyListDelegate == null)) { + this.onBeginStrategyListDelegate = new BeginOperationDelegate(this.OnBeginStrategyList); + } + if ((this.onEndStrategyListDelegate == null)) { + this.onEndStrategyListDelegate = new EndOperationDelegate(this.OnEndStrategyList); + } + if ((this.onStrategyListCompletedDelegate == null)) { + this.onStrategyListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStrategyListCompleted); + } + base.InvokeAsync(this.onBeginStrategyListDelegate, null, this.onEndStrategyListDelegate, this.onStrategyListCompletedDelegate, userState); + } + + public DictionaryWord[] Match(string word, string strategy) { + return base.Channel.Match(word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatch(word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatch(System.IAsyncResult result) { + return base.Channel.EndMatch(result); + } + + private System.IAsyncResult OnBeginMatch(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + string strategy = ((string)(inValues[1])); + return this.BeginMatch(word, strategy, callback, asyncState); + } + + private object[] OnEndMatch(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatch(result); + return new object[] { + retVal}; + } + + private void OnMatchCompleted(object state) { + if ((this.MatchCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchCompleted(this, new MatchCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchAsync(string word, string strategy) { + this.MatchAsync(word, strategy, null); + } + + public void MatchAsync(string word, string strategy, object userState) { + if ((this.onBeginMatchDelegate == null)) { + this.onBeginMatchDelegate = new BeginOperationDelegate(this.OnBeginMatch); + } + if ((this.onEndMatchDelegate == null)) { + this.onEndMatchDelegate = new EndOperationDelegate(this.OnEndMatch); + } + if ((this.onMatchCompletedDelegate == null)) { + this.onMatchCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchCompleted); + } + base.InvokeAsync(this.onBeginMatchDelegate, new object[] { + word, + strategy}, this.onEndMatchDelegate, this.onMatchCompletedDelegate, userState); + } + + public DictionaryWord[] MatchInDict(string dictId, string word, string strategy) { + return base.Channel.MatchInDict(dictId, word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatchInDict(System.IAsyncResult result) { + return base.Channel.EndMatchInDict(result); + } + + private System.IAsyncResult OnBeginMatchInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + string strategy = ((string)(inValues[2])); + return this.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + private object[] OnEndMatchInDict(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatchInDict(result); + return new object[] { + retVal}; + } + + private void OnMatchInDictCompleted(object state) { + if ((this.MatchInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchInDictCompleted(this, new MatchInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchInDictAsync(string dictId, string word, string strategy) { + this.MatchInDictAsync(dictId, word, strategy, null); + } + + public void MatchInDictAsync(string dictId, string word, string strategy, object userState) { + if ((this.onBeginMatchInDictDelegate == null)) { + this.onBeginMatchInDictDelegate = new BeginOperationDelegate(this.OnBeginMatchInDict); + } + if ((this.onEndMatchInDictDelegate == null)) { + this.onEndMatchInDictDelegate = new EndOperationDelegate(this.OnEndMatchInDict); + } + if ((this.onMatchInDictCompletedDelegate == null)) { + this.onMatchInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchInDictCompleted); + } + base.InvokeAsync(this.onBeginMatchInDictDelegate, new object[] { + dictId, + word, + strategy}, this.onEndMatchInDictDelegate, this.onMatchInDictCompletedDelegate, userState); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/Reference.svcmap b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/Reference.svcmap new file mode 100644 index 0000000..262793d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/Reference.svcmap @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="e75a076a-da23-4f7a-863b-068b0bcdc64a" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap"> + <ClientOptions> + <GenerateAsynchronousMethods>true</GenerateAsynchronousMethods> + <EnableDataBinding>true</EnableDataBinding> + <ExcludedTypes /> + <ImportXmlTypes>false</ImportXmlTypes> + <GenerateInternalTypes>false</GenerateInternalTypes> + <GenerateMessageContracts>false</GenerateMessageContracts> + <NamespaceMappings /> + <CollectionMappings /> + <GenerateSerializableTypes>true</GenerateSerializableTypes> + <Serializer>Auto</Serializer> + <UseSerializerForFaults>true</UseSerializerForFaults> + <ReferenceAllAssemblies>true</ReferenceAllAssemblies> + <ReferencedAssemblies /> + <ReferencedDataContractTypes /> + <ServiceContractMappings /> + </ClientOptions> + <MetadataSources> + <MetadataSource Address="http://services.aonaware.com/DictService/DictService.asmx" Protocol="http" SourceId="1" /> + </MetadataSources> + <Metadata> + <MetadataFile FileName="DictService.disco" MetadataType="Disco" ID="ec8a6728-2d46-4424-a9cb-a89dbf639570" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?disco" /> + <MetadataFile FileName="DictService.wsdl" MetadataType="Wsdl" ID="dbe33f76-54f8-4c5a-b509-af92c391b3a3" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?wsdl" /> + </Metadata> + <Extensions> + <ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" /> + <ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" /> + </Extensions> +</ReferenceGroup>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/configuration.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/configuration.svcinfo new file mode 100644 index 0000000..a856d3d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/configuration.svcinfo @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot"> + <behaviors /> + <bindings> + <binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" messageEncoding="Text" name="DictServiceSoap" textEncoding="utf-8" transferMode="Buffered"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /><security mode="None"><message algorithmSuite="Default" clientCredentialType="UserName" /><transport clientCredentialType="None" proxyCredentialType="None" realm="" /></security></Data>" bindingType="basicHttpBinding" name="DictServiceSoap" /> + <binding digest="System.ServiceModel.Configuration.CustomBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="DictServiceSoap12"><httpTransport allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" manualAddressing="false" maxBufferPoolSize="524288" maxBufferSize="65536" maxReceivedMessageSize="65536" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" /><textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap12" writeEncoding="utf-8"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /></textMessageEncoding></Data>" bindingType="customBinding" name="DictServiceSoap12" /> + </bindings> + <endpoints> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </endpoints> +</configurationSnapshot>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/configuration91.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/configuration91.svcinfo new file mode 100644 index 0000000..2599177 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/Service References/DictionarySuggestService/configuration91.svcinfo @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="Cb1mlQVfrIvXhoWXP+TpwPhxgGY="> + <bindingConfigurations> + <bindingConfiguration bindingType="basicHttpBinding" name="DictServiceSoap"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:10:00</serializedValue> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Text</serializedValue> + </property> + <property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue> + </property> + <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue> + </property> + <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + <property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue> + </property> + <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>UserName</serializedValue> + </property> + <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Default</serializedValue> + </property> + <property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + </properties> + </bindingConfiguration> + <bindingConfiguration bindingType="customBinding" name="DictServiceSoap12"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/textMessageEncoding" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TextMessageEncodingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.TextMessageEncodingElement</serializedValue> + </property> + <property path="/textMessageEncoding/maxReadPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>64</serializedValue> + </property> + <property path="/textMessageEncoding/maxWritePoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16</serializedValue> + </property> + <property path="/textMessageEncoding/messageVersion" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.MessageVersion, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Soap12</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/writeEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/httpTransport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportElement</serializedValue> + </property> + <property path="/httpTransport/manualAddressing" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/httpTransport/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/authenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/decompressionEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/httpTransport/keepAliveEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/proxyAddress" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/proxyAuthenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/httpTransport/unsafeConnectionNtlmAuthentication" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + </properties> + </bindingConfiguration> + </bindingConfigurations> + <endpoints> + <endpoint name="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" bindingType="basicHttpBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>basicHttpBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + <endpoint name="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" bindingType="customBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap12"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>customBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + </endpoints> +</SavedWcfConfigurationInformation>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step02/app.config b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/app.config new file mode 100644 index 0000000..cf1770f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step02/app.config @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <system.serviceModel> + <bindings> + <basicHttpBinding> + <binding name="DictServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" + receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" + bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" + maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" + messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" + useDefaultWebProxy="true"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + <security mode="None"> + <transport clientCredentialType="None" proxyCredentialType="None" + realm="" /> + <message clientCredentialType="UserName" algorithmSuite="Default" /> + </security> + </binding> + </basicHttpBinding> + <customBinding> + <binding name="DictServiceSoap12"> + <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" + messageVersion="Soap12" writeEncoding="utf-8"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + </textMessageEncoding> + <httpTransport manualAddressing="false" maxBufferPoolSize="524288" + maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous" + bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" + keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous" + realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" + useDefaultWebProxy="true" /> + </binding> + </customBinding> + </bindings> + <client> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="customBinding" bindingConfiguration="DictServiceSoap12" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </client> + </system.serviceModel> +</configuration>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Excercise9.csproj b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Excercise9.csproj new file mode 100644 index 0000000..fadfc62 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Excercise9.csproj @@ -0,0 +1,105 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{5FAAD383-D86D-4B45-B8C3-D6C2ADF77CC3}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise9</RootNamespace> + <AssemblyName>Excercise9</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Reactive.Windows.Forms, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.ServiceModel" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Service References\DictionarySuggestService\Reference.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Reference.svcmap</DependentUpon> + </Compile> + </ItemGroup> + <ItemGroup> + <WCFMetadata Include="Service References\" /> + </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + <None Include="Service References\DictionarySuggestService\DictService.wsdl" /> + </ItemGroup> + <ItemGroup> + <WCFMetadataStorage Include="Service References\DictionarySuggestService\" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\DictService.disco" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration91.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\Excercise9.DictionarySuggestService.Dictionary.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise9.DictionarySuggestService.DictionaryWord.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise9.DictionarySuggestService.Strategy.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise9.DictionarySuggestService.WordDefinition.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Reference.svcmap"> + <Generator>WCF Proxy Generator</Generator> + <LastGenOutput>Reference.cs</LastGenOutput> + </None> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Excercise9.sln b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Excercise9.sln new file mode 100644 index 0000000..c4506a2 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Excercise9.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise9", "Excercise9.csproj", "{E127C33D-FB10-4F17-A79A-6669A51F021D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E127C33D-FB10-4F17-A79A-6669A51F021D}.Debug|x86.ActiveCfg = Debug|x86 + {E127C33D-FB10-4F17-A79A-6669A51F021D}.Debug|x86.Build.0 = Debug|x86 + {E127C33D-FB10-4F17-A79A-6669A51F021D}.Release|x86.ActiveCfg = Release|x86 + {E127C33D-FB10-4F17-A79A-6669A51F021D}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Program.cs new file mode 100644 index 0000000..ce384e6 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Program.cs @@ -0,0 +1,79 @@ +using System; +using System.Linq; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; +using Excercise9.DictionarySuggestService; + +namespace Excercise9 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + var lst = new ListBox { Top = txt.Height + 10 }; + + var frm = new Form() + { + Controls = { txt, lst } + }; + +#if PRODUCTION + // Turn the user input into a tamed sequence of strings. + var textChanged = from evt in Observable.FromEventPattern(txt, "TextChanged") + select ((TextBox)evt.Sender).Text; + + var input = textChanged + .Throttle(TimeSpan.FromSeconds(1)) + .DistinctUntilChanged(); +#else + // Test input + const string INPUT = "reactive"; + + var rand = new Random(); + + var input = Observable.Generate( + 3, + len => len <= INPUT.Length, + len => len + 1, + len => INPUT.Substring(0, len), + _ => TimeSpan.FromMilliseconds(rand.Next(200, 1200)) + ) + .ObserveOn(txt) + .Do(term => txt.Text = term) + .Throttle(TimeSpan.FromSeconds(1)); +#endif + + // Bridge with the web service's MatchInDict method. + var svc = new DictServiceSoapClient("DictServiceSoap"); + var matchInDict = Observable.FromAsyncPattern<string, string, string, DictionaryWord[]> + (svc.BeginMatchInDict, svc.EndMatchInDict); + + Func<string, IObservable<DictionaryWord[]>> matchInWordNetByPrefix = + term => matchInDict("wn", term, "prefix"); + + // The grand composition connecting the user input with the web service. + var res = (from term in input + select matchInWordNetByPrefix(term)) + .Switch(); + + // Synchronize with the UI thread and populate the ListBox or signal an error. + using (res.ObserveOn(lst).Subscribe( + words => + { + lst.Items.Clear(); + lst.Items.AddRange((from word in words select word.Word).ToArray()); + }, + ex => + { + MessageBox.Show( + "An error occurred: " + ex.Message, frm.Text, MessageBoxButtons.OK, MessageBoxIcon.Error + ); + })) + { + Application.Run(frm); + } // Proper disposal happens upon exiting the application. + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..94328f9 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise9")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise9")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/DictService.disco b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/DictService.disco new file mode 100644 index 0000000..d8b4769 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/DictService.disco @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> + <contractRef ref="http://services.aonaware.com/DictService/DictService.asmx?wsdl" docRef="http://services.aonaware.com/DictService/DictService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q1="http://services.aonaware.com/webservices/" binding="q1:DictServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q2="http://services.aonaware.com/webservices/" binding="q2:DictServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> +</discovery>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/DictService.wsdl b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/DictService.wsdl new file mode 100644 index 0000000..72a8189 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/DictService.wsdl @@ -0,0 +1,824 @@ +<?xml version="1.0" encoding="utf-8"?> +<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://services.aonaware.com/webservices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://services.aonaware.com/webservices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:types> + <s:schema elementFormDefault="qualified" targetNamespace="http://services.aonaware.com/webservices/"> + <s:element name="ServerInfo"> + <s:complexType /> + </s:element> + <s:element name="ServerInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="ServerInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryList"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Dictionary" nillable="true" type="tns:Dictionary" /> + </s:sequence> + </s:complexType> + <s:complexType name="Dictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DictionaryListExtended"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListExtendedResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListExtendedResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfo"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="Define"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="WordDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Definitions" type="tns:ArrayOfDefinition" /> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Definition" nillable="true" type="tns:Definition" /> + </s:sequence> + </s:complexType> + <s:complexType name="Definition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Dictionary" type="tns:Dictionary" /> + <s:element minOccurs="0" maxOccurs="1" name="WordDefinition" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DefineInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineInDictResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="StrategyList"> + <s:complexType /> + </s:element> + <s:element name="StrategyListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="StrategyListResult" type="tns:ArrayOfStrategy" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfStrategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Strategy" nillable="true" type="tns:Strategy" /> + </s:sequence> + </s:complexType> + <s:complexType name="Strategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="Match"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="DictionaryWord" nillable="true" type="tns:DictionaryWord" /> + </s:sequence> + </s:complexType> + <s:complexType name="DictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="MatchInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchInDictResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="string" nillable="true" type="s:string" /> + <s:element name="ArrayOfDictionary" nillable="true" type="tns:ArrayOfDictionary" /> + <s:element name="WordDefinition" nillable="true" type="tns:WordDefinition" /> + <s:element name="ArrayOfStrategy" nillable="true" type="tns:ArrayOfStrategy" /> + <s:element name="ArrayOfDictionaryWord" nillable="true" type="tns:ArrayOfDictionaryWord" /> + </s:schema> + </wsdl:types> + <wsdl:message name="ServerInfoSoapIn"> + <wsdl:part name="parameters" element="tns:ServerInfo" /> + </wsdl:message> + <wsdl:message name="ServerInfoSoapOut"> + <wsdl:part name="parameters" element="tns:ServerInfoResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryList" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryListExtended" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListExtendedResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryInfo" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryInfoResponse" /> + </wsdl:message> + <wsdl:message name="DefineSoapIn"> + <wsdl:part name="parameters" element="tns:Define" /> + </wsdl:message> + <wsdl:message name="DefineSoapOut"> + <wsdl:part name="parameters" element="tns:DefineResponse" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapIn"> + <wsdl:part name="parameters" element="tns:DefineInDict" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapOut"> + <wsdl:part name="parameters" element="tns:DefineInDictResponse" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapIn"> + <wsdl:part name="parameters" element="tns:StrategyList" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapOut"> + <wsdl:part name="parameters" element="tns:StrategyListResponse" /> + </wsdl:message> + <wsdl:message name="MatchSoapIn"> + <wsdl:part name="parameters" element="tns:Match" /> + </wsdl:message> + <wsdl:message name="MatchSoapOut"> + <wsdl:part name="parameters" element="tns:MatchResponse" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapIn"> + <wsdl:part name="parameters" element="tns:MatchInDict" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapOut"> + <wsdl:part name="parameters" element="tns:MatchInDictResponse" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpGetIn" /> + <wsdl:message name="ServerInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpGetIn" /> + <wsdl:message name="DictionaryListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpGetIn" /> + <wsdl:message name="DictionaryListExtendedHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpGetIn" /> + <wsdl:message name="StrategyListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpPostIn" /> + <wsdl:message name="ServerInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpPostIn" /> + <wsdl:message name="DictionaryListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpPostIn" /> + <wsdl:message name="DictionaryListExtendedHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpPostIn" /> + <wsdl:message name="StrategyListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:portType name="DictServiceSoap"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoSoapIn" /> + <wsdl:output message="tns:ServerInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListSoapIn" /> + <wsdl:output message="tns:DictionaryListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedSoapIn" /> + <wsdl:output message="tns:DictionaryListExtendedSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoSoapIn" /> + <wsdl:output message="tns:DictionaryInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineSoapIn" /> + <wsdl:output message="tns:DefineSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictSoapIn" /> + <wsdl:output message="tns:DefineInDictSoapOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListSoapIn" /> + <wsdl:output message="tns:StrategyListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchSoapIn" /> + <wsdl:output message="tns:MatchSoapOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictSoapIn" /> + <wsdl:output message="tns:MatchInDictSoapOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpGet"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpGetIn" /> + <wsdl:output message="tns:ServerInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpGetIn" /> + <wsdl:output message="tns:DictionaryListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpGetIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpGetIn" /> + <wsdl:output message="tns:DictionaryInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpGetIn" /> + <wsdl:output message="tns:DefineHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpGetIn" /> + <wsdl:output message="tns:DefineInDictHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpGetIn" /> + <wsdl:output message="tns:StrategyListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpGetIn" /> + <wsdl:output message="tns:MatchHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpGetIn" /> + <wsdl:output message="tns:MatchInDictHttpGetOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpPost"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpPostIn" /> + <wsdl:output message="tns:ServerInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpPostIn" /> + <wsdl:output message="tns:DictionaryListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpPostIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpPostIn" /> + <wsdl:output message="tns:DictionaryInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpPostIn" /> + <wsdl:output message="tns:DefineHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpPostIn" /> + <wsdl:output message="tns:DefineInDictHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpPostIn" /> + <wsdl:output message="tns:StrategyListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpPostIn" /> + <wsdl:output message="tns:MatchHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpPostIn" /> + <wsdl:output message="tns:MatchInDictHttpPostOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="DictServiceSoap" type="tns:DictServiceSoap"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" 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="DictServiceSoap12" type="tns:DictServiceSoap"> + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpGet" type="tns:DictServiceHttpGet"> + <http:binding verb="GET" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpPost" type="tns:DictServiceHttpPost"> + <http:binding verb="POST" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="DictService"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:port name="DictServiceSoap" binding="tns:DictServiceSoap"> + <soap:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceSoap12" binding="tns:DictServiceSoap12"> + <soap12:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpGet" binding="tns:DictServiceHttpGet"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpPost" binding="tns:DictServiceHttpPost"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + </wsdl:service> +</wsdl:definitions>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.Dictionary.datasource b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.Dictionary.datasource new file mode 100644 index 0000000..da71a7f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.Dictionary.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Dictionary" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise9.DictionarySuggestService.Dictionary, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.DictionaryWord.datasource b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.DictionaryWord.datasource new file mode 100644 index 0000000..3f223e3 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.DictionaryWord.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="DictionaryWord" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise9.DictionarySuggestService.DictionaryWord, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.Strategy.datasource b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.Strategy.datasource new file mode 100644 index 0000000..948a45e --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.Strategy.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Strategy" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise9.DictionarySuggestService.Strategy, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.WordDefinition.datasource b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.WordDefinition.datasource new file mode 100644 index 0000000..0e2e8ed --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.WordDefinition.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="WordDefinition" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise9.DictionarySuggestService.WordDefinition, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/Reference.cs b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/Reference.cs new file mode 100644 index 0000000..3b17164 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/Reference.cs @@ -0,0 +1,1064 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.431 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace Excercise9.DictionarySuggestService { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://services.aonaware.com/webservices/", ConfigurationName="DictionarySuggestService.DictServiceSoap")] + public interface DictServiceSoap { + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string ServerInfo(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState); + + string EndServerInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryListExtended(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryListExtended(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string DictionaryInfo(string dictId); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState); + + string EndDictionaryInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise9.DictionarySuggestService.WordDefinition Define(string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState); + + Excercise9.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise9.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState); + + Excercise9.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Strategy[] StrategyList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState); + + Strategy[] EndStrategyList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] Match(string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatch(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] MatchInDict(string dictId, string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatchInDict(System.IAsyncResult result); + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Dictionary : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string nameField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class DictionaryWord : object, System.ComponentModel.INotifyPropertyChanged { + + private string dictionaryIdField; + + private string wordField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string DictionaryId { + get { + return this.dictionaryIdField; + } + set { + this.dictionaryIdField = value; + this.RaisePropertyChanged("DictionaryId"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Strategy : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string descriptionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Definition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Dictionary dictionaryField; + + private string wordDefinitionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public Dictionary Dictionary { + get { + return this.dictionaryField; + } + set { + this.dictionaryField = value; + this.RaisePropertyChanged("Dictionary"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string WordDefinition { + get { + return this.wordDefinitionField; + } + set { + this.wordDefinitionField = value; + this.RaisePropertyChanged("WordDefinition"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class WordDefinition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Definition[] definitionsField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public Definition[] Definitions { + get { + return this.definitionsField; + } + set { + this.definitionsField = value; + this.RaisePropertyChanged("Definitions"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface DictServiceSoapChannel : Excercise9.DictionarySuggestService.DictServiceSoap, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class ServerInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public ServerInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListExtendedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListExtendedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise9.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise9.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise9.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise9.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class StrategyListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public StrategyListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Strategy[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Strategy[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictServiceSoapClient : System.ServiceModel.ClientBase<Excercise9.DictionarySuggestService.DictServiceSoap>, Excercise9.DictionarySuggestService.DictServiceSoap { + + private BeginOperationDelegate onBeginServerInfoDelegate; + + private EndOperationDelegate onEndServerInfoDelegate; + + private System.Threading.SendOrPostCallback onServerInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListDelegate; + + private EndOperationDelegate onEndDictionaryListDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListExtendedDelegate; + + private EndOperationDelegate onEndDictionaryListExtendedDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListExtendedCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryInfoDelegate; + + private EndOperationDelegate onEndDictionaryInfoDelegate; + + private System.Threading.SendOrPostCallback onDictionaryInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDefineDelegate; + + private EndOperationDelegate onEndDefineDelegate; + + private System.Threading.SendOrPostCallback onDefineCompletedDelegate; + + private BeginOperationDelegate onBeginDefineInDictDelegate; + + private EndOperationDelegate onEndDefineInDictDelegate; + + private System.Threading.SendOrPostCallback onDefineInDictCompletedDelegate; + + private BeginOperationDelegate onBeginStrategyListDelegate; + + private EndOperationDelegate onEndStrategyListDelegate; + + private System.Threading.SendOrPostCallback onStrategyListCompletedDelegate; + + private BeginOperationDelegate onBeginMatchDelegate; + + private EndOperationDelegate onEndMatchDelegate; + + private System.Threading.SendOrPostCallback onMatchCompletedDelegate; + + private BeginOperationDelegate onBeginMatchInDictDelegate; + + private EndOperationDelegate onEndMatchInDictDelegate; + + private System.Threading.SendOrPostCallback onMatchInDictCompletedDelegate; + + public DictServiceSoapClient() { + } + + public DictServiceSoapClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public DictServiceSoapClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + public event System.EventHandler<ServerInfoCompletedEventArgs> ServerInfoCompleted; + + public event System.EventHandler<DictionaryListCompletedEventArgs> DictionaryListCompleted; + + public event System.EventHandler<DictionaryListExtendedCompletedEventArgs> DictionaryListExtendedCompleted; + + public event System.EventHandler<DictionaryInfoCompletedEventArgs> DictionaryInfoCompleted; + + public event System.EventHandler<DefineCompletedEventArgs> DefineCompleted; + + public event System.EventHandler<DefineInDictCompletedEventArgs> DefineInDictCompleted; + + public event System.EventHandler<StrategyListCompletedEventArgs> StrategyListCompleted; + + public event System.EventHandler<MatchCompletedEventArgs> MatchCompleted; + + public event System.EventHandler<MatchInDictCompletedEventArgs> MatchInDictCompleted; + + public string ServerInfo() { + return base.Channel.ServerInfo(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginServerInfo(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndServerInfo(System.IAsyncResult result) { + return base.Channel.EndServerInfo(result); + } + + private System.IAsyncResult OnBeginServerInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginServerInfo(callback, asyncState); + } + + private object[] OnEndServerInfo(System.IAsyncResult result) { + string retVal = this.EndServerInfo(result); + return new object[] { + retVal}; + } + + private void OnServerInfoCompleted(object state) { + if ((this.ServerInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.ServerInfoCompleted(this, new ServerInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void ServerInfoAsync() { + this.ServerInfoAsync(null); + } + + public void ServerInfoAsync(object userState) { + if ((this.onBeginServerInfoDelegate == null)) { + this.onBeginServerInfoDelegate = new BeginOperationDelegate(this.OnBeginServerInfo); + } + if ((this.onEndServerInfoDelegate == null)) { + this.onEndServerInfoDelegate = new EndOperationDelegate(this.OnEndServerInfo); + } + if ((this.onServerInfoCompletedDelegate == null)) { + this.onServerInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnServerInfoCompleted); + } + base.InvokeAsync(this.onBeginServerInfoDelegate, null, this.onEndServerInfoDelegate, this.onServerInfoCompletedDelegate, userState); + } + + public Dictionary[] DictionaryList() { + return base.Channel.DictionaryList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryList(System.IAsyncResult result) { + return base.Channel.EndDictionaryList(result); + } + + private System.IAsyncResult OnBeginDictionaryList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryList(callback, asyncState); + } + + private object[] OnEndDictionaryList(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryList(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListCompleted(object state) { + if ((this.DictionaryListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListCompleted(this, new DictionaryListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListAsync() { + this.DictionaryListAsync(null); + } + + public void DictionaryListAsync(object userState) { + if ((this.onBeginDictionaryListDelegate == null)) { + this.onBeginDictionaryListDelegate = new BeginOperationDelegate(this.OnBeginDictionaryList); + } + if ((this.onEndDictionaryListDelegate == null)) { + this.onEndDictionaryListDelegate = new EndOperationDelegate(this.OnEndDictionaryList); + } + if ((this.onDictionaryListCompletedDelegate == null)) { + this.onDictionaryListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListDelegate, null, this.onEndDictionaryListDelegate, this.onDictionaryListCompletedDelegate, userState); + } + + public Dictionary[] DictionaryListExtended() { + return base.Channel.DictionaryListExtended(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryListExtended(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryListExtended(System.IAsyncResult result) { + return base.Channel.EndDictionaryListExtended(result); + } + + private System.IAsyncResult OnBeginDictionaryListExtended(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryListExtended(callback, asyncState); + } + + private object[] OnEndDictionaryListExtended(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryListExtended(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListExtendedCompleted(object state) { + if ((this.DictionaryListExtendedCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListExtendedCompleted(this, new DictionaryListExtendedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListExtendedAsync() { + this.DictionaryListExtendedAsync(null); + } + + public void DictionaryListExtendedAsync(object userState) { + if ((this.onBeginDictionaryListExtendedDelegate == null)) { + this.onBeginDictionaryListExtendedDelegate = new BeginOperationDelegate(this.OnBeginDictionaryListExtended); + } + if ((this.onEndDictionaryListExtendedDelegate == null)) { + this.onEndDictionaryListExtendedDelegate = new EndOperationDelegate(this.OnEndDictionaryListExtended); + } + if ((this.onDictionaryListExtendedCompletedDelegate == null)) { + this.onDictionaryListExtendedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListExtendedCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListExtendedDelegate, null, this.onEndDictionaryListExtendedDelegate, this.onDictionaryListExtendedCompletedDelegate, userState); + } + + public string DictionaryInfo(string dictId) { + return base.Channel.DictionaryInfo(dictId); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryInfo(dictId, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndDictionaryInfo(System.IAsyncResult result) { + return base.Channel.EndDictionaryInfo(result); + } + + private System.IAsyncResult OnBeginDictionaryInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + return this.BeginDictionaryInfo(dictId, callback, asyncState); + } + + private object[] OnEndDictionaryInfo(System.IAsyncResult result) { + string retVal = this.EndDictionaryInfo(result); + return new object[] { + retVal}; + } + + private void OnDictionaryInfoCompleted(object state) { + if ((this.DictionaryInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryInfoCompleted(this, new DictionaryInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryInfoAsync(string dictId) { + this.DictionaryInfoAsync(dictId, null); + } + + public void DictionaryInfoAsync(string dictId, object userState) { + if ((this.onBeginDictionaryInfoDelegate == null)) { + this.onBeginDictionaryInfoDelegate = new BeginOperationDelegate(this.OnBeginDictionaryInfo); + } + if ((this.onEndDictionaryInfoDelegate == null)) { + this.onEndDictionaryInfoDelegate = new EndOperationDelegate(this.OnEndDictionaryInfo); + } + if ((this.onDictionaryInfoCompletedDelegate == null)) { + this.onDictionaryInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryInfoCompleted); + } + base.InvokeAsync(this.onBeginDictionaryInfoDelegate, new object[] { + dictId}, this.onEndDictionaryInfoDelegate, this.onDictionaryInfoCompletedDelegate, userState); + } + + public Excercise9.DictionarySuggestService.WordDefinition Define(string word) { + return base.Channel.Define(word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefine(word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise9.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result) { + return base.Channel.EndDefine(result); + } + + private System.IAsyncResult OnBeginDefine(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + return this.BeginDefine(word, callback, asyncState); + } + + private object[] OnEndDefine(System.IAsyncResult result) { + Excercise9.DictionarySuggestService.WordDefinition retVal = this.EndDefine(result); + return new object[] { + retVal}; + } + + private void OnDefineCompleted(object state) { + if ((this.DefineCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineCompleted(this, new DefineCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineAsync(string word) { + this.DefineAsync(word, null); + } + + public void DefineAsync(string word, object userState) { + if ((this.onBeginDefineDelegate == null)) { + this.onBeginDefineDelegate = new BeginOperationDelegate(this.OnBeginDefine); + } + if ((this.onEndDefineDelegate == null)) { + this.onEndDefineDelegate = new EndOperationDelegate(this.OnEndDefine); + } + if ((this.onDefineCompletedDelegate == null)) { + this.onDefineCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineCompleted); + } + base.InvokeAsync(this.onBeginDefineDelegate, new object[] { + word}, this.onEndDefineDelegate, this.onDefineCompletedDelegate, userState); + } + + public Excercise9.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word) { + return base.Channel.DefineInDict(dictId, word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefineInDict(dictId, word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise9.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result) { + return base.Channel.EndDefineInDict(result); + } + + private System.IAsyncResult OnBeginDefineInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + return this.BeginDefineInDict(dictId, word, callback, asyncState); + } + + private object[] OnEndDefineInDict(System.IAsyncResult result) { + Excercise9.DictionarySuggestService.WordDefinition retVal = this.EndDefineInDict(result); + return new object[] { + retVal}; + } + + private void OnDefineInDictCompleted(object state) { + if ((this.DefineInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineInDictCompleted(this, new DefineInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineInDictAsync(string dictId, string word) { + this.DefineInDictAsync(dictId, word, null); + } + + public void DefineInDictAsync(string dictId, string word, object userState) { + if ((this.onBeginDefineInDictDelegate == null)) { + this.onBeginDefineInDictDelegate = new BeginOperationDelegate(this.OnBeginDefineInDict); + } + if ((this.onEndDefineInDictDelegate == null)) { + this.onEndDefineInDictDelegate = new EndOperationDelegate(this.OnEndDefineInDict); + } + if ((this.onDefineInDictCompletedDelegate == null)) { + this.onDefineInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineInDictCompleted); + } + base.InvokeAsync(this.onBeginDefineInDictDelegate, new object[] { + dictId, + word}, this.onEndDefineInDictDelegate, this.onDefineInDictCompletedDelegate, userState); + } + + public Strategy[] StrategyList() { + return base.Channel.StrategyList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginStrategyList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Strategy[] EndStrategyList(System.IAsyncResult result) { + return base.Channel.EndStrategyList(result); + } + + private System.IAsyncResult OnBeginStrategyList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginStrategyList(callback, asyncState); + } + + private object[] OnEndStrategyList(System.IAsyncResult result) { + Strategy[] retVal = this.EndStrategyList(result); + return new object[] { + retVal}; + } + + private void OnStrategyListCompleted(object state) { + if ((this.StrategyListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.StrategyListCompleted(this, new StrategyListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void StrategyListAsync() { + this.StrategyListAsync(null); + } + + public void StrategyListAsync(object userState) { + if ((this.onBeginStrategyListDelegate == null)) { + this.onBeginStrategyListDelegate = new BeginOperationDelegate(this.OnBeginStrategyList); + } + if ((this.onEndStrategyListDelegate == null)) { + this.onEndStrategyListDelegate = new EndOperationDelegate(this.OnEndStrategyList); + } + if ((this.onStrategyListCompletedDelegate == null)) { + this.onStrategyListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStrategyListCompleted); + } + base.InvokeAsync(this.onBeginStrategyListDelegate, null, this.onEndStrategyListDelegate, this.onStrategyListCompletedDelegate, userState); + } + + public DictionaryWord[] Match(string word, string strategy) { + return base.Channel.Match(word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatch(word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatch(System.IAsyncResult result) { + return base.Channel.EndMatch(result); + } + + private System.IAsyncResult OnBeginMatch(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + string strategy = ((string)(inValues[1])); + return this.BeginMatch(word, strategy, callback, asyncState); + } + + private object[] OnEndMatch(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatch(result); + return new object[] { + retVal}; + } + + private void OnMatchCompleted(object state) { + if ((this.MatchCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchCompleted(this, new MatchCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchAsync(string word, string strategy) { + this.MatchAsync(word, strategy, null); + } + + public void MatchAsync(string word, string strategy, object userState) { + if ((this.onBeginMatchDelegate == null)) { + this.onBeginMatchDelegate = new BeginOperationDelegate(this.OnBeginMatch); + } + if ((this.onEndMatchDelegate == null)) { + this.onEndMatchDelegate = new EndOperationDelegate(this.OnEndMatch); + } + if ((this.onMatchCompletedDelegate == null)) { + this.onMatchCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchCompleted); + } + base.InvokeAsync(this.onBeginMatchDelegate, new object[] { + word, + strategy}, this.onEndMatchDelegate, this.onMatchCompletedDelegate, userState); + } + + public DictionaryWord[] MatchInDict(string dictId, string word, string strategy) { + return base.Channel.MatchInDict(dictId, word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatchInDict(System.IAsyncResult result) { + return base.Channel.EndMatchInDict(result); + } + + private System.IAsyncResult OnBeginMatchInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + string strategy = ((string)(inValues[2])); + return this.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + private object[] OnEndMatchInDict(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatchInDict(result); + return new object[] { + retVal}; + } + + private void OnMatchInDictCompleted(object state) { + if ((this.MatchInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchInDictCompleted(this, new MatchInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchInDictAsync(string dictId, string word, string strategy) { + this.MatchInDictAsync(dictId, word, strategy, null); + } + + public void MatchInDictAsync(string dictId, string word, string strategy, object userState) { + if ((this.onBeginMatchInDictDelegate == null)) { + this.onBeginMatchInDictDelegate = new BeginOperationDelegate(this.OnBeginMatchInDict); + } + if ((this.onEndMatchInDictDelegate == null)) { + this.onEndMatchInDictDelegate = new EndOperationDelegate(this.OnEndMatchInDict); + } + if ((this.onMatchInDictCompletedDelegate == null)) { + this.onMatchInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchInDictCompleted); + } + base.InvokeAsync(this.onBeginMatchInDictDelegate, new object[] { + dictId, + word, + strategy}, this.onEndMatchInDictDelegate, this.onMatchInDictCompletedDelegate, userState); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/Reference.svcmap b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/Reference.svcmap new file mode 100644 index 0000000..262793d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/Reference.svcmap @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="e75a076a-da23-4f7a-863b-068b0bcdc64a" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap"> + <ClientOptions> + <GenerateAsynchronousMethods>true</GenerateAsynchronousMethods> + <EnableDataBinding>true</EnableDataBinding> + <ExcludedTypes /> + <ImportXmlTypes>false</ImportXmlTypes> + <GenerateInternalTypes>false</GenerateInternalTypes> + <GenerateMessageContracts>false</GenerateMessageContracts> + <NamespaceMappings /> + <CollectionMappings /> + <GenerateSerializableTypes>true</GenerateSerializableTypes> + <Serializer>Auto</Serializer> + <UseSerializerForFaults>true</UseSerializerForFaults> + <ReferenceAllAssemblies>true</ReferenceAllAssemblies> + <ReferencedAssemblies /> + <ReferencedDataContractTypes /> + <ServiceContractMappings /> + </ClientOptions> + <MetadataSources> + <MetadataSource Address="http://services.aonaware.com/DictService/DictService.asmx" Protocol="http" SourceId="1" /> + </MetadataSources> + <Metadata> + <MetadataFile FileName="DictService.disco" MetadataType="Disco" ID="ec8a6728-2d46-4424-a9cb-a89dbf639570" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?disco" /> + <MetadataFile FileName="DictService.wsdl" MetadataType="Wsdl" ID="dbe33f76-54f8-4c5a-b509-af92c391b3a3" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?wsdl" /> + </Metadata> + <Extensions> + <ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" /> + <ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" /> + </Extensions> +</ReferenceGroup>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/configuration.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/configuration.svcinfo new file mode 100644 index 0000000..a856d3d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/configuration.svcinfo @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot"> + <behaviors /> + <bindings> + <binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" messageEncoding="Text" name="DictServiceSoap" textEncoding="utf-8" transferMode="Buffered"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /><security mode="None"><message algorithmSuite="Default" clientCredentialType="UserName" /><transport clientCredentialType="None" proxyCredentialType="None" realm="" /></security></Data>" bindingType="basicHttpBinding" name="DictServiceSoap" /> + <binding digest="System.ServiceModel.Configuration.CustomBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="DictServiceSoap12"><httpTransport allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" manualAddressing="false" maxBufferPoolSize="524288" maxBufferSize="65536" maxReceivedMessageSize="65536" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" /><textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap12" writeEncoding="utf-8"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /></textMessageEncoding></Data>" bindingType="customBinding" name="DictServiceSoap12" /> + </bindings> + <endpoints> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </endpoints> +</configurationSnapshot>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/configuration91.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/configuration91.svcinfo new file mode 100644 index 0000000..2599177 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/Service References/DictionarySuggestService/configuration91.svcinfo @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="Cb1mlQVfrIvXhoWXP+TpwPhxgGY="> + <bindingConfigurations> + <bindingConfiguration bindingType="basicHttpBinding" name="DictServiceSoap"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:10:00</serializedValue> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Text</serializedValue> + </property> + <property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue> + </property> + <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue> + </property> + <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + <property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue> + </property> + <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>UserName</serializedValue> + </property> + <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Default</serializedValue> + </property> + <property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + </properties> + </bindingConfiguration> + <bindingConfiguration bindingType="customBinding" name="DictServiceSoap12"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/textMessageEncoding" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TextMessageEncodingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.TextMessageEncodingElement</serializedValue> + </property> + <property path="/textMessageEncoding/maxReadPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>64</serializedValue> + </property> + <property path="/textMessageEncoding/maxWritePoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16</serializedValue> + </property> + <property path="/textMessageEncoding/messageVersion" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.MessageVersion, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Soap12</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/writeEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/httpTransport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportElement</serializedValue> + </property> + <property path="/httpTransport/manualAddressing" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/httpTransport/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/authenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/decompressionEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/httpTransport/keepAliveEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/proxyAddress" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/proxyAuthenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/httpTransport/unsafeConnectionNtlmAuthentication" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + </properties> + </bindingConfiguration> + </bindingConfigurations> + <endpoints> + <endpoint name="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" bindingType="basicHttpBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>basicHttpBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + <endpoint name="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" bindingType="customBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap12"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>customBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + </endpoints> +</SavedWcfConfigurationInformation>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step03/app.config b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/app.config new file mode 100644 index 0000000..cf1770f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step03/app.config @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <system.serviceModel> + <bindings> + <basicHttpBinding> + <binding name="DictServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" + receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" + bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" + maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" + messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" + useDefaultWebProxy="true"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + <security mode="None"> + <transport clientCredentialType="None" proxyCredentialType="None" + realm="" /> + <message clientCredentialType="UserName" algorithmSuite="Default" /> + </security> + </binding> + </basicHttpBinding> + <customBinding> + <binding name="DictServiceSoap12"> + <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" + messageVersion="Soap12" writeEncoding="utf-8"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + </textMessageEncoding> + <httpTransport manualAddressing="false" maxBufferPoolSize="524288" + maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous" + bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" + keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous" + realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" + useDefaultWebProxy="true" /> + </binding> + </customBinding> + </bindings> + <client> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="customBinding" bindingConfiguration="DictServiceSoap12" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </client> + </system.serviceModel> +</configuration>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Excercise9.csproj b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Excercise9.csproj new file mode 100644 index 0000000..0726c03 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Excercise9.csproj @@ -0,0 +1,105 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{278BC5C4-1227-4E70-9245-20D0B70D3FA7}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Excercise9</RootNamespace> + <AssemblyName>Excercise9</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <PlatformTarget>x86</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|x86' "> + <PlatformTarget>x86</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.Drawing" /> + <Reference Include="System.Reactive, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Reactive.Windows.Forms, Version=1.0.10425.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> + <Reference Include="System.Runtime.Serialization" /> + <Reference Include="System.ServiceModel" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Service References\DictionarySuggestService\Reference.cs"> + <AutoGen>True</AutoGen> + <DesignTime>True</DesignTime> + <DependentUpon>Reference.svcmap</DependentUpon> + </Compile> + </ItemGroup> + <ItemGroup> + <WCFMetadata Include="Service References\" /> + </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + <None Include="Service References\DictionarySuggestService\DictService.wsdl" /> + </ItemGroup> + <ItemGroup> + <WCFMetadataStorage Include="Service References\DictionarySuggestService\" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\DictService.disco" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration91.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\configuration.svcinfo" /> + </ItemGroup> + <ItemGroup> + <None Include="Service References\DictionarySuggestService\Excercise9.DictionarySuggestService.Dictionary.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise9.DictionarySuggestService.DictionaryWord.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise9.DictionarySuggestService.Strategy.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Excercise9.DictionarySuggestService.WordDefinition.datasource"> + <DependentUpon>Reference.svcmap</DependentUpon> + </None> + <None Include="Service References\DictionarySuggestService\Reference.svcmap"> + <Generator>WCF Proxy Generator</Generator> + <LastGenOutput>Reference.cs</LastGenOutput> + </None> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Excercise9.sln b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Excercise9.sln new file mode 100644 index 0000000..c4506a2 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Excercise9.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise9", "Excercise9.csproj", "{E127C33D-FB10-4F17-A79A-6669A51F021D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E127C33D-FB10-4F17-A79A-6669A51F021D}.Debug|x86.ActiveCfg = Debug|x86 + {E127C33D-FB10-4F17-A79A-6669A51F021D}.Debug|x86.Build.0 = Debug|x86 + {E127C33D-FB10-4F17-A79A-6669A51F021D}.Release|x86.ActiveCfg = Release|x86 + {E127C33D-FB10-4F17-A79A-6669A51F021D}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Program.cs b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Program.cs new file mode 100644 index 0000000..e9cb8f6 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Program.cs @@ -0,0 +1,88 @@ +using System; +using System.Linq; +using System.Reactive.Linq; +using System.Windows.Forms; +using System.Reactive.Disposables; +using Excercise9.DictionarySuggestService; + +namespace Excercise9 +{ + class Program + { + static void Main() + { + var txt = new TextBox(); + var lst = new ListBox { Top = txt.Height + 10 }; + + var frm = new Form() + { + Controls = { txt, lst } + }; + +#if PRODUCTION + // Turn the user input into a tamed sequence of strings. + var textChanged = from evt in Observable.FromEventPattern(txt, "TextChanged") + select ((TextBox)evt.Sender).Text; + + var input = textChanged + .Throttle(TimeSpan.FromSeconds(1)) + .DistinctUntilChanged(); +#else + const string INPUT = "reactive"; + + var rand = new Random(); + + var input = Observable.Generate( + 3, + len => len <= INPUT.Length, + len => len + 1, + len => INPUT.Substring(0, len), + _ => TimeSpan.FromMilliseconds(rand.Next(200, 1200)) + ) + .ObserveOn(txt) + .Do(term => txt.Text = term) + .Throttle(TimeSpan.FromSeconds(1)); +#endif + + // Bridge with the web service's MatchInDict method. + var svc = new DictServiceSoapClient("DictServiceSoap"); + var matchInDict = Observable.FromAsyncPattern<string, string, string, DictionaryWord[]> + (svc.BeginMatchInDict, svc.EndMatchInDict); + +#if PRODUCTION + Func<string, IObservable<DictionaryWord[]>> matchInWordNetByPrefix = + term => matchInDict("wn", term, "prefix"); +#else + Func<string, IObservable<DictionaryWord[]>> matchInWordNetByPrefix = + term => Observable.Return + ( + (from i in Enumerable.Range(0, rand.Next(0, 50)) + select new DictionaryWord { Word = term + i }) + .ToArray() + ).Delay(TimeSpan.FromSeconds(rand.Next(1, 10))); +#endif + + // The grand composition connecting the user input with the web service. + var res = (from term in input + select matchInWordNetByPrefix(term)) + .Switch(); + + // Synchronize with the UI thread and populate the ListBox or signal an error. + using (res.ObserveOn(lst).Subscribe( + words => + { + lst.Items.Clear(); + lst.Items.AddRange((from word in words select word.Word).ToArray()); + }, + ex => + { + MessageBox.Show( + "An error occurred: " + ex.Message, frm.Text, MessageBoxButtons.OK, MessageBoxIcon.Error + ); + })) + { + Application.Run(frm); + } // Proper disposal happens upon exiting the application. + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Properties/AssemblyInfo.cs b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..94328f9 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Excercise9")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Excercise9")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5ebd40c6-5262-421f-83f4-2978bf532d01")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/DictService.disco b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/DictService.disco new file mode 100644 index 0000000..d8b4769 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/DictService.disco @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> + <contractRef ref="http://services.aonaware.com/DictService/DictService.asmx?wsdl" docRef="http://services.aonaware.com/DictService/DictService.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q1="http://services.aonaware.com/webservices/" binding="q1:DictServiceSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> + <soap address="http://services.aonaware.com/DictService/DictService.asmx" xmlns:q2="http://services.aonaware.com/webservices/" binding="q2:DictServiceSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" /> +</discovery>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/DictService.wsdl b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/DictService.wsdl new file mode 100644 index 0000000..72a8189 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/DictService.wsdl @@ -0,0 +1,824 @@ +<?xml version="1.0" encoding="utf-8"?> +<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://services.aonaware.com/webservices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://services.aonaware.com/webservices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:types> + <s:schema elementFormDefault="qualified" targetNamespace="http://services.aonaware.com/webservices/"> + <s:element name="ServerInfo"> + <s:complexType /> + </s:element> + <s:element name="ServerInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="ServerInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryList"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Dictionary" nillable="true" type="tns:Dictionary" /> + </s:sequence> + </s:complexType> + <s:complexType name="Dictionary"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DictionaryListExtended"> + <s:complexType /> + </s:element> + <s:element name="DictionaryListExtendedResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryListExtendedResult" type="tns:ArrayOfDictionary" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfo"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DictionaryInfoResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryInfoResult" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="Define"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="WordDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Definitions" type="tns:ArrayOfDefinition" /> + </s:sequence> + </s:complexType> + <s:complexType name="ArrayOfDefinition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Definition" nillable="true" type="tns:Definition" /> + </s:sequence> + </s:complexType> + <s:complexType name="Definition"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Dictionary" type="tns:Dictionary" /> + <s:element minOccurs="0" maxOccurs="1" name="WordDefinition" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="DefineInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="DefineInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DefineInDictResult" type="tns:WordDefinition" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="StrategyList"> + <s:complexType /> + </s:element> + <s:element name="StrategyListResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="StrategyListResult" type="tns:ArrayOfStrategy" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfStrategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="Strategy" nillable="true" type="tns:Strategy" /> + </s:sequence> + </s:complexType> + <s:complexType name="Strategy"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="Id" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="Match"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:complexType name="ArrayOfDictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="unbounded" name="DictionaryWord" nillable="true" type="tns:DictionaryWord" /> + </s:sequence> + </s:complexType> + <s:complexType name="DictionaryWord"> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="DictionaryId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="Word" type="s:string" /> + </s:sequence> + </s:complexType> + <s:element name="MatchInDict"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="dictId" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="word" type="s:string" /> + <s:element minOccurs="0" maxOccurs="1" name="strategy" type="s:string" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="MatchInDictResponse"> + <s:complexType> + <s:sequence> + <s:element minOccurs="0" maxOccurs="1" name="MatchInDictResult" type="tns:ArrayOfDictionaryWord" /> + </s:sequence> + </s:complexType> + </s:element> + <s:element name="string" nillable="true" type="s:string" /> + <s:element name="ArrayOfDictionary" nillable="true" type="tns:ArrayOfDictionary" /> + <s:element name="WordDefinition" nillable="true" type="tns:WordDefinition" /> + <s:element name="ArrayOfStrategy" nillable="true" type="tns:ArrayOfStrategy" /> + <s:element name="ArrayOfDictionaryWord" nillable="true" type="tns:ArrayOfDictionaryWord" /> + </s:schema> + </wsdl:types> + <wsdl:message name="ServerInfoSoapIn"> + <wsdl:part name="parameters" element="tns:ServerInfo" /> + </wsdl:message> + <wsdl:message name="ServerInfoSoapOut"> + <wsdl:part name="parameters" element="tns:ServerInfoResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryList" /> + </wsdl:message> + <wsdl:message name="DictionaryListSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryListExtended" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryListExtendedResponse" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapIn"> + <wsdl:part name="parameters" element="tns:DictionaryInfo" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoSoapOut"> + <wsdl:part name="parameters" element="tns:DictionaryInfoResponse" /> + </wsdl:message> + <wsdl:message name="DefineSoapIn"> + <wsdl:part name="parameters" element="tns:Define" /> + </wsdl:message> + <wsdl:message name="DefineSoapOut"> + <wsdl:part name="parameters" element="tns:DefineResponse" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapIn"> + <wsdl:part name="parameters" element="tns:DefineInDict" /> + </wsdl:message> + <wsdl:message name="DefineInDictSoapOut"> + <wsdl:part name="parameters" element="tns:DefineInDictResponse" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapIn"> + <wsdl:part name="parameters" element="tns:StrategyList" /> + </wsdl:message> + <wsdl:message name="StrategyListSoapOut"> + <wsdl:part name="parameters" element="tns:StrategyListResponse" /> + </wsdl:message> + <wsdl:message name="MatchSoapIn"> + <wsdl:part name="parameters" element="tns:Match" /> + </wsdl:message> + <wsdl:message name="MatchSoapOut"> + <wsdl:part name="parameters" element="tns:MatchResponse" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapIn"> + <wsdl:part name="parameters" element="tns:MatchInDict" /> + </wsdl:message> + <wsdl:message name="MatchInDictSoapOut"> + <wsdl:part name="parameters" element="tns:MatchInDictResponse" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpGetIn" /> + <wsdl:message name="ServerInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpGetIn" /> + <wsdl:message name="DictionaryListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpGetIn" /> + <wsdl:message name="DictionaryListExtendedHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpGetOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpGetIn" /> + <wsdl:message name="StrategyListHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpGetOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="ServerInfoHttpPostIn" /> + <wsdl:message name="ServerInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DictionaryListHttpPostIn" /> + <wsdl:message name="DictionaryListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryListExtendedHttpPostIn" /> + <wsdl:message name="DictionaryListExtendedHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionary" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + </wsdl:message> + <wsdl:message name="DictionaryInfoHttpPostOut"> + <wsdl:part name="Body" element="tns:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + </wsdl:message> + <wsdl:message name="DefineInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:WordDefinition" /> + </wsdl:message> + <wsdl:message name="StrategyListHttpPostIn" /> + <wsdl:message name="StrategyListHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfStrategy" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostIn"> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostIn"> + <wsdl:part name="dictId" type="s:string" /> + <wsdl:part name="word" type="s:string" /> + <wsdl:part name="strategy" type="s:string" /> + </wsdl:message> + <wsdl:message name="MatchInDictHttpPostOut"> + <wsdl:part name="Body" element="tns:ArrayOfDictionaryWord" /> + </wsdl:message> + <wsdl:portType name="DictServiceSoap"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoSoapIn" /> + <wsdl:output message="tns:ServerInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListSoapIn" /> + <wsdl:output message="tns:DictionaryListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedSoapIn" /> + <wsdl:output message="tns:DictionaryListExtendedSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoSoapIn" /> + <wsdl:output message="tns:DictionaryInfoSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineSoapIn" /> + <wsdl:output message="tns:DefineSoapOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictSoapIn" /> + <wsdl:output message="tns:DefineInDictSoapOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListSoapIn" /> + <wsdl:output message="tns:StrategyListSoapOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchSoapIn" /> + <wsdl:output message="tns:MatchSoapOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictSoapIn" /> + <wsdl:output message="tns:MatchInDictSoapOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpGet"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpGetIn" /> + <wsdl:output message="tns:ServerInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpGetIn" /> + <wsdl:output message="tns:DictionaryListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpGetIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpGetIn" /> + <wsdl:output message="tns:DictionaryInfoHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpGetIn" /> + <wsdl:output message="tns:DefineHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpGetIn" /> + <wsdl:output message="tns:DefineInDictHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpGetIn" /> + <wsdl:output message="tns:StrategyListHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpGetIn" /> + <wsdl:output message="tns:MatchHttpGetOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpGetIn" /> + <wsdl:output message="tns:MatchInDictHttpGetOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:portType name="DictServiceHttpPost"> + <wsdl:operation name="ServerInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show remote server information</wsdl:documentation> + <wsdl:input message="tns:ServerInfoHttpPostIn" /> + <wsdl:output message="tns:ServerInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of available dictionaries</wsdl:documentation> + <wsdl:input message="tns:DictionaryListHttpPostIn" /> + <wsdl:output message="tns:DictionaryListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns a list of advanced dictionaries (e.g. translating dictionaries)</wsdl:documentation> + <wsdl:input message="tns:DictionaryListExtendedHttpPostIn" /> + <wsdl:output message="tns:DictionaryListExtendedHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Show information about the specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DictionaryInfoHttpPostIn" /> + <wsdl:output message="tns:DictionaryInfoHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Define"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from all dictionaries</wsdl:documentation> + <wsdl:input message="tns:DefineHttpPostIn" /> + <wsdl:output message="tns:DefineHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Define given word, returning definitions from specified dictionary</wsdl:documentation> + <wsdl:input message="tns:DefineInDictHttpPostIn" /> + <wsdl:output message="tns:DefineInDictHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Return list of all available strategies on the server</wsdl:documentation> + <wsdl:input message="tns:StrategyListHttpPostIn" /> + <wsdl:output message="tns:StrategyListHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="Match"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in all dictionaries using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchHttpPostIn" /> + <wsdl:output message="tns:MatchHttpPostOut" /> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Look for matching words in the specified dictionary using the given strategy</wsdl:documentation> + <wsdl:input message="tns:MatchInDictHttpPostIn" /> + <wsdl:output message="tns:MatchInDictHttpPostOut" /> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="DictServiceSoap" type="tns:DictServiceSoap"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" 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="DictServiceSoap12" type="tns:DictServiceSoap"> + <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> + <wsdl:operation name="ServerInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/ServerInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryListExtended" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DictionaryInfo" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Define" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/DefineInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/StrategyList" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/Match" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <soap12:operation soapAction="http://services.aonaware.com/webservices/MatchInDict" style="document" /> + <wsdl:input> + <soap12:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap12:body use="literal" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpGet" type="tns:DictServiceHttpGet"> + <http:binding verb="GET" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <http:urlEncoded /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:binding name="DictServiceHttpPost" type="tns:DictServiceHttpPost"> + <http:binding verb="POST" /> + <wsdl:operation name="ServerInfo"> + <http:operation location="/ServerInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryList"> + <http:operation location="/DictionaryList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryListExtended"> + <http:operation location="/DictionaryListExtended" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DictionaryInfo"> + <http:operation location="/DictionaryInfo" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Define"> + <http:operation location="/Define" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="DefineInDict"> + <http:operation location="/DefineInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="StrategyList"> + <http:operation location="/StrategyList" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="Match"> + <http:operation location="/Match" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="MatchInDict"> + <http:operation location="/MatchInDict" /> + <wsdl:input> + <mime:content type="application/x-www-form-urlencoded" /> + </wsdl:input> + <wsdl:output> + <mime:mimeXml part="Body" /> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="DictService"> + <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Word Dictionary Web Service</wsdl:documentation> + <wsdl:port name="DictServiceSoap" binding="tns:DictServiceSoap"> + <soap:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceSoap12" binding="tns:DictServiceSoap12"> + <soap12:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpGet" binding="tns:DictServiceHttpGet"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + <wsdl:port name="DictServiceHttpPost" binding="tns:DictServiceHttpPost"> + <http:address location="http://services.aonaware.com/DictService/DictService.asmx" /> + </wsdl:port> + </wsdl:service> +</wsdl:definitions>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.Dictionary.datasource b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.Dictionary.datasource new file mode 100644 index 0000000..da71a7f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.Dictionary.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Dictionary" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise9.DictionarySuggestService.Dictionary, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.DictionaryWord.datasource b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.DictionaryWord.datasource new file mode 100644 index 0000000..3f223e3 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.DictionaryWord.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="DictionaryWord" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise9.DictionarySuggestService.DictionaryWord, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.Strategy.datasource b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.Strategy.datasource new file mode 100644 index 0000000..948a45e --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.Strategy.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="Strategy" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise9.DictionarySuggestService.Strategy, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.WordDefinition.datasource b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.WordDefinition.datasource new file mode 100644 index 0000000..0e2e8ed --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/Excercise9.DictionarySuggestService.WordDefinition.datasource @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + This file is automatically generated by Visual Studio .Net. It is + used to store generic object data source configuration information. + Renaming the file extension or editing the content of this file may + cause the file to be unrecognizable by the program. +--> +<GenericObjectDataSource DisplayName="WordDefinition" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource"> + <TypeInfo>Excercise9.DictionarySuggestService.WordDefinition, Service References.DictionarySuggestService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo> +</GenericObjectDataSource>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/Reference.cs b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/Reference.cs new file mode 100644 index 0000000..3b17164 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/Reference.cs @@ -0,0 +1,1064 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.431 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace Excercise9.DictionarySuggestService { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://services.aonaware.com/webservices/", ConfigurationName="DictionarySuggestService.DictServiceSoap")] + public interface DictServiceSoap { + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string ServerInfo(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/ServerInfo", ReplyAction="*")] + System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState); + + string EndServerInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryList", ReplyAction="*")] + System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Dictionary[] DictionaryListExtended(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryListExtended", ReplyAction="*")] + System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState); + + Dictionary[] EndDictionaryListExtended(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + string DictionaryInfo(string dictId); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DictionaryInfo", ReplyAction="*")] + System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState); + + string EndDictionaryInfo(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise9.DictionarySuggestService.WordDefinition Define(string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Define", ReplyAction="*")] + System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState); + + Excercise9.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Excercise9.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/DefineInDict", ReplyAction="*")] + System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState); + + Excercise9.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + Strategy[] StrategyList(); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/StrategyList", ReplyAction="*")] + System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState); + + Strategy[] EndStrategyList(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] Match(string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/Match", ReplyAction="*")] + System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatch(System.IAsyncResult result); + + [System.ServiceModel.OperationContractAttribute(Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + DictionaryWord[] MatchInDict(string dictId, string word, string strategy); + + [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://services.aonaware.com/webservices/MatchInDict", ReplyAction="*")] + System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState); + + DictionaryWord[] EndMatchInDict(System.IAsyncResult result); + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Dictionary : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string nameField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class DictionaryWord : object, System.ComponentModel.INotifyPropertyChanged { + + private string dictionaryIdField; + + private string wordField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string DictionaryId { + get { + return this.dictionaryIdField; + } + set { + this.dictionaryIdField = value; + this.RaisePropertyChanged("DictionaryId"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Strategy : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private string descriptionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class Definition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Dictionary dictionaryField; + + private string wordDefinitionField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public Dictionary Dictionary { + get { + return this.dictionaryField; + } + set { + this.dictionaryField = value; + this.RaisePropertyChanged("Dictionary"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string WordDefinition { + get { + return this.wordDefinitionField; + } + set { + this.wordDefinitionField = value; + this.RaisePropertyChanged("WordDefinition"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// <remarks/> + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.431")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.aonaware.com/webservices/")] + public partial class WordDefinition : object, System.ComponentModel.INotifyPropertyChanged { + + private string wordField; + + private Definition[] definitionsField; + + /// <remarks/> + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Word { + get { + return this.wordField; + } + set { + this.wordField = value; + this.RaisePropertyChanged("Word"); + } + } + + /// <remarks/> + [System.Xml.Serialization.XmlArrayAttribute(Order=1)] + public Definition[] Definitions { + get { + return this.definitionsField; + } + set { + this.definitionsField = value; + this.RaisePropertyChanged("Definitions"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface DictServiceSoapChannel : Excercise9.DictionarySuggestService.DictServiceSoap, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class ServerInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public ServerInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryListExtendedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryListExtendedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Dictionary[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Dictionary[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictionaryInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DictionaryInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public string Result { + get { + base.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise9.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise9.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DefineInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public DefineInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Excercise9.DictionarySuggestService.WordDefinition Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Excercise9.DictionarySuggestService.WordDefinition)(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class StrategyListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public StrategyListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public Strategy[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((Strategy[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class MatchInDictCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + public MatchInDictCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + public DictionaryWord[] Result { + get { + base.RaiseExceptionIfNecessary(); + return ((DictionaryWord[])(this.results[0])); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class DictServiceSoapClient : System.ServiceModel.ClientBase<Excercise9.DictionarySuggestService.DictServiceSoap>, Excercise9.DictionarySuggestService.DictServiceSoap { + + private BeginOperationDelegate onBeginServerInfoDelegate; + + private EndOperationDelegate onEndServerInfoDelegate; + + private System.Threading.SendOrPostCallback onServerInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListDelegate; + + private EndOperationDelegate onEndDictionaryListDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryListExtendedDelegate; + + private EndOperationDelegate onEndDictionaryListExtendedDelegate; + + private System.Threading.SendOrPostCallback onDictionaryListExtendedCompletedDelegate; + + private BeginOperationDelegate onBeginDictionaryInfoDelegate; + + private EndOperationDelegate onEndDictionaryInfoDelegate; + + private System.Threading.SendOrPostCallback onDictionaryInfoCompletedDelegate; + + private BeginOperationDelegate onBeginDefineDelegate; + + private EndOperationDelegate onEndDefineDelegate; + + private System.Threading.SendOrPostCallback onDefineCompletedDelegate; + + private BeginOperationDelegate onBeginDefineInDictDelegate; + + private EndOperationDelegate onEndDefineInDictDelegate; + + private System.Threading.SendOrPostCallback onDefineInDictCompletedDelegate; + + private BeginOperationDelegate onBeginStrategyListDelegate; + + private EndOperationDelegate onEndStrategyListDelegate; + + private System.Threading.SendOrPostCallback onStrategyListCompletedDelegate; + + private BeginOperationDelegate onBeginMatchDelegate; + + private EndOperationDelegate onEndMatchDelegate; + + private System.Threading.SendOrPostCallback onMatchCompletedDelegate; + + private BeginOperationDelegate onBeginMatchInDictDelegate; + + private EndOperationDelegate onEndMatchInDictDelegate; + + private System.Threading.SendOrPostCallback onMatchInDictCompletedDelegate; + + public DictServiceSoapClient() { + } + + public DictServiceSoapClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public DictServiceSoapClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public DictServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + public event System.EventHandler<ServerInfoCompletedEventArgs> ServerInfoCompleted; + + public event System.EventHandler<DictionaryListCompletedEventArgs> DictionaryListCompleted; + + public event System.EventHandler<DictionaryListExtendedCompletedEventArgs> DictionaryListExtendedCompleted; + + public event System.EventHandler<DictionaryInfoCompletedEventArgs> DictionaryInfoCompleted; + + public event System.EventHandler<DefineCompletedEventArgs> DefineCompleted; + + public event System.EventHandler<DefineInDictCompletedEventArgs> DefineInDictCompleted; + + public event System.EventHandler<StrategyListCompletedEventArgs> StrategyListCompleted; + + public event System.EventHandler<MatchCompletedEventArgs> MatchCompleted; + + public event System.EventHandler<MatchInDictCompletedEventArgs> MatchInDictCompleted; + + public string ServerInfo() { + return base.Channel.ServerInfo(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginServerInfo(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginServerInfo(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndServerInfo(System.IAsyncResult result) { + return base.Channel.EndServerInfo(result); + } + + private System.IAsyncResult OnBeginServerInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginServerInfo(callback, asyncState); + } + + private object[] OnEndServerInfo(System.IAsyncResult result) { + string retVal = this.EndServerInfo(result); + return new object[] { + retVal}; + } + + private void OnServerInfoCompleted(object state) { + if ((this.ServerInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.ServerInfoCompleted(this, new ServerInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void ServerInfoAsync() { + this.ServerInfoAsync(null); + } + + public void ServerInfoAsync(object userState) { + if ((this.onBeginServerInfoDelegate == null)) { + this.onBeginServerInfoDelegate = new BeginOperationDelegate(this.OnBeginServerInfo); + } + if ((this.onEndServerInfoDelegate == null)) { + this.onEndServerInfoDelegate = new EndOperationDelegate(this.OnEndServerInfo); + } + if ((this.onServerInfoCompletedDelegate == null)) { + this.onServerInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnServerInfoCompleted); + } + base.InvokeAsync(this.onBeginServerInfoDelegate, null, this.onEndServerInfoDelegate, this.onServerInfoCompletedDelegate, userState); + } + + public Dictionary[] DictionaryList() { + return base.Channel.DictionaryList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryList(System.IAsyncResult result) { + return base.Channel.EndDictionaryList(result); + } + + private System.IAsyncResult OnBeginDictionaryList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryList(callback, asyncState); + } + + private object[] OnEndDictionaryList(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryList(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListCompleted(object state) { + if ((this.DictionaryListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListCompleted(this, new DictionaryListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListAsync() { + this.DictionaryListAsync(null); + } + + public void DictionaryListAsync(object userState) { + if ((this.onBeginDictionaryListDelegate == null)) { + this.onBeginDictionaryListDelegate = new BeginOperationDelegate(this.OnBeginDictionaryList); + } + if ((this.onEndDictionaryListDelegate == null)) { + this.onEndDictionaryListDelegate = new EndOperationDelegate(this.OnEndDictionaryList); + } + if ((this.onDictionaryListCompletedDelegate == null)) { + this.onDictionaryListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListDelegate, null, this.onEndDictionaryListDelegate, this.onDictionaryListCompletedDelegate, userState); + } + + public Dictionary[] DictionaryListExtended() { + return base.Channel.DictionaryListExtended(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryListExtended(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryListExtended(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Dictionary[] EndDictionaryListExtended(System.IAsyncResult result) { + return base.Channel.EndDictionaryListExtended(result); + } + + private System.IAsyncResult OnBeginDictionaryListExtended(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginDictionaryListExtended(callback, asyncState); + } + + private object[] OnEndDictionaryListExtended(System.IAsyncResult result) { + Dictionary[] retVal = this.EndDictionaryListExtended(result); + return new object[] { + retVal}; + } + + private void OnDictionaryListExtendedCompleted(object state) { + if ((this.DictionaryListExtendedCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryListExtendedCompleted(this, new DictionaryListExtendedCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryListExtendedAsync() { + this.DictionaryListExtendedAsync(null); + } + + public void DictionaryListExtendedAsync(object userState) { + if ((this.onBeginDictionaryListExtendedDelegate == null)) { + this.onBeginDictionaryListExtendedDelegate = new BeginOperationDelegate(this.OnBeginDictionaryListExtended); + } + if ((this.onEndDictionaryListExtendedDelegate == null)) { + this.onEndDictionaryListExtendedDelegate = new EndOperationDelegate(this.OnEndDictionaryListExtended); + } + if ((this.onDictionaryListExtendedCompletedDelegate == null)) { + this.onDictionaryListExtendedCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryListExtendedCompleted); + } + base.InvokeAsync(this.onBeginDictionaryListExtendedDelegate, null, this.onEndDictionaryListExtendedDelegate, this.onDictionaryListExtendedCompletedDelegate, userState); + } + + public string DictionaryInfo(string dictId) { + return base.Channel.DictionaryInfo(dictId); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDictionaryInfo(string dictId, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDictionaryInfo(dictId, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public string EndDictionaryInfo(System.IAsyncResult result) { + return base.Channel.EndDictionaryInfo(result); + } + + private System.IAsyncResult OnBeginDictionaryInfo(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + return this.BeginDictionaryInfo(dictId, callback, asyncState); + } + + private object[] OnEndDictionaryInfo(System.IAsyncResult result) { + string retVal = this.EndDictionaryInfo(result); + return new object[] { + retVal}; + } + + private void OnDictionaryInfoCompleted(object state) { + if ((this.DictionaryInfoCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DictionaryInfoCompleted(this, new DictionaryInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DictionaryInfoAsync(string dictId) { + this.DictionaryInfoAsync(dictId, null); + } + + public void DictionaryInfoAsync(string dictId, object userState) { + if ((this.onBeginDictionaryInfoDelegate == null)) { + this.onBeginDictionaryInfoDelegate = new BeginOperationDelegate(this.OnBeginDictionaryInfo); + } + if ((this.onEndDictionaryInfoDelegate == null)) { + this.onEndDictionaryInfoDelegate = new EndOperationDelegate(this.OnEndDictionaryInfo); + } + if ((this.onDictionaryInfoCompletedDelegate == null)) { + this.onDictionaryInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDictionaryInfoCompleted); + } + base.InvokeAsync(this.onBeginDictionaryInfoDelegate, new object[] { + dictId}, this.onEndDictionaryInfoDelegate, this.onDictionaryInfoCompletedDelegate, userState); + } + + public Excercise9.DictionarySuggestService.WordDefinition Define(string word) { + return base.Channel.Define(word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefine(string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefine(word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise9.DictionarySuggestService.WordDefinition EndDefine(System.IAsyncResult result) { + return base.Channel.EndDefine(result); + } + + private System.IAsyncResult OnBeginDefine(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + return this.BeginDefine(word, callback, asyncState); + } + + private object[] OnEndDefine(System.IAsyncResult result) { + Excercise9.DictionarySuggestService.WordDefinition retVal = this.EndDefine(result); + return new object[] { + retVal}; + } + + private void OnDefineCompleted(object state) { + if ((this.DefineCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineCompleted(this, new DefineCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineAsync(string word) { + this.DefineAsync(word, null); + } + + public void DefineAsync(string word, object userState) { + if ((this.onBeginDefineDelegate == null)) { + this.onBeginDefineDelegate = new BeginOperationDelegate(this.OnBeginDefine); + } + if ((this.onEndDefineDelegate == null)) { + this.onEndDefineDelegate = new EndOperationDelegate(this.OnEndDefine); + } + if ((this.onDefineCompletedDelegate == null)) { + this.onDefineCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineCompleted); + } + base.InvokeAsync(this.onBeginDefineDelegate, new object[] { + word}, this.onEndDefineDelegate, this.onDefineCompletedDelegate, userState); + } + + public Excercise9.DictionarySuggestService.WordDefinition DefineInDict(string dictId, string word) { + return base.Channel.DefineInDict(dictId, word); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginDefineInDict(string dictId, string word, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginDefineInDict(dictId, word, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Excercise9.DictionarySuggestService.WordDefinition EndDefineInDict(System.IAsyncResult result) { + return base.Channel.EndDefineInDict(result); + } + + private System.IAsyncResult OnBeginDefineInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + return this.BeginDefineInDict(dictId, word, callback, asyncState); + } + + private object[] OnEndDefineInDict(System.IAsyncResult result) { + Excercise9.DictionarySuggestService.WordDefinition retVal = this.EndDefineInDict(result); + return new object[] { + retVal}; + } + + private void OnDefineInDictCompleted(object state) { + if ((this.DefineInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.DefineInDictCompleted(this, new DefineInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void DefineInDictAsync(string dictId, string word) { + this.DefineInDictAsync(dictId, word, null); + } + + public void DefineInDictAsync(string dictId, string word, object userState) { + if ((this.onBeginDefineInDictDelegate == null)) { + this.onBeginDefineInDictDelegate = new BeginOperationDelegate(this.OnBeginDefineInDict); + } + if ((this.onEndDefineInDictDelegate == null)) { + this.onEndDefineInDictDelegate = new EndOperationDelegate(this.OnEndDefineInDict); + } + if ((this.onDefineInDictCompletedDelegate == null)) { + this.onDefineInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDefineInDictCompleted); + } + base.InvokeAsync(this.onBeginDefineInDictDelegate, new object[] { + dictId, + word}, this.onEndDefineInDictDelegate, this.onDefineInDictCompletedDelegate, userState); + } + + public Strategy[] StrategyList() { + return base.Channel.StrategyList(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginStrategyList(System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginStrategyList(callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public Strategy[] EndStrategyList(System.IAsyncResult result) { + return base.Channel.EndStrategyList(result); + } + + private System.IAsyncResult OnBeginStrategyList(object[] inValues, System.AsyncCallback callback, object asyncState) { + return this.BeginStrategyList(callback, asyncState); + } + + private object[] OnEndStrategyList(System.IAsyncResult result) { + Strategy[] retVal = this.EndStrategyList(result); + return new object[] { + retVal}; + } + + private void OnStrategyListCompleted(object state) { + if ((this.StrategyListCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.StrategyListCompleted(this, new StrategyListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void StrategyListAsync() { + this.StrategyListAsync(null); + } + + public void StrategyListAsync(object userState) { + if ((this.onBeginStrategyListDelegate == null)) { + this.onBeginStrategyListDelegate = new BeginOperationDelegate(this.OnBeginStrategyList); + } + if ((this.onEndStrategyListDelegate == null)) { + this.onEndStrategyListDelegate = new EndOperationDelegate(this.OnEndStrategyList); + } + if ((this.onStrategyListCompletedDelegate == null)) { + this.onStrategyListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStrategyListCompleted); + } + base.InvokeAsync(this.onBeginStrategyListDelegate, null, this.onEndStrategyListDelegate, this.onStrategyListCompletedDelegate, userState); + } + + public DictionaryWord[] Match(string word, string strategy) { + return base.Channel.Match(word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatch(string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatch(word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatch(System.IAsyncResult result) { + return base.Channel.EndMatch(result); + } + + private System.IAsyncResult OnBeginMatch(object[] inValues, System.AsyncCallback callback, object asyncState) { + string word = ((string)(inValues[0])); + string strategy = ((string)(inValues[1])); + return this.BeginMatch(word, strategy, callback, asyncState); + } + + private object[] OnEndMatch(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatch(result); + return new object[] { + retVal}; + } + + private void OnMatchCompleted(object state) { + if ((this.MatchCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchCompleted(this, new MatchCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchAsync(string word, string strategy) { + this.MatchAsync(word, strategy, null); + } + + public void MatchAsync(string word, string strategy, object userState) { + if ((this.onBeginMatchDelegate == null)) { + this.onBeginMatchDelegate = new BeginOperationDelegate(this.OnBeginMatch); + } + if ((this.onEndMatchDelegate == null)) { + this.onEndMatchDelegate = new EndOperationDelegate(this.OnEndMatch); + } + if ((this.onMatchCompletedDelegate == null)) { + this.onMatchCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchCompleted); + } + base.InvokeAsync(this.onBeginMatchDelegate, new object[] { + word, + strategy}, this.onEndMatchDelegate, this.onMatchCompletedDelegate, userState); + } + + public DictionaryWord[] MatchInDict(string dictId, string word, string strategy) { + return base.Channel.MatchInDict(dictId, word, strategy); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public System.IAsyncResult BeginMatchInDict(string dictId, string word, string strategy, System.AsyncCallback callback, object asyncState) { + return base.Channel.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + public DictionaryWord[] EndMatchInDict(System.IAsyncResult result) { + return base.Channel.EndMatchInDict(result); + } + + private System.IAsyncResult OnBeginMatchInDict(object[] inValues, System.AsyncCallback callback, object asyncState) { + string dictId = ((string)(inValues[0])); + string word = ((string)(inValues[1])); + string strategy = ((string)(inValues[2])); + return this.BeginMatchInDict(dictId, word, strategy, callback, asyncState); + } + + private object[] OnEndMatchInDict(System.IAsyncResult result) { + DictionaryWord[] retVal = this.EndMatchInDict(result); + return new object[] { + retVal}; + } + + private void OnMatchInDictCompleted(object state) { + if ((this.MatchInDictCompleted != null)) { + InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state)); + this.MatchInDictCompleted(this, new MatchInDictCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState)); + } + } + + public void MatchInDictAsync(string dictId, string word, string strategy) { + this.MatchInDictAsync(dictId, word, strategy, null); + } + + public void MatchInDictAsync(string dictId, string word, string strategy, object userState) { + if ((this.onBeginMatchInDictDelegate == null)) { + this.onBeginMatchInDictDelegate = new BeginOperationDelegate(this.OnBeginMatchInDict); + } + if ((this.onEndMatchInDictDelegate == null)) { + this.onEndMatchInDictDelegate = new EndOperationDelegate(this.OnEndMatchInDict); + } + if ((this.onMatchInDictCompletedDelegate == null)) { + this.onMatchInDictCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMatchInDictCompleted); + } + base.InvokeAsync(this.onBeginMatchInDictDelegate, new object[] { + dictId, + word, + strategy}, this.onEndMatchInDictDelegate, this.onMatchInDictCompletedDelegate, userState); + } + } +} diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/Reference.svcmap b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/Reference.svcmap new file mode 100644 index 0000000..262793d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/Reference.svcmap @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="e75a076a-da23-4f7a-863b-068b0bcdc64a" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap"> + <ClientOptions> + <GenerateAsynchronousMethods>true</GenerateAsynchronousMethods> + <EnableDataBinding>true</EnableDataBinding> + <ExcludedTypes /> + <ImportXmlTypes>false</ImportXmlTypes> + <GenerateInternalTypes>false</GenerateInternalTypes> + <GenerateMessageContracts>false</GenerateMessageContracts> + <NamespaceMappings /> + <CollectionMappings /> + <GenerateSerializableTypes>true</GenerateSerializableTypes> + <Serializer>Auto</Serializer> + <UseSerializerForFaults>true</UseSerializerForFaults> + <ReferenceAllAssemblies>true</ReferenceAllAssemblies> + <ReferencedAssemblies /> + <ReferencedDataContractTypes /> + <ServiceContractMappings /> + </ClientOptions> + <MetadataSources> + <MetadataSource Address="http://services.aonaware.com/DictService/DictService.asmx" Protocol="http" SourceId="1" /> + </MetadataSources> + <Metadata> + <MetadataFile FileName="DictService.disco" MetadataType="Disco" ID="ec8a6728-2d46-4424-a9cb-a89dbf639570" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?disco" /> + <MetadataFile FileName="DictService.wsdl" MetadataType="Wsdl" ID="dbe33f76-54f8-4c5a-b509-af92c391b3a3" SourceId="1" SourceUrl="http://services.aonaware.com/DictService/DictService.asmx?wsdl" /> + </Metadata> + <Extensions> + <ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" /> + <ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" /> + </Extensions> +</ReferenceGroup>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/configuration.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/configuration.svcinfo new file mode 100644 index 0000000..a856d3d --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/configuration.svcinfo @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot"> + <behaviors /> + <bindings> + <binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" messageEncoding="Text" name="DictServiceSoap" textEncoding="utf-8" transferMode="Buffered"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /><security mode="None"><message algorithmSuite="Default" clientCredentialType="UserName" /><transport clientCredentialType="None" proxyCredentialType="None" realm="" /></security></Data>" bindingType="basicHttpBinding" name="DictServiceSoap" /> + <binding digest="System.ServiceModel.Configuration.CustomBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="DictServiceSoap12"><httpTransport allowCookies="false" authenticationScheme="Anonymous" bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" keepAliveEnabled="true" manualAddressing="false" maxBufferPoolSize="524288" maxBufferSize="65536" maxReceivedMessageSize="65536" proxyAuthenticationScheme="Anonymous" realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" useDefaultWebProxy="true" /><textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" messageVersion="Soap12" writeEncoding="utf-8"><readerQuotas maxArrayLength="16384" maxBytesPerRead="4096" maxDepth="32" maxNameTableCharCount="16384" maxStringContentLength="8192" /></textMessageEncoding></Data>" bindingType="customBinding" name="DictServiceSoap12" /> + </bindings> + <endpoints> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://services.aonaware.com/DictService/DictService.asmx" binding="customBinding" bindingConfiguration="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" />" contractName="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </endpoints> +</configurationSnapshot>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/configuration91.svcinfo b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/configuration91.svcinfo new file mode 100644 index 0000000..2599177 --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/Service References/DictionarySuggestService/configuration91.svcinfo @@ -0,0 +1,401 @@ +<?xml version="1.0" encoding="utf-8"?> +<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="Cb1mlQVfrIvXhoWXP+TpwPhxgGY="> + <bindingConfigurations> + <bindingConfiguration bindingType="basicHttpBinding" name="DictServiceSoap"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:10:00</serializedValue> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>00:01:00</serializedValue> + </property> + <property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Text</serializedValue> + </property> + <property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue> + </property> + <property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue> + </property> + <property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>None</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + <property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue> + </property> + <property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>UserName</serializedValue> + </property> + <property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Default</serializedValue> + </property> + <property path="/textEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + </properties> + </bindingConfiguration> + <bindingConfiguration bindingType="customBinding" name="DictServiceSoap12"> + <properties> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/textMessageEncoding" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.TextMessageEncodingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.TextMessageEncodingElement</serializedValue> + </property> + <property path="/textMessageEncoding/maxReadPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>64</serializedValue> + </property> + <property path="/textMessageEncoding/maxWritePoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16</serializedValue> + </property> + <property path="/textMessageEncoding/messageVersion" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.MessageVersion, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Soap12</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>32</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>8192</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>4096</serializedValue> + </property> + <property path="/textMessageEncoding/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>16384</serializedValue> + </property> + <property path="/textMessageEncoding/writeEncoding" isComplexType="false" isExplicitlyDefined="true" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Text.UTF8Encoding</serializedValue> + </property> + <property path="/httpTransport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.HttpTransportElement</serializedValue> + </property> + <property path="/httpTransport/manualAddressing" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>524288</serializedValue> + </property> + <property path="/httpTransport/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/authenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/decompressionEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>StrongWildcard</serializedValue> + </property> + <property path="/httpTransport/keepAliveEnabled" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/maxBufferSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>65536</serializedValue> + </property> + <property path="/httpTransport/proxyAddress" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/proxyAuthenticationScheme" isComplexType="false" isExplicitlyDefined="true" clrType="System.Net.AuthenticationSchemes, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Anonymous</serializedValue> + </property> + <property path="/httpTransport/realm" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/httpTransport/transferMode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Buffered</serializedValue> + </property> + <property path="/httpTransport/unsafeConnectionNtlmAuthentication" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/httpTransport/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>True</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>Never</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>TransportSelected</serializedValue> + </property> + <property path="/httpTransport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>(Collection)</serializedValue> + </property> + </properties> + </bindingConfiguration> + </bindingConfigurations> + <endpoints> + <endpoint name="DictServiceSoap" contract="DictionarySuggestService.DictServiceSoap" bindingType="basicHttpBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>basicHttpBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + <endpoint name="DictServiceSoap12" contract="DictionarySuggestService.DictServiceSoap" bindingType="customBinding" address="http://services.aonaware.com/DictService/DictService.asmx" bindingConfiguration="DictServiceSoap12"> + <properties> + <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>http://services.aonaware.com/DictService/DictService.asmx</serializedValue> + </property> + <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>customBinding</serializedValue> + </property> + <property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictionarySuggestService.DictServiceSoap</serializedValue> + </property> + <property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue> + </property> + <property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue><Header /></serializedValue> + </property> + <property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue> + </property> + <property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue> + </property> + <property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue> + </property> + <property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue> + </property> + <property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue> + </property> + <property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue> + </property> + <property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue> + </property> + <property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>My</serializedValue> + </property> + <property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>LocalMachine</serializedValue> + </property> + <property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>FindBySubjectDistinguishedName</serializedValue> + </property> + <property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>False</serializedValue> + </property> + <property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue>DictServiceSoap12</serializedValue> + </property> + <property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + <property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <serializedValue /> + </property> + </properties> + </endpoint> + </endpoints> +</SavedWcfConfigurationInformation>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/Excercise9/Step04/app.config b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/app.config new file mode 100644 index 0000000..cf1770f --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/Excercise9/Step04/app.config @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <system.serviceModel> + <bindings> + <basicHttpBinding> + <binding name="DictServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" + receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" + bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" + maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" + messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" + useDefaultWebProxy="true"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + <security mode="None"> + <transport clientCredentialType="None" proxyCredentialType="None" + realm="" /> + <message clientCredentialType="UserName" algorithmSuite="Default" /> + </security> + </binding> + </basicHttpBinding> + <customBinding> + <binding name="DictServiceSoap12"> + <textMessageEncoding maxReadPoolSize="64" maxWritePoolSize="16" + messageVersion="Soap12" writeEncoding="utf-8"> + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" + maxBytesPerRead="4096" maxNameTableCharCount="16384" /> + </textMessageEncoding> + <httpTransport manualAddressing="false" maxBufferPoolSize="524288" + maxReceivedMessageSize="65536" allowCookies="false" authenticationScheme="Anonymous" + bypassProxyOnLocal="false" decompressionEnabled="true" hostNameComparisonMode="StrongWildcard" + keepAliveEnabled="true" maxBufferSize="65536" proxyAuthenticationScheme="Anonymous" + realm="" transferMode="Buffered" unsafeConnectionNtlmAuthentication="false" + useDefaultWebProxy="true" /> + </binding> + </customBinding> + </bindings> + <client> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="basicHttpBinding" bindingConfiguration="DictServiceSoap" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap" /> + <endpoint address="http://services.aonaware.com/DictService/DictService.asmx" + binding="customBinding" bindingConfiguration="DictServiceSoap12" + contract="DictionarySuggestService.DictServiceSoap" name="DictServiceSoap12" /> + </client> + </system.serviceModel> +</configuration>
\ No newline at end of file diff --git a/Rx/NET/Samples/HOL/CS/RxHOL.sln b/Rx/NET/Samples/HOL/CS/RxHOL.sln new file mode 100644 index 0000000..5ea696e --- /dev/null +++ b/Rx/NET/Samples/HOL/CS/RxHOL.sln @@ -0,0 +1,504 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Excercise3", "Excercise3", "{058BEC5A-A58E-42BD-9E1B-2001EEE934A4}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Start", "Start", "{6B17AE75-CAA7-4789-96A9-76EDC326DB7F}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step03", "Step03", "{46820A8C-A4A4-4A6E-ACB9-4F8CBDF6D528}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step04", "Step04", "{44B90B03-40C6-45D7-9822-CB695CADC407}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step05", "Step05", "{63DA93E8-8504-4AD1-B764-560FEA408830}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step06", "Step06", "{77B3B6C8-7468-4EC6-891E-0EB0C01C0A5B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise3", "Excercise3\Start\Excercise3.csproj", "{E33DD010-6514-4C5E-89B5-C2BE05F71139}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise3", "Excercise3\Step03\Excercise3.csproj", "{9C33BFED-D534-4012-83DF-B4A102DCFE92}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise3", "Excercise3\Step04\Excercise3.csproj", "{4595D6BB-AFAB-45D1-897E-1FDA4DE03BDE}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise3", "Excercise3\Step05\Excercise3.csproj", "{D3E4FB9F-DEAB-4F03-8330-732F7D8241B8}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise3", "Excercise3\Step06\Excercise3.csproj", "{E77F5B43-AB6D-40F5-BE4A-8C2E1883241F}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Excercise1", "Excercise1", "{0BB6B1E8-A033-4CDF-8E09-12491B2717F4}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Excercise2", "Excercise2", "{3B60BEE1-3F3B-46EB-9F32-2E6C7377367E}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Excercise4", "Excercise4", "{53257C78-89A2-4971-B975-3C47E27EE05B}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Excercise5", "Excercise5", "{8040C1B2-42C8-46E7-8DC4-672BF57F6678}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Excercise6", "Excercise6", "{D74047E2-8AB3-49BE-996E-2215DBEB937A}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Start", "Start", "{5EC1B95B-5138-46FE-AD64-C1DF9BCBAE84}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Excercise7", "Excercise7", "{42C9A32A-99B3-4B7F-AC3B-1D01203D2A41}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Excercise8", "Excercise8", "{0C7BA7F8-6459-4B90-BFCC-BC0732C0284E}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Excercise9", "Excercise9", "{95B29694-AF42-4271-A8FB-B32138569DFE}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Start", "Start", "{6E19B480-F7DE-432F-89DA-D3F002280C23}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise1", "Excercise1\Start\Excercise1.csproj", "{64025149-E5AD-4566-9E82-7408B2176FD3}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Start", "Start", "{1FFF47B7-A183-41FA-A488-3A9FCF2097D7}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step03", "Step03", "{02BF538F-7199-4A2E-B610-6DB2A4FADEF6}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step04", "Step04", "{F07A783A-D062-4B5B-B6EC-1302516F0F8F}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step05", "Step05", "{3D1CC02A-B19D-48E8-8B53-5A066E53F211}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step06", "Step06", "{D54AEE57-8AD9-429F-A54B-4DEDCA4BFDC8}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step07", "Step07", "{FE4C08A9-2498-416E-8E2B-9C84A96C3675}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step08", "Step08", "{5023986C-735E-4AD8-9E5B-92364535B9C1}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step09", "Step09", "{F95CE46E-071D-40E3-BFB8-AA7CF72C341E}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step10", "Step10", "{8D932283-64EB-488B-A36A-DCE2001F2ABC}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise2", "Excercise2\Start\Excercise2.csproj", "{AF344E14-373F-4DD8-A784-A33040B39FD5}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise2", "Excercise2\Step03\Excercise2.csproj", "{6F62C380-C2B1-4702-8A73-9101FCAB2E38}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise2", "Excercise2\Step04\Excercise2.csproj", "{289C6220-CB61-413F-8C14-21AEDEB94B4C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise2", "Excercise2\Step05\Excercise2.csproj", "{BC16C11F-D510-4CE9-ABA4-3E703ED48FBD}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise2", "Excercise2\Step06\Excercise2.csproj", "{E4136784-3DC4-438F-9E90-E261CCE9DA6C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise2", "Excercise2\Step07\Excercise2.csproj", "{20522107-AECC-4E6D-846C-69D49406A06B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise2", "Excercise2\Step08\Excercise2.csproj", "{0396B214-99A9-4F09-AAC9-ACAF2125414C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise2", "Excercise2\Step09\Excercise2.csproj", "{16DDA343-61A7-4D54-8482-4E4C0AFF26F5}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise2", "Excercise2\Step10\Excercise2.csproj", "{81113424-7F2C-4B54-A3BF-68F7130900D2}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Start", "Start", "{79C77B1D-BB5B-46EE-91D4-FA5C78699630}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step03", "Step03", "{AABB3511-A315-4253-99AD-A6EE8260DE74}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step04", "Step04", "{FF88A69D-46FA-4C62-B4B0-3FFAA4540C60}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise4", "Excercise4\Start\Excercise4.csproj", "{C806AC15-A335-4EDC-A596-D11532C31D7E}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise4", "Excercise4\Step03\Excercise4.csproj", "{60A618F3-98F6-460C-A9F1-C3EC79CEA3B0}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise4", "Excercise4\Step04\Excercise4.csproj", "{F6A8772E-A0EC-49B6-8254-6DD3CDF125C2}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Start", "Start", "{B7EAD8E8-9105-46ED-9D4B-69E7E00245EC}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step03", "Step03", "{95354270-2BD6-41B8-9414-B518FAD50E8C}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step04", "Step04", "{9DC04B3F-311A-4B79-B835-42CB2868679F}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step05", "Step05", "{93FBE612-8E66-43C3-9E2F-C3A50D96676D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise5", "Excercise5\Start\Excercise5.csproj", "{612EB94E-B9D8-4FC7-8400-E914C324729A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise5", "Excercise5\Step03\Excercise5.csproj", "{3F646D48-FE9B-4372-9145-C849E55C85A0}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise5", "Excercise5\Step04\Excercise5.csproj", "{FDFB3A63-D70A-4DC6-92F1-D8C3EAF2F0E5}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise5", "Excercise5\Step05\Excercise5.csproj", "{EFB0FA3C-0F6E-435B-8627-90B8EE83AD8D}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step02", "Step02", "{2CF97B79-E3AF-41C1-B6E6-5C2F2B2C2D18}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step03", "Step03", "{B31EBE19-2FCA-4816-9B74-2A17DBE599A4}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise6", "Excercise6\Start\Excercise6.csproj", "{5E42D5BE-A515-4598-A6C6-3A5354DAC4A1}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise6", "Excercise6\Step02\Excercise6.csproj", "{3AF631B1-F66F-4631-8E43-6025FD478884}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise6", "Excercise6\Step03\Excercise6.csproj", "{D11447DB-2F04-467E-8A3B-447C45535DE4}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Start", "Start", "{76094F13-C93B-4BA1-9E78-8CB641E29E4A}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step02", "Step02", "{B3612A3E-F046-4F22-8FB9-BE6DC2D1C94E}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step03", "Step03", "{CE863F07-CFFD-4EF0-9645-B6D3C8B633D6}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step04", "Step04", "{58C87845-223A-438C-8796-12935D1C282C}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step05", "Step05", "{65891540-390C-4C01-88FE-AC81D999E75F}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step06", "Step06", "{D7AD0809-B505-464E-8BC9-53CBDC8A2A8F}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step07", "Step07", "{8F2C09A0-FF58-4B6B-BDEE-0AA49336CA63}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise7", "Excercise7\Start\Excercise7.csproj", "{C6C79232-C73A-4CC7-A9B2-648BB0E5F8BE}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise7", "Excercise7\Step02\Excercise7.csproj", "{170C4D2D-DCCD-4E82-8993-2009AC67B027}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise7", "Excercise7\Step03\Excercise7.csproj", "{467BA4F7-AD14-4419-A4AD-B0A78F13912E}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise7", "Excercise7\Step04\Excercise7.csproj", "{4B010F9A-CA01-462A-A400-9478905CC4ED}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise7", "Excercise7\Step05\Excercise7.csproj", "{21E64C52-6DE5-43C6-B8AE-7857302C79F7}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise7", "Excercise7\Step06\Excercise7.csproj", "{33B49FF4-8979-4EF1-8639-8A286807DC62}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise7", "Excercise7\Step07\Excercise7.csproj", "{488A98AD-01C0-4C12-880E-FD90696A7205}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Start", "Start", "{D3BB9E17-E543-47F5-B051-8C760F907CC0}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step01", "Step01", "{685285C7-EC36-4CDA-86E7-BBFCE885B2B1}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step02", "Step02", "{662EF2D7-7F25-4968-9863-8A317B068094}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step03", "Step03", "{4B332905-00D8-4F4E-B3D2-F7277E56D383}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step05", "Step05", "{8A0D0CF8-A5D1-449F-98C1-02056E5E7209}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step06", "Step06", "{724BA52C-4FA1-4C51-B415-A32EE57B4981}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step07", "Step07", "{451C2479-62E7-42FF-A788-2A2D9C283F5E}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step08", "Step08", "{FFAAF9E9-E3E0-4BCA-BEA6-2ED6701B0AC5}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step09", "Step09", "{C32C724E-1A6D-4A43-B87B-C7E56BC689AE}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step10", "Step10", "{CE5C02BA-622D-4C73-BF5F-EA48F43B6B35}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step11", "Step11", "{CB0735D8-BD07-4B69-93FD-F47A8814E296}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise8", "Excercise8\Start\Excercise8.csproj", "{911E68A6-E9E1-4A5B-939E-C38A0F1B45A8}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise8", "Excercise8\Step01\Excercise8.csproj", "{3DD9A69A-E5B7-4432-93AC-ECED324C1D24}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise8", "Excercise8\Step02\Excercise8.csproj", "{0801402D-9E97-41EC-BDD3-28AB6B3C0EC5}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise8", "Excercise8\Step03\Excercise8.csproj", "{3B975647-C417-4BCC-B1BD-1327C5A89840}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise8", "Excercise8\Step05\Excercise8.csproj", "{33D4203E-D147-40DD-A4B3-F3BBE41F0EC5}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise8", "Excercise8\Step06\Excercise8.csproj", "{C00E4B13-1881-4220-A034-3F47116553C4}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise8", "Excercise8\Step07\Excercise8.csproj", "{578E2EA9-D8D9-4B12-83D2-1B383750E677}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise8", "Excercise8\Step08\Excercise8.csproj", "{158726F2-7C69-4B5B-9DCB-45CFA0281028}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise8", "Excercise8\Step09\Excercise8.csproj", "{A385F93F-35D9-4855-AC37-030FB77FE525}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise8", "Excercise8\Step10\Excercise8.csproj", "{F7F85211-07C5-4E83-9EF0-ACB174F9FE8D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise8", "Excercise8\Step11\Excercise8.csproj", "{E127C33D-FB10-4F17-A79A-6669A51F021D}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step01", "Step01", "{66A5F08C-D9CE-49FE-8F34-5E1F0C1B025D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise9", "Excercise9\Step01\Excercise9.csproj", "{1C6AB6E0-0D01-4648-80EB-C9ACE86F0AF8}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step02", "Step02", "{5103E5C8-C4B2-40F6-B053-EFE6EB7760DE}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step03", "Step03", "{2E374CC9-02D6-44A4-896F-84C54D16E230}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Step04", "Step04", "{FDC9A2FB-2888-40DC-9592-26CBF30C2405}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise9", "Excercise9\Step02\Excercise9.csproj", "{87B5C064-6DAA-4824-85A9-65D73BF319AC}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise9", "Excercise9\Step03\Excercise9.csproj", "{5FAAD383-D86D-4B45-B8C3-D6C2ADF77CC3}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Excercise9", "Excercise9\Step04\Excercise9.csproj", "{278BC5C4-1227-4E70-9245-20D0B70D3FA7}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.ActiveCfg = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Debug|x86.Build.0 = Debug|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.ActiveCfg = Release|x86 + {E33DD010-6514-4C5E-89B5-C2BE05F71139}.Release|x86.Build.0 = Release|x86 + {9C33BFED-D534-4012-83DF-B4A102DCFE92}.Debug|x86.ActiveCfg = Debug|x86 + {9C33BFED-D534-4012-83DF-B4A102DCFE92}.Debug|x86.Build.0 = Debug|x86 + {9C33BFED-D534-4012-83DF-B4A102DCFE92}.Release|x86.ActiveCfg = Release|x86 + {9C33BFED-D534-4012-83DF-B4A102DCFE92}.Release|x86.Build.0 = Release|x86 + {4595D6BB-AFAB-45D1-897E-1FDA4DE03BDE}.Debug|x86.ActiveCfg = Debug|x86 + {4595D6BB-AFAB-45D1-897E-1FDA4DE03BDE}.Debug|x86.Build.0 = Debug|x86 + {4595D6BB-AFAB-45D1-897E-1FDA4DE03BDE}.Release|x86.ActiveCfg = Release|x86 + {4595D6BB-AFAB-45D1-897E-1FDA4DE03BDE}.Release|x86.Build.0 = Release|x86 + {D3E4FB9F-DEAB-4F03-8330-732F7D8241B8}.Debug|x86.ActiveCfg = Debug|x86 + {D3E4FB9F-DEAB-4F03-8330-732F7D8241B8}.Debug|x86.Build.0 = Debug|x86 + {D3E4FB9F-DEAB-4F03-8330-732F7D8241B8}.Release|x86.ActiveCfg = Release|x86 + {D3E4FB9F-DEAB-4F03-8330-732F7D8241B8}.Release|x86.Build.0 = Release|x86 + {E77F5B43-AB6D-40F5-BE4A-8C2E1883241F}.Debug|x86.ActiveCfg = Debug|x86 + {E77F5B43-AB6D-40F5-BE4A-8C2E1883241F}.Debug|x86.Build.0 = Debug|x86 + {E77F5B43-AB6D-40F5-BE4A-8C2E1883241F}.Release|x86.ActiveCfg = Release|x86 + {E77F5B43-AB6D-40F5-BE4A-8C2E1883241F}.Release|x86.Build.0 = Release|x86 + {64025149-E5AD-4566-9E82-7408B2176FD3}.Debug|x86.ActiveCfg = Debug|x86 + {64025149-E5AD-4566-9E82-7408B2176FD3}.Debug|x86.Build.0 = Debug|x86 + {64025149-E5AD-4566-9E82-7408B2176FD3}.Release|x86.ActiveCfg = Release|x86 + {64025149-E5AD-4566-9E82-7408B2176FD3}.Release|x86.Build.0 = Release|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Debug|x86.ActiveCfg = Debug|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Debug|x86.Build.0 = Debug|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Release|x86.ActiveCfg = Release|x86 + {AF344E14-373F-4DD8-A784-A33040B39FD5}.Release|x86.Build.0 = Release|x86 + {6F62C380-C2B1-4702-8A73-9101FCAB2E38}.Debug|x86.ActiveCfg = Debug|x86 + {6F62C380-C2B1-4702-8A73-9101FCAB2E38}.Debug|x86.Build.0 = Debug|x86 + {6F62C380-C2B1-4702-8A73-9101FCAB2E38}.Release|x86.ActiveCfg = Release|x86 + {6F62C380-C2B1-4702-8A73-9101FCAB2E38}.Release|x86.Build.0 = Release|x86 + {289C6220-CB61-413F-8C14-21AEDEB94B4C}.Debug|x86.ActiveCfg = Debug|x86 + {289C6220-CB61-413F-8C14-21AEDEB94B4C}.Debug|x86.Build.0 = Debug|x86 + {289C6220-CB61-413F-8C14-21AEDEB94B4C}.Release|x86.ActiveCfg = Release|x86 + {289C6220-CB61-413F-8C14-21AEDEB94B4C}.Release|x86.Build.0 = Release|x86 + {BC16C11F-D510-4CE9-ABA4-3E703ED48FBD}.Debug|x86.ActiveCfg = Debug|x86 + {BC16C11F-D510-4CE9-ABA4-3E703ED48FBD}.Debug|x86.Build.0 = Debug|x86 + {BC16C11F-D510-4CE9-ABA4-3E703ED48FBD}.Release|x86.ActiveCfg = Release|x86 + {BC16C11F-D510-4CE9-ABA4-3E703ED48FBD}.Release|x86.Build.0 = Release|x86 + {E4136784-3DC4-438F-9E90-E261CCE9DA6C}.Debug|x86.ActiveCfg = Debug|x86 + {E4136784-3DC4-438F-9E90-E261CCE9DA6C}.Debug|x86.Build.0 = Debug|x86 + {E4136784-3DC4-438F-9E90-E261CCE9DA6C}.Release|x86.ActiveCfg = Release|x86 + {E4136784-3DC4-438F-9E90-E261CCE9DA6C}.Release|x86.Build.0 = Release|x86 + {20522107-AECC-4E6D-846C-69D49406A06B}.Debug|x86.ActiveCfg = Debug|x86 + {20522107-AECC-4E6D-846C-69D49406A06B}.Debug|x86.Build.0 = Debug|x86 + {20522107-AECC-4E6D-846C-69D49406A06B}.Release|x86.ActiveCfg = Release|x86 + {20522107-AECC-4E6D-846C-69D49406A06B}.Release|x86.Build.0 = Release|x86 + {0396B214-99A9-4F09-AAC9-ACAF2125414C}.Debug|x86.ActiveCfg = Debug|x86 + {0396B214-99A9-4F09-AAC9-ACAF2125414C}.Debug|x86.Build.0 = Debug|x86 + {0396B214-99A9-4F09-AAC9-ACAF2125414C}.Release|x86.ActiveCfg = Release|x86 + {0396B214-99A9-4F09-AAC9-ACAF2125414C}.Release|x86.Build.0 = Release|x86 + {16DDA343-61A7-4D54-8482-4E4C0AFF26F5}.Debug|x86.ActiveCfg = Debug|x86 + {16DDA343-61A7-4D54-8482-4E4C0AFF26F5}.Debug|x86.Build.0 = Debug|x86 + {16DDA343-61A7-4D54-8482-4E4C0AFF26F5}.Release|x86.ActiveCfg = Release|x86 + {16DDA343-61A7-4D54-8482-4E4C0AFF26F5}.Release|x86.Build.0 = Release|x86 + {81113424-7F2C-4B54-A3BF-68F7130900D2}.Debug|x86.ActiveCfg = Debug|x86 + {81113424-7F2C-4B54-A3BF-68F7130900D2}.Debug|x86.Build.0 = Debug|x86 + {81113424-7F2C-4B54-A3BF-68F7130900D2}.Release|x86.ActiveCfg = Release|x86 + {81113424-7F2C-4B54-A3BF-68F7130900D2}.Release|x86.Build.0 = Release|x86 + {C806AC15-A335-4EDC-A596-D11532C31D7E}.Debug|x86.ActiveCfg = Debug|x86 + {C806AC15-A335-4EDC-A596-D11532C31D7E}.Debug|x86.Build.0 = Debug|x86 + {C806AC15-A335-4EDC-A596-D11532C31D7E}.Release|x86.ActiveCfg = Release|x86 + {C806AC15-A335-4EDC-A596-D11532C31D7E}.Release|x86.Build.0 = Release|x86 + {60A618F3-98F6-460C-A9F1-C3EC79CEA3B0}.Debug|x86.ActiveCfg = Debug|x86 + {60A618F3-98F6-460C-A9F1-C3EC79CEA3B0}.Debug|x86.Build.0 = Debug|x86 + {60A618F3-98F6-460C-A9F1-C3EC79CEA3B0}.Release|x86.ActiveCfg = Release|x86 + {60A618F3-98F6-460C-A9F1-C3EC79CEA3B0}.Release|x86.Build.0 = Release|x86 + {F6A8772E-A0EC-49B6-8254-6DD3CDF125C2}.Debug|x86.ActiveCfg = Debug|x86 + {F6A8772E-A0EC-49B6-8254-6DD3CDF125C2}.Debug|x86.Build.0 = Debug|x86 + {F6A8772E-A0EC-49B6-8254-6DD3CDF125C2}.Release|x86.ActiveCfg = Release|x86 + {F6A8772E-A0EC-49B6-8254-6DD3CDF125C2}.Release|x86.Build.0 = Release|x86 + {612EB94E-B9D8-4FC7-8400-E914C324729A}.Debug|x86.ActiveCfg = Debug|x86 + {612EB94E-B9D8-4FC7-8400-E914C324729A}.Debug|x86.Build.0 = Debug|x86 + {612EB94E-B9D8-4FC7-8400-E914C324729A}.Release|x86.ActiveCfg = Release|x86 + {612EB94E-B9D8-4FC7-8400-E914C324729A}.Release|x86.Build.0 = Release|x86 + {3F646D48-FE9B-4372-9145-C849E55C85A0}.Debug|x86.ActiveCfg = Debug|x86 + {3F646D48-FE9B-4372-9145-C849E55C85A0}.Debug|x86.Build.0 = Debug|x86 + {3F646D48-FE9B-4372-9145-C849E55C85A0}.Release|x86.ActiveCfg = Release|x86 + {3F646D48-FE9B-4372-9145-C849E55C85A0}.Release|x86.Build.0 = Release|x86 + {FDFB3A63-D70A-4DC6-92F1-D8C3EAF2F0E5}.Debug|x86.ActiveCfg = Debug|x86 + {FDFB3A63-D70A-4DC6-92F1-D8C3EAF2F0E5}.Debug|x86.Build.0 = Debug|x86 + {FDFB3A63-D70A-4DC6-92F1-D8C3EAF2F0E5}.Release|x86.ActiveCfg = Release|x86 + {FDFB3A63-D70A-4DC6-92F1-D8C3EAF2F0E5}.Release|x86.Build.0 = Release|x86 + {EFB0FA3C-0F6E-435B-8627-90B8EE83AD8D}.Debug|x86.ActiveCfg = Debug|x86 + {EFB0FA3C-0F6E-435B-8627-90B8EE83AD8D}.Debug|x86.Build.0 = Debug|x86 + {EFB0FA3C-0F6E-435B-8627-90B8EE83AD8D}.Release|x86.ActiveCfg = Release|x86 + {EFB0FA3C-0F6E-435B-8627-90B8EE83AD8D}.Release|x86.Build.0 = Release|x86 + {5E42D5BE-A515-4598-A6C6-3A5354DAC4A1}.Debug|x86.ActiveCfg = Debug|x86 + {5E42D5BE-A515-4598-A6C6-3A5354DAC4A1}.Debug|x86.Build.0 = Debug|x86 + {5E42D5BE-A515-4598-A6C6-3A5354DAC4A1}.Release|x86.ActiveCfg = Release|x86 + {5E42D5BE-A515-4598-A6C6-3A5354DAC4A1}.Release|x86.Build.0 = Release|x86 + {3AF631B1-F66F-4631-8E43-6025FD478884}.Debug|x86.ActiveCfg = Debug|x86 + {3AF631B1-F66F-4631-8E43-6025FD478884}.Debug|x86.Build.0 = Debug|x86 + {3AF631B1-F66F-4631-8E43-6025FD478884}.Release|x86.ActiveCfg = Release|x86 + {3AF631B1-F66F-4631-8E43-6025FD478884}.Release|x86.Build.0 = Release|x86 + {D11447DB-2F04-467E-8A3B-447C45535DE4}.Debug|x86.ActiveCfg = Debug|x86 + {D11447DB-2F04-467E-8A3B-447C45535DE4}.Debug|x86.Build.0 = Debug|x86 + {D11447DB-2F04-467E-8A3B-447C45535DE4}.Release|x86.ActiveCfg = Release|x86 + {D11447DB-2F04-467E-8A3B-447C45535DE4}.Release|x86.Build.0 = Release|x86 + {C6C79232-C73A-4CC7-A9B2-648BB0E5F8BE}.Debug|x86.ActiveCfg = Debug|x86 + {C6C79232-C73A-4CC7-A9B2-648BB0E5F8BE}.Debug|x86.Build.0 = Debug|x86 + {C6C79232-C73A-4CC7-A9B2-648BB0E5F8BE}.Release|x86.ActiveCfg = Release|x86 + {C6C79232-C73A-4CC7-A9B2-648BB0E5F8BE}.Release|x86.Build.0 = Release|x86 + {170C4D2D-DCCD-4E82-8993-2009AC67B027}.Debug|x86.ActiveCfg = Debug|x86 + {170C4D2D-DCCD-4E82-8993-2009AC67B027}.Debug|x86.Build.0 = Debug|x86 + {170C4D2D-DCCD-4E82-8993-2009AC67B027}.Release|x86.ActiveCfg = Release|x86 + {170C4D2D-DCCD-4E82-8993-2009AC67B027}.Release|x86.Build.0 = Release|x86 + {467BA4F7-AD14-4419-A4AD-B0A78F13912E}.Debug|x86.ActiveCfg = Debug|x86 + {467BA4F7-AD14-4419-A4AD-B0A78F13912E}.Debug|x86.Build.0 = Debug|x86 + {467BA4F7-AD14-4419-A4AD-B0A78F13912E}.Release|x86.ActiveCfg = Release|x86 + {467BA4F7-AD14-4419-A4AD-B0A78F13912E}.Release|x86.Build.0 = Release|x86 + {4B010F9A-CA01-462A-A400-9478905CC4ED}.Debug|x86.ActiveCfg = Debug|x86 + {4B010F9A-CA01-462A-A400-9478905CC4ED}.Debug|x86.Build.0 = Debug|x86 + {4B010F9A-CA01-462A-A400-9478905CC4ED}.Release|x86.ActiveCfg = Release|x86 + {4B010F9A-CA01-462A-A400-9478905CC4ED}.Release|x86.Build.0 = Release|x86 + {21E64C52-6DE5-43C6-B8AE-7857302C79F7}.Debug|x86.ActiveCfg = Debug|x86 + {21E64C52-6DE5-43C6-B8AE-7857302C79F7}.Debug|x86.Build.0 = Debug|x86 + {21E64C52-6DE5-43C6-B8AE-7857302C79F7}.Release|x86.ActiveCfg = Release|x86 + {21E64C52-6DE5-43C6-B8AE-7857302C79F7}.Release|x86.Build.0 = Release|x86 + {33B49FF4-8979-4EF1-8639-8A286807DC62}.Debug|x86.ActiveCfg = Debug|x86 + {33B49FF4-8979-4EF1-8639-8A286807DC62}.Debug|x86.Build.0 = Debug|x86 + {33B49FF4-8979-4EF1-8639-8A286807DC62}.Release|x86.ActiveCfg = Release|x86 + {33B49FF4-8979-4EF1-8639-8A286807DC62}.Release|x86.Build.0 = Release|x86 + {488A98AD-01C0-4C12-880E-FD90696A7205}.Debug|x86.ActiveCfg = Debug|x86 + {488A98AD-01C0-4C12-880E-FD90696A7205}.Debug|x86.Build.0 = Debug|x86 + {488A98AD-01C0-4C12-880E-FD90696A7205}.Release|x86.ActiveCfg = Release|x86 + {488A98AD-01C0-4C12-880E-FD90696A7205}.Release|x86.Build.0 = Release|x86 + {911E68A6-E9E1-4A5B-939E-C38A0F1B45A8}.Debug|x86.ActiveCfg = Debug|x86 + {911E68A6-E9E1-4A5B-939E-C38A0F1B45A8}.Debug|x86.Build.0 = Debug|x86 + {911E68A6-E9E1-4A5B-939E-C38A0F1B45A8}.Release|x86.ActiveCfg = Release|x86 + {911E68A6-E9E1-4A5B-939E-C38A0F1B45A8}.Release|x86.Build.0 = Release|x86 + {3DD9A69A-E5B7-4432-93AC-ECED324C1D24}.Debug|x86.ActiveCfg = Debug|x86 + {3DD9A69A-E5B7-4432-93AC-ECED324C1D24}.Debug|x86.Build.0 = Debug|x86 + {3DD9A69A-E5B7-4432-93AC-ECED324C1D24}.Release|x86.ActiveCfg = Release|x86 + {3DD9A69A-E5B7-4432-93AC-ECED324C1D24}.Release|x86.Build.0 = Release|x86 + {0801402D-9E97-41EC-BDD3-28AB6B3C0EC5}.Debug|x86.ActiveCfg = Debug|x86 + {0801402D-9E97-41EC-BDD3-28AB6B3C0EC5}.Debug|x86.Build.0 = Debug|x86 + {0801402D-9E97-41EC-BDD3-28AB6B3C0EC5}.Release|x86.ActiveCfg = Release|x86 + {0801402D-9E97-41EC-BDD3-28AB6B3C0EC5}.Release|x86.Build.0 = Release|x86 + {3B975647-C417-4BCC-B1BD-1327C5A89840}.Debug|x86.ActiveCfg = Debug|x86 + {3B975647-C417-4BCC-B1BD-1327C5A89840}.Debug|x86.Build.0 = Debug|x86 + {3B975647-C417-4BCC-B1BD-1327C5A89840}.Release|x86.ActiveCfg = Release|x86 + {3B975647-C417-4BCC-B1BD-1327C5A89840}.Release|x86.Build.0 = Release|x86 + {33D4203E-D147-40DD-A4B3-F3BBE41F0EC5}.Debug|x86.ActiveCfg = Debug|x86 + {33D4203E-D147-40DD-A4B3-F3BBE41F0EC5}.Debug|x86.Build.0 = Debug|x86 + {33D4203E-D147-40DD-A4B3-F3BBE41F0EC5}.Release|x86.ActiveCfg = Release|x86 + {33D4203E-D147-40DD-A4B3-F3BBE41F0EC5}.Release|x86.Build.0 = Release|x86 + {C00E4B13-1881-4220-A034-3F47116553C4}.Debug|x86.ActiveCfg = Debug|x86 + {C00E4B13-1881-4220-A034-3F47116553C4}.Debug|x86.Build.0 = Debug|x86 + {C00E4B13-1881-4220-A034-3F47116553C4}.Release|x86.ActiveCfg = Release|x86 + {C00E4B13-1881-4220-A034-3F47116553C4}.Release|x86.Build.0 = Release|x86 + {578E2EA9-D8D9-4B12-83D2-1B383750E677}.Debug|x86.ActiveCfg = Debug|x86 + {578E2EA9-D8D9-4B12-83D2-1B383750E677}.Debug|x86.Build.0 = Debug|x86 + {578E2EA9-D8D9-4B12-83D2-1B383750E677}.Release|x86.ActiveCfg = Release|x86 + {578E2EA9-D8D9-4B12-83D2-1B383750E677}.Release|x86.Build.0 = Release|x86 + {158726F2-7C69-4B5B-9DCB-45CFA0281028}.Debug|x86.ActiveCfg = Debug|x86 + {158726F2-7C69-4B5B-9DCB-45CFA0281028}.Debug|x86.Build.0 = Debug|x86 + {158726F2-7C69-4B5B-9DCB-45CFA0281028}.Release|x86.ActiveCfg = Release|x86 + {158726F2-7C69-4B5B-9DCB-45CFA0281028}.Release|x86.Build.0 = Release|x86 + {A385F93F-35D9-4855-AC37-030FB77FE525}.Debug|x86.ActiveCfg = Debug|x86 + {A385F93F-35D9-4855-AC37-030FB77FE525}.Debug|x86.Build.0 = Debug|x86 + {A385F93F-35D9-4855-AC37-030FB77FE525}.Release|x86.ActiveCfg = Release|x86 + {A385F93F-35D9-4855-AC37-030FB77FE525}.Release|x86.Build.0 = Release|x86 + {F7F85211-07C5-4E83-9EF0-ACB174F9FE8D}.Debug|x86.ActiveCfg = Debug|x86 + {F7F85211-07C5-4E83-9EF0-ACB174F9FE8D}.Debug|x86.Build.0 = Debug|x86 + {F7F85211-07C5-4E83-9EF0-ACB174F9FE8D}.Release|x86.ActiveCfg = Release|x86 + {F7F85211-07C5-4E83-9EF0-ACB174F9FE8D}.Release|x86.Build.0 = Release|x86 + {E127C33D-FB10-4F17-A79A-6669A51F021D}.Debug|x86.ActiveCfg = Debug|x86 + {E127C33D-FB10-4F17-A79A-6669A51F021D}.Debug|x86.Build.0 = Debug|x86 + {E127C33D-FB10-4F17-A79A-6669A51F021D}.Release|x86.ActiveCfg = Release|x86 + {E127C33D-FB10-4F17-A79A-6669A51F021D}.Release|x86.Build.0 = Release|x86 + {1C6AB6E0-0D01-4648-80EB-C9ACE86F0AF8}.Debug|x86.ActiveCfg = Debug|x86 + {1C6AB6E0-0D01-4648-80EB-C9ACE86F0AF8}.Debug|x86.Build.0 = Debug|x86 + {1C6AB6E0-0D01-4648-80EB-C9ACE86F0AF8}.Release|x86.ActiveCfg = Release|x86 + {1C6AB6E0-0D01-4648-80EB-C9ACE86F0AF8}.Release|x86.Build.0 = Release|x86 + {87B5C064-6DAA-4824-85A9-65D73BF319AC}.Debug|x86.ActiveCfg = Debug|x86 + {87B5C064-6DAA-4824-85A9-65D73BF319AC}.Debug|x86.Build.0 = Debug|x86 + {87B5C064-6DAA-4824-85A9-65D73BF319AC}.Release|x86.ActiveCfg = Release|x86 + {87B5C064-6DAA-4824-85A9-65D73BF319AC}.Release|x86.Build.0 = Release|x86 + {5FAAD383-D86D-4B45-B8C3-D6C2ADF77CC3}.Debug|x86.ActiveCfg = Debug|x86 + {5FAAD383-D86D-4B45-B8C3-D6C2ADF77CC3}.Debug|x86.Build.0 = Debug|x86 + {5FAAD383-D86D-4B45-B8C3-D6C2ADF77CC3}.Release|x86.ActiveCfg = Release|x86 + {5FAAD383-D86D-4B45-B8C3-D6C2ADF77CC3}.Release|x86.Build.0 = Release|x86 + {278BC5C4-1227-4E70-9245-20D0B70D3FA7}.Debug|x86.ActiveCfg = Debug|x86 + {278BC5C4-1227-4E70-9245-20D0B70D3FA7}.Debug|x86.Build.0 = Debug|x86 + {278BC5C4-1227-4E70-9245-20D0B70D3FA7}.Release|x86.ActiveCfg = Release|x86 + {278BC5C4-1227-4E70-9245-20D0B70D3FA7}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {6B17AE75-CAA7-4789-96A9-76EDC326DB7F} = {058BEC5A-A58E-42BD-9E1B-2001EEE934A4} + {46820A8C-A4A4-4A6E-ACB9-4F8CBDF6D528} = {058BEC5A-A58E-42BD-9E1B-2001EEE934A4} + {44B90B03-40C6-45D7-9822-CB695CADC407} = {058BEC5A-A58E-42BD-9E1B-2001EEE934A4} + {63DA93E8-8504-4AD1-B764-560FEA408830} = {058BEC5A-A58E-42BD-9E1B-2001EEE934A4} + {77B3B6C8-7468-4EC6-891E-0EB0C01C0A5B} = {058BEC5A-A58E-42BD-9E1B-2001EEE934A4} + {E33DD010-6514-4C5E-89B5-C2BE05F71139} = {6B17AE75-CAA7-4789-96A9-76EDC326DB7F} + {9C33BFED-D534-4012-83DF-B4A102DCFE92} = {46820A8C-A4A4-4A6E-ACB9-4F8CBDF6D528} + {4595D6BB-AFAB-45D1-897E-1FDA4DE03BDE} = {44B90B03-40C6-45D7-9822-CB695CADC407} + {D3E4FB9F-DEAB-4F03-8330-732F7D8241B8} = {63DA93E8-8504-4AD1-B764-560FEA408830} + {E77F5B43-AB6D-40F5-BE4A-8C2E1883241F} = {77B3B6C8-7468-4EC6-891E-0EB0C01C0A5B} + {6E19B480-F7DE-432F-89DA-D3F002280C23} = {0BB6B1E8-A033-4CDF-8E09-12491B2717F4} + {1FFF47B7-A183-41FA-A488-3A9FCF2097D7} = {3B60BEE1-3F3B-46EB-9F32-2E6C7377367E} + {02BF538F-7199-4A2E-B610-6DB2A4FADEF6} = {3B60BEE1-3F3B-46EB-9F32-2E6C7377367E} + {F07A783A-D062-4B5B-B6EC-1302516F0F8F} = {3B60BEE1-3F3B-46EB-9F32-2E6C7377367E} + {3D1CC02A-B19D-48E8-8B53-5A066E53F211} = {3B60BEE1-3F3B-46EB-9F32-2E6C7377367E} + {D54AEE57-8AD9-429F-A54B-4DEDCA4BFDC8} = {3B60BEE1-3F3B-46EB-9F32-2E6C7377367E} + {FE4C08A9-2498-416E-8E2B-9C84A96C3675} = {3B60BEE1-3F3B-46EB-9F32-2E6C7377367E} + {5023986C-735E-4AD8-9E5B-92364535B9C1} = {3B60BEE1-3F3B-46EB-9F32-2E6C7377367E} + {F95CE46E-071D-40E3-BFB8-AA7CF72C341E} = {3B60BEE1-3F3B-46EB-9F32-2E6C7377367E} + {8D932283-64EB-488B-A36A-DCE2001F2ABC} = {3B60BEE1-3F3B-46EB-9F32-2E6C7377367E} + {79C77B1D-BB5B-46EE-91D4-FA5C78699630} = {53257C78-89A2-4971-B975-3C47E27EE05B} + {AABB3511-A315-4253-99AD-A6EE8260DE74} = {53257C78-89A2-4971-B975-3C47E27EE05B} + {FF88A69D-46FA-4C62-B4B0-3FFAA4540C60} = {53257C78-89A2-4971-B975-3C47E27EE05B} + {B7EAD8E8-9105-46ED-9D4B-69E7E00245EC} = {8040C1B2-42C8-46E7-8DC4-672BF57F6678} + {95354270-2BD6-41B8-9414-B518FAD50E8C} = {8040C1B2-42C8-46E7-8DC4-672BF57F6678} + {9DC04B3F-311A-4B79-B835-42CB2868679F} = {8040C1B2-42C8-46E7-8DC4-672BF57F6678} + {93FBE612-8E66-43C3-9E2F-C3A50D96676D} = {8040C1B2-42C8-46E7-8DC4-672BF57F6678} + {5EC1B95B-5138-46FE-AD64-C1DF9BCBAE84} = {D74047E2-8AB3-49BE-996E-2215DBEB937A} + {2CF97B79-E3AF-41C1-B6E6-5C2F2B2C2D18} = {D74047E2-8AB3-49BE-996E-2215DBEB937A} + {B31EBE19-2FCA-4816-9B74-2A17DBE599A4} = {D74047E2-8AB3-49BE-996E-2215DBEB937A} + {5E42D5BE-A515-4598-A6C6-3A5354DAC4A1} = {5EC1B95B-5138-46FE-AD64-C1DF9BCBAE84} + {76094F13-C93B-4BA1-9E78-8CB641E29E4A} = {42C9A32A-99B3-4B7F-AC3B-1D01203D2A41} + {B3612A3E-F046-4F22-8FB9-BE6DC2D1C94E} = {42C9A32A-99B3-4B7F-AC3B-1D01203D2A41} + {CE863F07-CFFD-4EF0-9645-B6D3C8B633D6} = {42C9A32A-99B3-4B7F-AC3B-1D01203D2A41} + {58C87845-223A-438C-8796-12935D1C282C} = {42C9A32A-99B3-4B7F-AC3B-1D01203D2A41} + {65891540-390C-4C01-88FE-AC81D999E75F} = {42C9A32A-99B3-4B7F-AC3B-1D01203D2A41} + {D7AD0809-B505-464E-8BC9-53CBDC8A2A8F} = {42C9A32A-99B3-4B7F-AC3B-1D01203D2A41} + {8F2C09A0-FF58-4B6B-BDEE-0AA49336CA63} = {42C9A32A-99B3-4B7F-AC3B-1D01203D2A41} + {D3BB9E17-E543-47F5-B051-8C760F907CC0} = {0C7BA7F8-6459-4B90-BFCC-BC0732C0284E} + {685285C7-EC36-4CDA-86E7-BBFCE885B2B1} = {0C7BA7F8-6459-4B90-BFCC-BC0732C0284E} + {662EF2D7-7F25-4968-9863-8A317B068094} = {0C7BA7F8-6459-4B90-BFCC-BC0732C0284E} + {4B332905-00D8-4F4E-B3D2-F7277E56D383} = {0C7BA7F8-6459-4B90-BFCC-BC0732C0284E} + {8A0D0CF8-A5D1-449F-98C1-02056E5E7209} = {0C7BA7F8-6459-4B90-BFCC-BC0732C0284E} + {724BA52C-4FA1-4C51-B415-A32EE57B4981} = {0C7BA7F8-6459-4B90-BFCC-BC0732C0284E} + {451C2479-62E7-42FF-A788-2A2D9C283F5E} = {0C7BA7F8-6459-4B90-BFCC-BC0732C0284E} + {FFAAF9E9-E3E0-4BCA-BEA6-2ED6701B0AC5} = {0C7BA7F8-6459-4B90-BFCC-BC0732C0284E} + {C32C724E-1A6D-4A43-B87B-C7E56BC689AE} = {0C7BA7F8-6459-4B90-BFCC-BC0732C0284E} + {CE5C02BA-622D-4C73-BF5F-EA48F43B6B35} = {0C7BA7F8-6459-4B90-BFCC-BC0732C0284E} + {CB0735D8-BD07-4B69-93FD-F47A8814E296} = {0C7BA7F8-6459-4B90-BFCC-BC0732C0284E} + {66A5F08C-D9CE-49FE-8F34-5E1F0C1B025D} = {95B29694-AF42-4271-A8FB-B32138569DFE} + {5103E5C8-C4B2-40F6-B053-EFE6EB7760DE} = {95B29694-AF42-4271-A8FB-B32138569DFE} + {2E374CC9-02D6-44A4-896F-84C54D16E230} = {95B29694-AF42-4271-A8FB-B32138569DFE} + {FDC9A2FB-2888-40DC-9592-26CBF30C2405} = {95B29694-AF42-4271-A8FB-B32138569DFE} + {64025149-E5AD-4566-9E82-7408B2176FD3} = {6E19B480-F7DE-432F-89DA-D3F002280C23} + {AF344E14-373F-4DD8-A784-A33040B39FD5} = {1FFF47B7-A183-41FA-A488-3A9FCF2097D7} + {6F62C380-C2B1-4702-8A73-9101FCAB2E38} = {02BF538F-7199-4A2E-B610-6DB2A4FADEF6} + {289C6220-CB61-413F-8C14-21AEDEB94B4C} = {F07A783A-D062-4B5B-B6EC-1302516F0F8F} + {BC16C11F-D510-4CE9-ABA4-3E703ED48FBD} = {3D1CC02A-B19D-48E8-8B53-5A066E53F211} + {E4136784-3DC4-438F-9E90-E261CCE9DA6C} = {D54AEE57-8AD9-429F-A54B-4DEDCA4BFDC8} + {20522107-AECC-4E6D-846C-69D49406A06B} = {FE4C08A9-2498-416E-8E2B-9C84A96C3675} + {0396B214-99A9-4F09-AAC9-ACAF2125414C} = {5023986C-735E-4AD8-9E5B-92364535B9C1} + {16DDA343-61A7-4D54-8482-4E4C0AFF26F5} = {F95CE46E-071D-40E3-BFB8-AA7CF72C341E} + {81113424-7F2C-4B54-A3BF-68F7130900D2} = {8D932283-64EB-488B-A36A-DCE2001F2ABC} + {C806AC15-A335-4EDC-A596-D11532C31D7E} = {79C77B1D-BB5B-46EE-91D4-FA5C78699630} + {60A618F3-98F6-460C-A9F1-C3EC79CEA3B0} = {AABB3511-A315-4253-99AD-A6EE8260DE74} + {F6A8772E-A0EC-49B6-8254-6DD3CDF125C2} = {FF88A69D-46FA-4C62-B4B0-3FFAA4540C60} + {612EB94E-B9D8-4FC7-8400-E914C324729A} = {B7EAD8E8-9105-46ED-9D4B-69E7E00245EC} + {3F646D48-FE9B-4372-9145-C849E55C85A0} = {95354270-2BD6-41B8-9414-B518FAD50E8C} + {FDFB3A63-D70A-4DC6-92F1-D8C3EAF2F0E5} = {9DC04B3F-311A-4B79-B835-42CB2868679F} + {EFB0FA3C-0F6E-435B-8627-90B8EE83AD8D} = {93FBE612-8E66-43C3-9E2F-C3A50D96676D} + {3AF631B1-F66F-4631-8E43-6025FD478884} = {2CF97B79-E3AF-41C1-B6E6-5C2F2B2C2D18} + {D11447DB-2F04-467E-8A3B-447C45535DE4} = {B31EBE19-2FCA-4816-9B74-2A17DBE599A4} + {C6C79232-C73A-4CC7-A9B2-648BB0E5F8BE} = {76094F13-C93B-4BA1-9E78-8CB641E29E4A} + {170C4D2D-DCCD-4E82-8993-2009AC67B027} = {B3612A3E-F046-4F22-8FB9-BE6DC2D1C94E} + {467BA4F7-AD14-4419-A4AD-B0A78F13912E} = {CE863F07-CFFD-4EF0-9645-B6D3C8B633D6} + {4B010F9A-CA01-462A-A400-9478905CC4ED} = {58C87845-223A-438C-8796-12935D1C282C} + {21E64C52-6DE5-43C6-B8AE-7857302C79F7} = {65891540-390C-4C01-88FE-AC81D999E75F} + {33B49FF4-8979-4EF1-8639-8A286807DC62} = {D7AD0809-B505-464E-8BC9-53CBDC8A2A8F} + {488A98AD-01C0-4C12-880E-FD90696A7205} = {8F2C09A0-FF58-4B6B-BDEE-0AA49336CA63} + {911E68A6-E9E1-4A5B-939E-C38A0F1B45A8} = {D3BB9E17-E543-47F5-B051-8C760F907CC0} + {3DD9A69A-E5B7-4432-93AC-ECED324C1D24} = {685285C7-EC36-4CDA-86E7-BBFCE885B2B1} + {0801402D-9E97-41EC-BDD3-28AB6B3C0EC5} = {662EF2D7-7F25-4968-9863-8A317B068094} + {3B975647-C417-4BCC-B1BD-1327C5A89840} = {4B332905-00D8-4F4E-B3D2-F7277E56D383} + {33D4203E-D147-40DD-A4B3-F3BBE41F0EC5} = {8A0D0CF8-A5D1-449F-98C1-02056E5E7209} + {C00E4B13-1881-4220-A034-3F47116553C4} = {724BA52C-4FA1-4C51-B415-A32EE57B4981} + {578E2EA9-D8D9-4B12-83D2-1B383750E677} = {451C2479-62E7-42FF-A788-2A2D9C283F5E} + {158726F2-7C69-4B5B-9DCB-45CFA0281028} = {FFAAF9E9-E3E0-4BCA-BEA6-2ED6701B0AC5} + {A385F93F-35D9-4855-AC37-030FB77FE525} = {C32C724E-1A6D-4A43-B87B-C7E56BC689AE} + {F7F85211-07C5-4E83-9EF0-ACB174F9FE8D} = {CE5C02BA-622D-4C73-BF5F-EA48F43B6B35} + {E127C33D-FB10-4F17-A79A-6669A51F021D} = {CB0735D8-BD07-4B69-93FD-F47A8814E296} + {1C6AB6E0-0D01-4648-80EB-C9ACE86F0AF8} = {66A5F08C-D9CE-49FE-8F34-5E1F0C1B025D} + {87B5C064-6DAA-4824-85A9-65D73BF319AC} = {5103E5C8-C4B2-40F6-B053-EFE6EB7760DE} + {5FAAD383-D86D-4B45-B8C3-D6C2ADF77CC3} = {2E374CC9-02D6-44A4-896F-84C54D16E230} + {278BC5C4-1227-4E70-9245-20D0B70D3FA7} = {FDC9A2FB-2888-40DC-9592-26CBF30C2405} + EndGlobalSection +EndGlobal |