title: Consuming Axis1.4 webservice in c# always null
body: <p>I have an Axis 1.4 Webservice which runs on JBoss. The request is ok, but I cant deserialize the response from axis in my windows 8 store app with c#. I get an object myMethodRespone which is null. I simply add the service via addServiceReference in VS.
  Here is my WSDL (only the important code snippets):</p>
  
  <pre><code>&lt;xsd:complexType name="ArrayOf_xsd_string"&gt;
      &lt;xsd:sequence&gt;
        &lt;xsd:element minOccurs="0" maxOccurs="unbounded" name="item" type="xsd:string" /&gt;
      &lt;/xsd:sequence&gt;
    &lt;/xsd:complexType&gt;
    &lt;xsd:complexType name="ArrayOf_tns1_AlternativeTransferable"&gt;
      &lt;xsd:sequence&gt;
        &lt;xsd:element minOccurs="0" maxOccurs="unbounded" name="item" type="tns1:MyTransferable" /&gt;
      &lt;/xsd:sequence&gt;
    &lt;/xsd:complexType&gt;
  &lt;xsd:complexType name="AlternativeTransferable"&gt;
      &lt;xsd:sequence&gt;
        &lt;xsd:element name="alternativeList" nillable="true" type="impl:ArrayOf_xsd_string" /&gt;
      &lt;/xsd:sequence&gt;
    &lt;/xsd:complexType&gt;
  &lt;xsd:complexType name="MyTransferable"&gt;
      &lt;xsd:sequence&gt;
        &lt;xsd:element name="alternatives" nillable="true"type="impl:ArrayOf_tns1_AlternativeTransferable" /&gt;
        &lt;xsd:element name="mod" nillable="true" type="impl:ArrayOf_xsd_string" /&gt;
        &lt;xsd:element name="msnList" nillable="true" type="impl:ArrayOf_xsd_string" /&gt;
      &lt;/xsd:sequence&gt;
    &lt;/xsd:complexType&gt;
    &lt;wsdl:operation name="myMethod" parameterOrder="msnList epacCodes"&gt;
    &lt;wsdl:input name="myMethodRequest" message="impl:myMethodRequest" /&gt;
    &lt;wsdl:output name="myMethodResponse" message="impl:myMethodResponse" /&gt;
    &lt;wsdl:fault name="WebServiceRequestException" message="impl:WebServiceRequestException" /&gt;
  &lt;/wsdl:operation&gt;
    &lt;wsdl:message name="myMethodResultResponse"&gt;
  &lt;wsdl:part name="myMethodReturn" type="tns1:MyTransferable" /&gt;
  &lt;/wsdl:message&gt;
  </code></pre>
  
  <p>The generated Proxy from Visual Studio looks like:</p>
  
  <pre><code>[System.Diagnostics.DebuggerStepThroughAttribute()]
  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  [System.ServiceModel.MessageContractAttribute(WrapperName="myMethodResponse", WrapperNamespace="http://localhost:8080/H970live/services/Configuration", IsWrapped=true)]
  public partial class myMethodResponse {
  
      [System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=0)]
      public MyProject.Model.MyTransferable myMethodReturn;
  
      public myMethodResponse() {
      }
  
      public myMethodResponse(MyProject.Model.MyTransferable myMethodReturn) {
          this.myMethodReturn = myMethodReturn;
      }
  }
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18213")]
  [System.Diagnostics.DebuggerStepThroughAttribute()]
  [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://entity.webservice.server.de")]
  public partial class MyTransferable : object, System.ComponentModel.INotifyPropertyChanged {
  
      private AlternativeTransferable[] alternativesField;
  
      private string[] modField;
  
      private string[] msnListField;
  
      /// &lt;remarks/&gt;
      [System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true, Order=0)]
      [System.Xml.Serialization.XmlArrayItemAttribute("item", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)]
      public AlternativeTransferable[] alternatives {
          get {
              return this.alternativesField;
          }
          set {
              this.alternativesField = value;
              this.RaisePropertyChanged("alternatives");
          }
      }
  
      /// &lt;remarks/&gt;
      [System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true, Order=1)]
      [System.Xml.Serialization.XmlArrayItemAttribute("item", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)]
      public string[] mod {
          get {
              return this.modField;
          }
          set {
              this.modField = value;
              this.RaisePropertyChanged("mod");
          }
      }
  
      /// &lt;remarks/&gt;
      [System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true, Order=2)]
      [System.Xml.Serialization.XmlArrayItemAttribute("item", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)]
      public string[] msnList {
          get {
              return this.msnListField;
          }
          set {
              this.msnListField = value;
              this.RaisePropertyChanged("msnList");
          }
      }
  
      public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
  
      protected void RaisePropertyChanged(string propertyName) {
          System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
          if ((propertyChanged != null)) {
              propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
          }
      }
  
       [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18213")]
  [System.Diagnostics.DebuggerStepThroughAttribute()]
  [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://entity.webservice.server.de")]
  public partial class AlternativeTransferable : object, System.ComponentModel.INotifyPropertyChanged {
  
      private string[] alternativeList;
  
      /// &lt;remarks/&gt;
      [System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true, Order=0)]
      [System.Xml.Serialization.XmlArrayItemAttribute("item", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)]
      public string[] epacTdus {
          get {
              return this.alternativeList;
          }
          set {
              this.alternativeList = value;
              this.RaisePropertyChanged("epacTdus");
          }
      }
  
      public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
  
      protected void RaisePropertyChanged(string propertyName) {
          System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
          if ((propertyChanged != null)) {
              propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
          }
      }
  }
  }
  </code></pre>
  
  <p>And this are my client options in the svcmap file:</p>
  
  <pre><code>&lt;ClientOptions&gt;
  &lt;GenerateAsynchronousMethods&gt;false&lt;/GenerateAsynchronousMethods&gt;
  &lt;GenerateTaskBasedAsynchronousMethod&gt;true&lt;/GenerateTaskBasedAsynchronousMethod&gt;
  &lt;EnableDataBinding&gt;true&lt;/EnableDataBinding&gt;
  &lt;ExcludedTypes /&gt;
  &lt;ImportXmlTypes&gt;false&lt;/ImportXmlTypes&gt;
  &lt;GenerateInternalTypes&gt;false&lt;/GenerateInternalTypes&gt;
  &lt;GenerateMessageContracts&gt;false&lt;/GenerateMessageContracts&gt;
  &lt;NamespaceMappings /&gt;
  &lt;CollectionMappings&gt;
    &lt;CollectionMapping TypeName="System.Collections.ObjectModel.ObservableCollection`1" Category="List" /&gt;
  &lt;/CollectionMappings&gt;
  &lt;GenerateSerializableTypes&gt;false&lt;/GenerateSerializableTypes&gt;
  &lt;Serializer&gt;Auto&lt;/Serializer&gt;
  &lt;UseSerializerForFaults&gt;false&lt;/UseSerializerForFaults&gt;
  &lt;ReferenceAllAssemblies&gt;true&lt;/ReferenceAllAssemblies&gt;
  &lt;ReferencedAssemblies /&gt;
  &lt;ReferencedDataContractTypes /&gt;
  &lt;ServiceContractMappings /&gt;
  </code></pre>
  
  <p></p>
  
  <p>The response looks like:</p>
  
  <pre><code>     &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
  xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
  &lt;soapenv:Body&gt;
  &lt;myMethodResponse xmlns="http://webservice.server.de"&gt;
  &lt;myMethodReturn&gt;
  &lt;alternatives&gt;
      &lt;alternatives&gt;
          &lt;alternativeList/&gt;
      &lt;/alternatives&gt;
  &lt;/alternatives&gt;
  &lt;mod&gt;
      &lt;mod&gt;CN22.00.998-01&lt;/mod&gt;
  &lt;/mod&gt;
  &lt;msnList&gt;
  &lt;msnList&gt;N-2228&lt;/msnList&gt;
  &lt;msnList&gt;N-2456&lt;/msnList&gt;
  &lt;msnList&gt;N-2213&lt;/msnList&gt;
  &lt;msnList&gt;N-2716&lt;/msnList&gt;
  &lt;msnList&gt;N-3065&lt;/msnList&gt;
  &lt;/msnList&gt;
  &lt;/myMethodReturn&gt;
  &lt;/myMethodResponse&gt;
  &lt;/soapenv:Body&gt;&lt;/soapenv:Envelope&gt;
  </code></pre>
  
  <p>Can anybody help me?</p>