title: Why fields with additional field "Specified" are always null?
body: <p>I have the app. Here I generate client service from WSDL. Nowdays some functions work normal. But some are wrong.</p>
  
  <p>It is a part from WSDL </p>
  
  <pre><code>&lt;xs:complexType name="TStartInfoCalcZoneViewForArea"&gt;
     &lt;xs:sequence&gt;
        &lt;xs:element minOccurs="0" name="ID" type="xs:int"/&gt;
        &lt;xs:element minOccurs="0" name="startFreq" type="xs:double"/&gt;
        &lt;xs:element minOccurs="0" name="endFreq" type="xs:double"/&gt;
        &lt;xs:element minOccurs="0" name="startTime" type="xs:string"/&gt;
  </code></pre>
  
  <p>It is a part in c#</p>
  
  <pre><code>public partial class TStartInfoCalcZoneViewForArea
  {
  
      private int idField;
  
      private bool idFieldSpecified;
  
      private double startFreqField;
  
      private bool startFreqFieldSpecified;
  
      private double endFreqField;
  
      private bool endFreqFieldSpecified;
  /// &lt;remarks/&gt;
  [System.Xml.Serialization.XmlElementAttribute(Order=0)]
  public int ID
  {
      get
      {
          return this.idField;
      }
      set
      {
          this.idField = value;
      }
  }
  
  /// &lt;remarks/&gt;
  [System.Xml.Serialization.XmlIgnoreAttribute()]
  public bool IDSpecified
  {
      get
      {
          return this.idFieldSpecified;
      }
      set
      {
          this.idFieldSpecified = value;
      }
  }
  </code></pre>
  
  <p>I set value to this fields. For example</p>
  
  <pre><code>.ID = 100;
  .IDSpecified = true; // I set nothing, false. But result is same.
  </code></pre>
  
  <p><em><strong>The problem is that all this fields (ID,endFreq,startFreq) are null in gsoap server.</em></strong></p>
  
  <p>What is the reason of this problem? How can I fix it?</p>
  
  <p><em><strong>Update - the reason and solution</em></strong></p>
  
  <p>The problem was: I do not have the source code of the "gsoap server". But on the agreement in our company we use (can watch) the log from this application. This log was incorrect (First of all, there are no log messages in this situation. Then this messages were incorrect. After fix the problem was solved). </p>
  
  <p>Also there are a lot classes and structures with "double" field. So in instances of some classes I set "...Specified = true;". In another cases I do not set "...Specified = true;". After the log was fixed, I see the problem.</p>
  
  <p>So I need set "...Specified = true;" in all classes. I do not know is this solution correct, because </p>
  
  <p>1) I ask another progammers in our company, but they do not know wcf normal.</p>
  
  <p>2) set "...Specified = true;", but I see in log the same message.</p>