title: WCF XML Serialization Issue from Soap Request
body: <p>Input Xml</p>
  
  <pre><code>  &lt;ws:processAcord xmlns:ws="http://ws.plus.predictivelogic.com/"&gt;
      &lt;arg0&gt;CrlUser&lt;/arg0&gt;
      &lt;arg1&gt;CrlPass&lt;/arg1&gt;
      &lt;arg2&gt;Life Scope&lt;/arg2&gt;
      &lt;arg3 /&gt;
    &lt;/ws:processAcord&gt;
  </code></pre>
  
  <p>Object Class</p>
  
  <pre><code>[XmlRoot(ElementName = "processAcord", Namespace = "http://ws.plus.predictivelogic.com/")]
      public class Input
      {
          //[DataMember]
          [XmlElement(ElementName = "arg0")]
          public string Arg0 { get; set; }
          //[DataMember]
          [XmlElement(ElementName = "arg1")]
          public string Arg1 { get; set; }
          //[DataMember]
          [XmlElement(ElementName = "arg2")]
          public string Arg2 { get; set; }
          //[DataMember]
          [XmlElement(ElementName = "arg3")]
          public string Arg3 { get; set; }
          //[DataMember]
          [XmlAttribute(AttributeName = "ws", Namespace = "http://www.w3.org/2000/xmlns/")]
          public string Ws { get; set; }
      }
  </code></pre>
  
  <p>service definition</p>
  
  <pre><code>public UnderWritingOutput Get(Input inputXml)
  {
  //do stuff
  }
  </code></pre>
  
  <p>i'm trying to call my service from SOAPUI, but it's causing problem in serialization. i'm not getting any data in Service when i'm debugging it.</p>
  
  <p>there must be some attribute declaration issue with my code, like <code>[DataContract]</code> or any other <code>xml</code> Attribute.</p>
  
  <blockquote>
    <p>Update 1:</p>
  </blockquote>
  
  <p>i already post the service details, here is the binding..</p>
  
  <pre><code>&lt;system.serviceModel&gt;
  &lt;services&gt;
    &lt;service name="ServiceApplication.UnderWritingService" behaviorConfiguration="debug"&gt;
      &lt;endpoint address="GetUnderWriting" binding="basicHttpBinding" contract="ServiceApplication.IUnderWritingService"&gt;&lt;/endpoint&gt;
      &lt;endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"&gt;&lt;/endpoint&gt;
      &lt;host&gt;
        &lt;baseAddresses&gt;
          &lt;add baseAddress="http://localhost:60418/"/&gt;
        &lt;/baseAddresses&gt;
      &lt;/host&gt;
    &lt;/service&gt;
  &lt;/services&gt;
  &lt;behaviors&gt;
  
    &lt;serviceBehaviors&gt;
      &lt;behavior name="debug"&gt;
        &lt;serviceDebug includeExceptionDetailInFaults="true" /&gt;
        &lt;serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/&gt;
      &lt;/behavior&gt;
      &lt;behavior&gt;
        &lt;!-- To avoid disclosing metadata information, set the values below to false before deployment --&gt;
        &lt;serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/&gt;
        &lt;!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information --&gt;
        &lt;serviceDebug includeExceptionDetailInFaults="false"/&gt;
      &lt;/behavior&gt;
    &lt;/serviceBehaviors&gt;
  &lt;/behaviors&gt;
  &lt;protocolMapping&gt;
    &lt;add binding="basicHttpsBinding" scheme="https" /&gt;
  &lt;/protocolMapping&gt;
  &lt;serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>When i'm opening the soapUI request then it's showing me the input xml as</p>
  
  <pre><code>    &lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:ser="http://schemas.datacontract.org/2004/07/ServiceApplication"&gt;
     &lt;soapenv:Header/&gt;
     &lt;soapenv:Body&gt;
        &lt;tem:Get&gt;
           &lt;!--Optional:--&gt;
           &lt;tem:inputXml&gt;
              &lt;!--Optional:--&gt;
              &lt;ser:Arg0&gt;?&lt;/ser:Arg0&gt;
              &lt;!--Optional:--&gt;
              &lt;ser:Arg1&gt;?&lt;/ser:Arg1&gt;
              &lt;!--Optional:--&gt;
              &lt;ser:Arg2&gt;?&lt;/ser:Arg2&gt;
              &lt;!--Optional:--&gt;
              &lt;ser:Arg3&gt;?&lt;/ser:Arg3&gt;
              &lt;!--Optional:--&gt;
              &lt;ser:Ws&gt;?&lt;/ser:Ws&gt;
           &lt;/tem:inputXml&gt;
        &lt;/tem:Get&gt;
     &lt;/soapenv:Body&gt;
  &lt;/soapenv:Envelope&gt;
  </code></pre>
  
  <blockquote>
    <p>IUnderWritingService</p>
  </blockquote>
  
  <pre><code>[ServiceContract]
      public interface IUnderWritingService
      {
          [OperationContract]
          UnderWritingOutput Get(UnderWritingInput inputXml);
  
      }
  </code></pre>