DuplicateArrayTest.asmx 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <%@ WebService Language="c#" Codebehind="spellcheckservice.wsdl.cs" Class="WebService3.DuplicateArrayTest" %>
  2. using System.Xml.Serialization;
  3. using System;
  4. using System.Web.Services.Protocols;
  5. using System.ComponentModel;
  6. using System.Web.Services;
  7. namespace WebService3{
  8. /// <remarks/>
  9. [System.Web.Services.WebServiceBindingAttribute(Name="SpellCheckServiceSoap", Namespace="http://www.worldwidedesktop.com/spellcheck")]
  10. public class DuplicateArrayTest : System.Web.Services.WebService {
  11. /// <remarks/>
  12. [System.Web.Services.WebMethodAttribute()]
  13. [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)]
  14. [return: System.Xml.Serialization.XmlArrayItemAttribute("correction", Namespace="http://www.worldwidedesktop.com/spellcheck/SpellCheckResult.xsd", IsNullable=false)]
  15. public correctionsCorrection[] SpellCheck(ref string LicenseText, ref string TextToCheck, correctionsCorrection[] X_WS_ReturnValue_X)
  16. {
  17. //Fill Parameters
  18. // --- Param 0---
  19. LicenseText = LicenseText;
  20. // --- Param 1---
  21. TextToCheck = TextToCheck;
  22. //Return Value
  23. return X_WS_ReturnValue_X;
  24. }
  25. /// <remarks/>
  26. [System.Web.Services.WebMethodAttribute()]
  27. [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)]
  28. public System.Xml.XmlNode MSSpellCheck(ref string LicenseText, ref string TextToCheck, System.Xml.XmlNode X_WS_ReturnValue_X)
  29. {
  30. //Fill Parameters
  31. // --- Param 0---
  32. LicenseText = LicenseText;
  33. // --- Param 1---
  34. TextToCheck = TextToCheck;
  35. //Return Value
  36. return X_WS_ReturnValue_X;
  37. }
  38. /// <remarks/>
  39. [System.Web.Services.WebMethodAttribute()]
  40. [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)]
  41. public System.Xml.XmlNode WSpellCheck(ref string LicenseText, ref string TextToCheck, System.Xml.XmlNode X_WS_ReturnValue_X)
  42. {
  43. //Fill Parameters
  44. // --- Param 0---
  45. LicenseText = LicenseText;
  46. // --- Param 1---
  47. TextToCheck = TextToCheck;
  48. //Return Value
  49. return X_WS_ReturnValue_X;
  50. }
  51. }
  52. /// <remarks/>
  53. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.worldwidedesktop.com/spellcheck/SpellCheckResult.xsd")]
  54. public class correctionsCorrection {
  55. /// <remarks/>
  56. public string word;
  57. /// <remarks/>
  58. [System.Xml.Serialization.XmlArrayItemAttribute("suggestion", IsNullable=false)]
  59. public string[] suggestions;
  60. }
  61. }