Initial version

git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@7 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
niksedk 2010-10-12 11:16:01 +00:00
parent b73e48fed3
commit 26a1949aff
10 changed files with 2203 additions and 0 deletions

View File

@ -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="GetTranslationsResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>Nikse.SubtitleEdit.MicrosoftTranslationService.GetTranslationsResponse, Web References.MicrosoftTranslationService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<DiscoveryClientResultsFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Results>
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.SchemaReference" url="http://api.microsofttranslator.com/V2/soap.svc?xsd=xsd3" filename="soap.xsd" />
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.ContractReference" url="http://api.microsofttranslator.com/V2/Soap.svc" filename="SoapService.wsdl" />
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.SchemaReference" url="http://api.microsofttranslator.com/V2/soap.svc?xsd=xsd1" filename="soap0.xsd" />
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.SchemaReference" url="http://api.microsofttranslator.com/V2/soap.svc?xsd=xsd2" filename="soap1.xsd" />
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.ContractReference" url="http://api.microsofttranslator.com/V2/soap.svc?wsdl=wsdl0" filename="soap.wsdl" />
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.SchemaReference" url="http://api.microsofttranslator.com/V2/soap.svc?xsd=xsd0" filename="soap2.xsd" />
</Results>
</DiscoveryClientResultsFile>

View File

@ -0,0 +1,139 @@
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:i0="http://api.microsofttranslator.com/V2" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SoapService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:import namespace="http://api.microsofttranslator.com/V2" location="http://api.microsofttranslator.com/V2/soap.svc?wsdl=wsdl0" />
<wsdl:types />
<wsdl:binding name="BasicHttpBinding_LanguageService" type="i0:LanguageService">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="AddTranslation">
<soap:operation soapAction="http://api.microsofttranslator.com/V2/LanguageService/AddTranslation" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="BreakSentences">
<soap:operation soapAction="http://api.microsofttranslator.com/V2/LanguageService/BreakSentences" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Detect">
<soap:operation soapAction="http://api.microsofttranslator.com/V2/LanguageService/Detect" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="DetectArray">
<soap:operation soapAction="http://api.microsofttranslator.com/V2/LanguageService/DetectArray" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetAppIdToken">
<soap:operation soapAction="http://api.microsofttranslator.com/V2/LanguageService/GetAppIdToken" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetLanguageNames">
<soap:operation soapAction="http://api.microsofttranslator.com/V2/LanguageService/GetLanguageNames" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetLanguagesForSpeak">
<soap:operation soapAction="http://api.microsofttranslator.com/V2/LanguageService/GetLanguagesForSpeak" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetLanguagesForTranslate">
<soap:operation soapAction="http://api.microsofttranslator.com/V2/LanguageService/GetLanguagesForTranslate" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetTranslations">
<soap:operation soapAction="http://api.microsofttranslator.com/V2/LanguageService/GetTranslations" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Translate">
<soap:operation soapAction="http://api.microsofttranslator.com/V2/LanguageService/Translate" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="AddTranslationArray">
<soap:operation soapAction="http://api.microsofttranslator.com/V2/LanguageService/AddTranslationArray" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetTranslationsArray">
<soap:operation soapAction="http://api.microsofttranslator.com/V2/LanguageService/GetTranslationsArray" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Speak">
<soap:operation soapAction="http://api.microsofttranslator.com/V2/LanguageService/Speak" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="TranslateArray">
<soap:operation soapAction="http://api.microsofttranslator.com/V2/LanguageService/TranslateArray" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="SoapService">
<wsdl:port name="BasicHttpBinding_LanguageService" binding="tns:BasicHttpBinding_LanguageService">
<soap:address location="http://api.microsofttranslator.com/V2/soap.svc" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

View File

@ -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="TranslateArrayResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>Nikse.SubtitleEdit.MicrosoftTranslationService.TranslateArrayResponse, Web References.MicrosoftTranslationService.Reference.cs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@ -0,0 +1,153 @@
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://api.microsofttranslator.com/V2" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://api.microsofttranslator.com/V2" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<xsd:schema targetNamespace="http://api.microsofttranslator.com/V2/Imports">
<xsd:import schemaLocation="http://api.microsofttranslator.com/V2/soap.svc?xsd=xsd0" namespace="http://api.microsofttranslator.com/V2" />
<xsd:import schemaLocation="http://api.microsofttranslator.com/V2/soap.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
<xsd:import schemaLocation="http://api.microsofttranslator.com/V2/soap.svc?xsd=xsd2" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<xsd:import schemaLocation="http://api.microsofttranslator.com/V2/soap.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2" />
</xsd:schema>
</wsdl:types>
<wsdl:message name="LanguageService_AddTranslation_InputMessage">
<wsdl:part name="parameters" element="tns:AddTranslation" />
</wsdl:message>
<wsdl:message name="LanguageService_AddTranslation_OutputMessage">
<wsdl:part name="parameters" element="tns:AddTranslationResponse" />
</wsdl:message>
<wsdl:message name="LanguageService_BreakSentences_InputMessage">
<wsdl:part name="parameters" element="tns:BreakSentences" />
</wsdl:message>
<wsdl:message name="LanguageService_BreakSentences_OutputMessage">
<wsdl:part name="parameters" element="tns:BreakSentencesResponse" />
</wsdl:message>
<wsdl:message name="LanguageService_Detect_InputMessage">
<wsdl:part name="parameters" element="tns:Detect" />
</wsdl:message>
<wsdl:message name="LanguageService_Detect_OutputMessage">
<wsdl:part name="parameters" element="tns:DetectResponse" />
</wsdl:message>
<wsdl:message name="LanguageService_DetectArray_InputMessage">
<wsdl:part name="parameters" element="tns:DetectArray" />
</wsdl:message>
<wsdl:message name="LanguageService_DetectArray_OutputMessage">
<wsdl:part name="parameters" element="tns:DetectArrayResponse" />
</wsdl:message>
<wsdl:message name="LanguageService_GetAppIdToken_InputMessage">
<wsdl:part name="parameters" element="tns:GetAppIdToken" />
</wsdl:message>
<wsdl:message name="LanguageService_GetAppIdToken_OutputMessage">
<wsdl:part name="parameters" element="tns:GetAppIdTokenResponse" />
</wsdl:message>
<wsdl:message name="LanguageService_GetLanguageNames_InputMessage">
<wsdl:part name="parameters" element="tns:GetLanguageNames" />
</wsdl:message>
<wsdl:message name="LanguageService_GetLanguageNames_OutputMessage">
<wsdl:part name="parameters" element="tns:GetLanguageNamesResponse" />
</wsdl:message>
<wsdl:message name="LanguageService_GetLanguagesForSpeak_InputMessage">
<wsdl:part name="parameters" element="tns:GetLanguagesForSpeak" />
</wsdl:message>
<wsdl:message name="LanguageService_GetLanguagesForSpeak_OutputMessage">
<wsdl:part name="parameters" element="tns:GetLanguagesForSpeakResponse" />
</wsdl:message>
<wsdl:message name="LanguageService_GetLanguagesForTranslate_InputMessage">
<wsdl:part name="parameters" element="tns:GetLanguagesForTranslate" />
</wsdl:message>
<wsdl:message name="LanguageService_GetLanguagesForTranslate_OutputMessage">
<wsdl:part name="parameters" element="tns:GetLanguagesForTranslateResponse" />
</wsdl:message>
<wsdl:message name="LanguageService_GetTranslations_InputMessage">
<wsdl:part name="parameters" element="tns:GetTranslations" />
</wsdl:message>
<wsdl:message name="LanguageService_GetTranslations_OutputMessage">
<wsdl:part name="parameters" element="tns:GetTranslationsResponse" />
</wsdl:message>
<wsdl:message name="LanguageService_Translate_InputMessage">
<wsdl:part name="parameters" element="tns:Translate" />
</wsdl:message>
<wsdl:message name="LanguageService_Translate_OutputMessage">
<wsdl:part name="parameters" element="tns:TranslateResponse" />
</wsdl:message>
<wsdl:message name="LanguageService_AddTranslationArray_InputMessage">
<wsdl:part name="parameters" element="tns:AddTranslationArray" />
</wsdl:message>
<wsdl:message name="LanguageService_AddTranslationArray_OutputMessage">
<wsdl:part name="parameters" element="tns:AddTranslationArrayResponse" />
</wsdl:message>
<wsdl:message name="LanguageService_GetTranslationsArray_InputMessage">
<wsdl:part name="parameters" element="tns:GetTranslationsArray" />
</wsdl:message>
<wsdl:message name="LanguageService_GetTranslationsArray_OutputMessage">
<wsdl:part name="parameters" element="tns:GetTranslationsArrayResponse" />
</wsdl:message>
<wsdl:message name="LanguageService_Speak_InputMessage">
<wsdl:part name="parameters" element="tns:Speak" />
</wsdl:message>
<wsdl:message name="LanguageService_Speak_OutputMessage">
<wsdl:part name="parameters" element="tns:SpeakResponse" />
</wsdl:message>
<wsdl:message name="LanguageService_TranslateArray_InputMessage">
<wsdl:part name="parameters" element="tns:TranslateArray" />
</wsdl:message>
<wsdl:message name="LanguageService_TranslateArray_OutputMessage">
<wsdl:part name="parameters" element="tns:TranslateArrayResponse" />
</wsdl:message>
<wsdl:portType name="LanguageService">
<wsdl:operation name="AddTranslation">
<wsdl:input wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/AddTranslation" message="tns:LanguageService_AddTranslation_InputMessage" />
<wsdl:output wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/AddTranslationResponse" message="tns:LanguageService_AddTranslation_OutputMessage" />
</wsdl:operation>
<wsdl:operation name="BreakSentences">
<wsdl:input wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/BreakSentences" message="tns:LanguageService_BreakSentences_InputMessage" />
<wsdl:output wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/BreakSentencesResponse" message="tns:LanguageService_BreakSentences_OutputMessage" />
</wsdl:operation>
<wsdl:operation name="Detect">
<wsdl:input wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/Detect" message="tns:LanguageService_Detect_InputMessage" />
<wsdl:output wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/DetectResponse" message="tns:LanguageService_Detect_OutputMessage" />
</wsdl:operation>
<wsdl:operation name="DetectArray">
<wsdl:input wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/DetectArray" message="tns:LanguageService_DetectArray_InputMessage" />
<wsdl:output wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/DetectArrayResponse" message="tns:LanguageService_DetectArray_OutputMessage" />
</wsdl:operation>
<wsdl:operation name="GetAppIdToken">
<wsdl:input wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/GetAppIdToken" message="tns:LanguageService_GetAppIdToken_InputMessage" />
<wsdl:output wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/GetAppIdTokenResponse" message="tns:LanguageService_GetAppIdToken_OutputMessage" />
</wsdl:operation>
<wsdl:operation name="GetLanguageNames">
<wsdl:input wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/GetLanguageNames" message="tns:LanguageService_GetLanguageNames_InputMessage" />
<wsdl:output wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/GetLanguageNamesResponse" message="tns:LanguageService_GetLanguageNames_OutputMessage" />
</wsdl:operation>
<wsdl:operation name="GetLanguagesForSpeak">
<wsdl:input wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/GetLanguagesForSpeak" message="tns:LanguageService_GetLanguagesForSpeak_InputMessage" />
<wsdl:output wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/GetLanguagesForSpeakResponse" message="tns:LanguageService_GetLanguagesForSpeak_OutputMessage" />
</wsdl:operation>
<wsdl:operation name="GetLanguagesForTranslate">
<wsdl:input wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/GetLanguagesForTranslate" message="tns:LanguageService_GetLanguagesForTranslate_InputMessage" />
<wsdl:output wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/GetLanguagesForTranslateResponse" message="tns:LanguageService_GetLanguagesForTranslate_OutputMessage" />
</wsdl:operation>
<wsdl:operation name="GetTranslations">
<wsdl:input wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/GetTranslations" message="tns:LanguageService_GetTranslations_InputMessage" />
<wsdl:output wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/GetTranslationsResponse" message="tns:LanguageService_GetTranslations_OutputMessage" />
</wsdl:operation>
<wsdl:operation name="Translate">
<wsdl:input wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/Translate" message="tns:LanguageService_Translate_InputMessage" />
<wsdl:output wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/TranslateResponse" message="tns:LanguageService_Translate_OutputMessage" />
</wsdl:operation>
<wsdl:operation name="AddTranslationArray">
<wsdl:input wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/AddTranslationArray" message="tns:LanguageService_AddTranslationArray_InputMessage" />
<wsdl:output wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/AddTranslationArrayResponse" message="tns:LanguageService_AddTranslationArray_OutputMessage" />
</wsdl:operation>
<wsdl:operation name="GetTranslationsArray">
<wsdl:input wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/GetTranslationsArray" message="tns:LanguageService_GetTranslationsArray_InputMessage" />
<wsdl:output wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/GetTranslationsArrayResponse" message="tns:LanguageService_GetTranslationsArray_OutputMessage" />
</wsdl:operation>
<wsdl:operation name="Speak">
<wsdl:input wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/Speak" message="tns:LanguageService_Speak_InputMessage" />
<wsdl:output wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/SpeakResponse" message="tns:LanguageService_Speak_OutputMessage" />
</wsdl:operation>
<wsdl:operation name="TranslateArray">
<wsdl:input wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/TranslateArray" message="tns:LanguageService_TranslateArray_InputMessage" />
<wsdl:output wsaw:Action="http://api.microsofttranslator.com/V2/LanguageService/TranslateArrayResponse" message="tns:LanguageService_TranslateArray_OutputMessage" />
</wsdl:operation>
</wsdl:portType>
</wsdl:definitions>

View File

@ -0,0 +1,192 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import schemaLocation="http://api.microsofttranslator.com/V2/soap.svc?xsd=xsd2" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<xs:complexType name="TranslateOptions">
<xs:sequence>
<xs:element minOccurs="0" name="Category" nillable="true" type="xs:string">
<xs:annotation>
<xs:appinfo>
<DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="ContentType" nillable="true" type="xs:string">
<xs:annotation>
<xs:appinfo>
<DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="ReservedFlags" nillable="true" type="xs:string">
<xs:annotation>
<xs:appinfo>
<DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="State" nillable="true" type="xs:string">
<xs:annotation>
<xs:appinfo>
<DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Uri" nillable="true" type="xs:string">
<xs:annotation>
<xs:appinfo>
<DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="User" nillable="true" type="xs:string">
<xs:annotation>
<xs:appinfo>
<DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="TranslateOptions" nillable="true" type="tns:TranslateOptions" />
<xs:complexType name="GetTranslationsResponse">
<xs:sequence>
<xs:element minOccurs="0" name="From" nillable="true" type="xs:string">
<xs:annotation>
<xs:appinfo>
<DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="State" nillable="true" type="xs:string">
<xs:annotation>
<xs:appinfo>
<DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Translations" nillable="true" type="tns:ArrayOfTranslationMatch">
<xs:annotation>
<xs:appinfo>
<DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="GetTranslationsResponse" nillable="true" type="tns:GetTranslationsResponse" />
<xs:complexType name="ArrayOfTranslationMatch">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="TranslationMatch" nillable="true" type="tns:TranslationMatch" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfTranslationMatch" nillable="true" type="tns:ArrayOfTranslationMatch" />
<xs:complexType name="TranslationMatch">
<xs:sequence>
<xs:element name="Count" type="xs:int" />
<xs:element minOccurs="0" name="Error" nillable="true" type="xs:string">
<xs:annotation>
<xs:appinfo>
<DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="MatchDegree" type="xs:int" />
<xs:element minOccurs="0" name="MatchedOriginalText" nillable="true" type="xs:string">
<xs:annotation>
<xs:appinfo>
<DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="Rating" type="xs:int" />
<xs:element name="TranslatedText" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="TranslationMatch" nillable="true" type="tns:TranslationMatch" />
<xs:complexType name="ArrayOfTranslation">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="Translation" nillable="true" type="tns:Translation" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfTranslation" nillable="true" type="tns:ArrayOfTranslation" />
<xs:complexType name="Translation">
<xs:sequence>
<xs:element name="OriginalText" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Rating" type="xs:int">
<xs:annotation>
<xs:appinfo>
<DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Sequence" type="xs:int">
<xs:annotation>
<xs:appinfo>
<DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="TranslatedText" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="Translation" nillable="true" type="tns:Translation" />
<xs:complexType name="ArrayOfGetTranslationsResponse">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="GetTranslationsResponse" nillable="true" type="tns:GetTranslationsResponse" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfGetTranslationsResponse" nillable="true" type="tns:ArrayOfGetTranslationsResponse" />
<xs:complexType name="ArrayOfTranslateArrayResponse">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="TranslateArrayResponse" nillable="true" type="tns:TranslateArrayResponse" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfTranslateArrayResponse" nillable="true" type="tns:ArrayOfTranslateArrayResponse" />
<xs:complexType name="TranslateArrayResponse">
<xs:sequence>
<xs:element minOccurs="0" name="Error" nillable="true" type="xs:string">
<xs:annotation>
<xs:appinfo>
<DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="From" nillable="true" type="xs:string">
<xs:annotation>
<xs:appinfo>
<DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="OriginalTextSentenceLengths" nillable="true" type="q1:ArrayOfint">
<xs:annotation>
<xs:appinfo>
<DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="State" nillable="true" type="xs:string">
<xs:annotation>
<xs:appinfo>
<DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="TranslatedText" nillable="true" type="xs:string">
<xs:annotation>
<xs:appinfo>
<DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="TranslatedTextSentenceLengths" nillable="true" type="q2:ArrayOfint">
<xs:annotation>
<xs:appinfo>
<DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="TranslateArrayResponse" nillable="true" type="tns:TranslateArrayResponse" />
</xs:schema>

View File

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="anyType" nillable="true" type="xs:anyType" />
<xs:element name="anyURI" nillable="true" type="xs:anyURI" />
<xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
<xs:element name="boolean" nillable="true" type="xs:boolean" />
<xs:element name="byte" nillable="true" type="xs:byte" />
<xs:element name="dateTime" nillable="true" type="xs:dateTime" />
<xs:element name="decimal" nillable="true" type="xs:decimal" />
<xs:element name="double" nillable="true" type="xs:double" />
<xs:element name="float" nillable="true" type="xs:float" />
<xs:element name="int" nillable="true" type="xs:int" />
<xs:element name="long" nillable="true" type="xs:long" />
<xs:element name="QName" nillable="true" type="xs:QName" />
<xs:element name="short" nillable="true" type="xs:short" />
<xs:element name="string" nillable="true" type="xs:string" />
<xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
<xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
<xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
<xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
<xs:element name="char" nillable="true" type="tns:char" />
<xs:simpleType name="char">
<xs:restriction base="xs:int" />
</xs:simpleType>
<xs:element name="duration" nillable="true" type="tns:duration" />
<xs:simpleType name="duration">
<xs:restriction base="xs:duration">
<xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
<xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
<xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
</xs:restriction>
</xs:simpleType>
<xs:element name="guid" nillable="true" type="tns:guid" />
<xs:simpleType name="guid">
<xs:restriction base="xs:string">
<xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
</xs:restriction>
</xs:simpleType>
<xs:attribute name="FactoryType" type="xs:QName" />
<xs:attribute name="Id" type="xs:ID" />
<xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="ArrayOfint">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="int" type="xs:int" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfint" nillable="true" type="tns:ArrayOfint" />
<xs:complexType name="ArrayOfstring">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring" />
</xs:schema>

View File

@ -0,0 +1,239 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://api.microsofttranslator.com/V2" elementFormDefault="qualified" targetNamespace="http://api.microsofttranslator.com/V2" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import schemaLocation="http://api.microsofttranslator.com/V2/soap.svc?xsd=xsd2" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<xs:import schemaLocation="http://api.microsofttranslator.com/V2/soap.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2" />
<xs:element name="AddTranslation">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="appId" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="originalText" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="translatedText" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="from" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="to" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="rating" type="xs:int" />
<xs:element minOccurs="0" name="contentType" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="category" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="user" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="uri" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AddTranslationResponse">
<xs:complexType>
<xs:sequence />
</xs:complexType>
</xs:element>
<xs:element name="BreakSentences">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="appId" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="text" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="language" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="BreakSentencesResponse">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="BreakSentencesResult" nillable="true" type="q1:ArrayOfint" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Detect">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="appId" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="text" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DetectResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="DetectResult" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DetectArray">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="appId" nillable="true" type="xs:string" />
<xs:element xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="texts" nillable="true" type="q2:ArrayOfstring" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DetectArrayResponse">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="DetectArrayResult" nillable="true" type="q3:ArrayOfstring" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetAppIdToken">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="appId" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="minRatingRead" type="xs:int" />
<xs:element minOccurs="0" name="maxRatingWrite" type="xs:int" />
<xs:element minOccurs="0" name="expireSeconds" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetAppIdTokenResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="GetAppIdTokenResult" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetLanguageNames">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="appId" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="locale" nillable="true" type="xs:string" />
<xs:element xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="languageCodes" nillable="true" type="q4:ArrayOfstring" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetLanguageNamesResponse">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q5="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="GetLanguageNamesResult" nillable="true" type="q5:ArrayOfstring" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetLanguagesForSpeak">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="appId" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetLanguagesForSpeakResponse">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q6="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="GetLanguagesForSpeakResult" nillable="true" type="q6:ArrayOfstring" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetLanguagesForTranslate">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="appId" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetLanguagesForTranslateResponse">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q7="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="GetLanguagesForTranslateResult" nillable="true" type="q7:ArrayOfstring" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetTranslations">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="appId" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="text" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="from" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="to" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="maxTranslations" type="xs:int" />
<xs:element xmlns:q8="http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2" minOccurs="0" name="options" nillable="true" type="q8:TranslateOptions" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetTranslationsResponse">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q9="http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2" minOccurs="0" name="GetTranslationsResult" nillable="true" type="q9:GetTranslationsResponse" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Translate">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="appId" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="text" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="from" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="to" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TranslateResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="TranslateResult" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AddTranslationArray">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="appId" nillable="true" type="xs:string" />
<xs:element xmlns:q10="http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2" minOccurs="0" name="translations" nillable="true" type="q10:ArrayOfTranslation" />
<xs:element minOccurs="0" name="from" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="to" nillable="true" type="xs:string" />
<xs:element xmlns:q11="http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2" minOccurs="0" name="options" nillable="true" type="q11:TranslateOptions" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AddTranslationArrayResponse">
<xs:complexType>
<xs:sequence />
</xs:complexType>
</xs:element>
<xs:element name="GetTranslationsArray">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="appId" nillable="true" type="xs:string" />
<xs:element xmlns:q12="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="texts" nillable="true" type="q12:ArrayOfstring" />
<xs:element minOccurs="0" name="from" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="to" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="maxTranslations" type="xs:int" />
<xs:element xmlns:q13="http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2" minOccurs="0" name="options" nillable="true" type="q13:TranslateOptions" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetTranslationsArrayResponse">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q14="http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2" minOccurs="0" name="GetTranslationsArrayResult" nillable="true" type="q14:ArrayOfGetTranslationsResponse" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Speak">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="appId" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="text" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="language" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="format" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SpeakResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="SpeakResult" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TranslateArray">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="appId" nillable="true" type="xs:string" />
<xs:element xmlns:q15="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="texts" nillable="true" type="q15:ArrayOfstring" />
<xs:element minOccurs="0" name="from" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="to" nillable="true" type="xs:string" />
<xs:element xmlns:q16="http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2" minOccurs="0" name="options" nillable="true" type="q16:TranslateOptions" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TranslateArrayResponse">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q17="http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2" minOccurs="0" name="TranslateArrayResult" nillable="true" type="q17:ArrayOfTranslateArrayResponse" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>