mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
* services.xml, wsdl.ignore: Updated. * wstest.cs: Small improvements. * external/BankCodeEJBHomeTest.cs, external/GlobalWeatherTest.cs, external/HPcatalogTest.cs, external/IODCODESPOSTAUXTest.cs, external/TemperatureServiceTest.cs, localhost/ConvDocEncBarTest.cs, localhost/ConvDocEncWraTest.cs, localhost/ConvDocLitBarTest.cs, localhost/ConvDocLitWraTest.cs, localhost/ConvRpcTest.cs Changed namespace to make it easier to select tests in gnunit. * localhost/ConvRpcTest.cs: Added test for method that returns "Object". * server/ConvDocEncWra.asmx, ConvDocLitWra.asmx, ConvRpc.asmx: New test methods. * server/web.config: Added version to vsdisco handler type name. * client/localhost/DataServiceTest.cs client/localhost/DuplicateArrayTestTest.cs client/localhost/SessionCounterTest.cs server/DataService.asmx server/DuplicateArrayTest.asmx server/SessionCounter.asmx: New tests. svn path=/trunk/mcs/; revision=27165
74 lines
3.2 KiB
Plaintext
74 lines
3.2 KiB
Plaintext
<%@ WebService Language="c#" Codebehind="spellcheckservice.wsdl.cs" Class="WebService3.DuplicateArrayTest" %>
|
|
|
|
using System.Xml.Serialization;
|
|
using System;
|
|
using System.Web.Services.Protocols;
|
|
using System.ComponentModel;
|
|
using System.Web.Services;
|
|
|
|
namespace WebService3{
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.WebServiceBindingAttribute(Name="SpellCheckServiceSoap", Namespace="http://www.worldwidedesktop.com/spellcheck")]
|
|
public class DuplicateArrayTest : System.Web.Services.WebService {
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.WebMethodAttribute()]
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.worldwidedesktop.com/spellcheck/SpellCheck", RequestNamespace="http://www.worldwidedesktop.com/spellcheck", ResponseNamespace="http://www.worldwidedesktop.com/spellcheck", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
[return: System.Xml.Serialization.XmlArrayItemAttribute("correction", Namespace="http://www.worldwidedesktop.com/spellcheck/SpellCheckResult.xsd", IsNullable=false)]
|
|
public correctionsCorrection[] SpellCheck(ref string LicenseText, ref string TextToCheck, correctionsCorrection[] X_WS_ReturnValue_X)
|
|
{
|
|
//Fill Parameters
|
|
// --- Param 0---
|
|
LicenseText = LicenseText;
|
|
// --- Param 1---
|
|
TextToCheck = TextToCheck;
|
|
|
|
//Return Value
|
|
return X_WS_ReturnValue_X;
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.WebMethodAttribute()]
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.worldwidedesktop.com/spellcheck/MSSpellCheck", RequestNamespace="http://www.worldwidedesktop.com/spellcheck", ResponseNamespace="http://www.worldwidedesktop.com/spellcheck", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public System.Xml.XmlNode MSSpellCheck(ref string LicenseText, ref string TextToCheck, System.Xml.XmlNode X_WS_ReturnValue_X)
|
|
{
|
|
//Fill Parameters
|
|
// --- Param 0---
|
|
LicenseText = LicenseText;
|
|
// --- Param 1---
|
|
TextToCheck = TextToCheck;
|
|
|
|
//Return Value
|
|
return X_WS_ReturnValue_X;
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Web.Services.WebMethodAttribute()]
|
|
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.worldwidedesktop.com/spellcheck/WSpellCheck", RequestNamespace="http://www.worldwidedesktop.com/spellcheck", ResponseNamespace="http://www.worldwidedesktop.com/spellcheck", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
|
public System.Xml.XmlNode WSpellCheck(ref string LicenseText, ref string TextToCheck, System.Xml.XmlNode X_WS_ReturnValue_X)
|
|
{
|
|
//Fill Parameters
|
|
// --- Param 0---
|
|
LicenseText = LicenseText;
|
|
// --- Param 1---
|
|
TextToCheck = TextToCheck;
|
|
|
|
//Return Value
|
|
return X_WS_ReturnValue_X;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.worldwidedesktop.com/spellcheck/SpellCheckResult.xsd")]
|
|
public class correctionsCorrection {
|
|
|
|
/// <remarks/>
|
|
public string word;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlArrayItemAttribute("suggestion", IsNullable=false)]
|
|
public string[] suggestions;
|
|
}
|
|
}
|