diff options
Diffstat (limited to 'Rx/NET/Samples/HOL/CS/Excercise9/Step03')
15 files changed, 2664 insertions, 0 deletions
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 |