title: Moving ASMX service to WCF basic binding service
body: <p>I have asmx service that look like this:</p>
  
  <pre><code>[WebService(Namespace = "http://www.zzz.com/ema/xml/")]
  [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
  [System.ComponentModel.ToolboxItem(false)]
  public class AService : System.Web.Services.WebService, IAServiceSoap 
  </code></pre>
  
  <p>The IAServiceSoap interface look following</p>
  
  <pre><code>    [WebService(Namespace = "http://www.zzz.com/ema/xml/")]
      [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
      [System.ComponentModel.ToolboxItem(false)]
      public class AService : System.Web.Services.WebService, IAServiceSoap
  
  /// &lt;remarks/&gt;
  [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
  [System.Web.Services.WebServiceBindingAttribute(Name = "AsmbServiceSoap", Namespace = "http://www.zzz.com/ema/xml/")]
  [System.Xml.Serialization.SoapIncludeAttribute(typeof(SOAPXmlEventEntry))]
  public interface IAsmbServiceSoap {
  
      /// &lt;remarks/&gt;
      [System.Web.Services.WebMethodAttribute()]
      [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://www.zzz.com/ema/xml/Login", RequestNamespace="http://www.zzz.com/ema/xml/", ResponseNamespace="http://www.zzz.com/ema/xml/")]
      void Login(string url, string id, int ClientType, out int ClientID);
  
  
  }
  
  /// &lt;remarks/&gt;
  [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
  [System.SerializableAttribute()]
  [System.Diagnostics.DebuggerStepThroughAttribute()]
  [System.ComponentModel.DesignerCategoryAttribute("code")]
  [System.Xml.Serialization.SoapTypeAttribute(Namespace="http://www.zzz.com/ema/xml/")]
  public partial class SOAPXmlEventEntry {
  
      private int datatypeField;
  
      private string dataField;
  
      private int idField;
  
      /// &lt;remarks/&gt;
      public int datatype {
          get {
              return this.datatypeField;
          }
          set {
              this.datatypeField = value;
          }
      }
  
      /// &lt;remarks/&gt;
      public string data {
          get {
              return this.dataField;
          }
          set {
              this.dataField = value;
          }
      }
  
      /// &lt;remarks/&gt;
      public int id {
          get {
              return this.idField;
          }
          set {
              this.idField = value;
          }
      }
  }
  </code></pre>
  
  <p>The Question is how I move something that looks like this to WCF webservice with basic binding ?</p>