title: Need maxOccurs="unbounded" in WCF Data Contract Needs
body: <p>I'm trying to mock an existing Web Service in another environment for testing purposes and have run into a road block.</p>
  
  <p>I'm attempting to create this Mock Service in WCF</p>
  
  <p>The service i'm mocking (which is not dev'd in WCF) has an entity with this type defintion:</p>
  
  <pre><code>&lt;xs:sequence&gt;
  &lt;xs:element maxOccurs="unbounded" minOccurs="0" name="dog" nillable="true" type="xs:string"/&gt;
  
  &lt;/xs:sequence&gt;
  </code></pre>
  
  <p>Notice the maxOccurs="unbounded" the message itself looks something like this:</p>
  
  <pre><code>&lt;dog&gt;1&lt;/dog&gt;
  &lt;dog&gt;2&lt;/dog&gt;
  </code></pre>
  
  <p>But i can't figure out how to define my DataContract to deal with this. I assumed just using an array type like:</p>
  
  <pre><code>    [DataContract]
      public class P56040Input
      {
          [DataMember]
          public string[] dog { get; set; }
  
  
      }
  </code></pre>
  
  <p>would correspond, but it does something unexpected with a new type (arrayofstring):</p>
  
  <pre><code>&lt;xs:sequence&gt;
  &lt;xs:element xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dog" nillable="true" type="q1:ArrayOfstring"/&gt;
  &lt;/xs:sequence&gt;
  </code></pre>
  
  <p>Is this even possible to mock in WCF?</p>