Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //------------------------------------------------------------------------------
- // <auto-generated>
- // This code was generated by a tool.
- // Runtime Version:4.0.30319.34011
- //
- // Changes to this file may cause incorrect behavior and will be lost if
- // the code is regenerated.
- // </auto-generated>
- //------------------------------------------------------------------------------
- using System;
- using System.ComponentModel;
- using System.Diagnostics;
- using System.Web.Services;
- using System.Web.Services.Protocols;
- using System.Xml.Serialization;
- //
- // This source code was auto-generated by wsdl, Version=4.0.30319.33440.
- //
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.33440")]
- [System.Web.Services.WebServiceBindingAttribute(Name="MyServiceSoap", Namespace="http://services.mysite.com/MyService")]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(Foo))]
- [System.Xml.Serialization.XmlIncludeAttribute(typeof(Bar))]
- public interface IMyServiceSoap {
- /// <remarks/>
- [System.Web.Services.WebMethodAttribute()]
- [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://services.mysite.com/MyService/MyMethod", RequestNamespace="http://services.mysite.com/MyService", ResponseNamespace="http://services.mysite.com/MyService", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
- ReturnMessage MyMethod();
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.33440")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.mysite.com/MyService")]
- public partial class ReturnMessage {
- private ReturnStatus statusField;
- private object genericReturnField;
- /// <remarks/>
- public ReturnStatus Status {
- get {
- return this.statusField;
- }
- set {
- this.statusField = value;
- }
- }
- /// <remarks/>
- public object GenericReturn {
- get {
- return this.genericReturnField;
- }
- set {
- this.genericReturnField = value;
- }
- }
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.33440")]
- [System.SerializableAttribute()]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.mysite.com/MyService")]
- public enum ReturnStatus {
- /// <remarks/>
- OK,
- /// <remarks/>
- ERROR,
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.33440")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.mysite.com/MyService")]
- public partial class Foo {
- private string textField;
- /// <remarks/>
- public string Text {
- get {
- return this.textField;
- }
- set {
- this.textField = value;
- }
- }
- }
- /// <remarks/>
- [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.33440")]
- [System.SerializableAttribute()]
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.ComponentModel.DesignerCategoryAttribute("code")]
- [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://services.mysite.com/MyService")]
- public partial class Bar {
- private int numberField;
- /// <remarks/>
- public int Number {
- get {
- return this.numberField;
- }
- set {
- this.numberField = value;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement