TestBinding3.asmx 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <%@ WebService Language="c#" Codebehind="main.wsdl.cs" Class="main.wsdl.Main" %>
  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 main.wsdl{
  8. /// <remarks/>
  9. [System.Web.Services.WebServiceBindingAttribute(Name="MainSoap", Namespace="http://msdn.microsoft.com/vbasic/")]
  10. public class Main : System.Web.Services.WebService {
  11. /// <remarks/>
  12. [System.Web.Services.WebMethodAttribute()]
  13. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://msdn.microsoft.com/vbasic/About", RequestNamespace="http://msdn.microsoft.com/vbasic/", ResponseNamespace="http://msdn.microsoft.com/vbasic/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  14. public string About(string X_WS_ReturnValue_X)
  15. {
  16. return null;
  17. }
  18. /// <remarks/>
  19. [System.Web.Services.WebMethodAttribute()]
  20. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://msdn.microsoft.com/vbasic/GetCustomerOrderHistory", RequestNamespace="http://msdn.microsoft.com/vbasic/", ResponseNamespace="http://msdn.microsoft.com/vbasic/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  21. public CustomerAndOrderHistoryInfo GetCustomerOrderHistory( string strCustID, CustomerAndOrderHistoryInfo X_WS_ReturnValue_X)
  22. {
  23. return null;
  24. }
  25. /// <remarks/>
  26. [System.Web.Services.WebMethodAttribute()]
  27. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://msdn.microsoft.com/vbasic/GetTenMostExpensiveProducts", RequestNamespace="http://msdn.microsoft.com/vbasic/", ResponseNamespace="http://msdn.microsoft.com/vbasic/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  28. public System.Data.DataSet GetTenMostExpensiveProducts(System.Data.DataSet X_WS_ReturnValue_X)
  29. {
  30. return null;
  31. }
  32. }
  33. /// <remarks/>
  34. [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://msdn.microsoft.com/vbasic/")]
  35. public class CustomerAndOrderHistoryInfo {
  36. /// <remarks/>
  37. public System.Xml.XmlElement Orders;
  38. /// <remarks/>
  39. [System.Xml.Serialization.XmlAttributeAttribute()]
  40. public string Company;
  41. }
  42. }