Calling web service and getting null for response object

I am working with a 3rd party web service which is written in Java/Axis.  I have not worked much with WCF so I am trying to feel my way through this.  I was able to generate the class from the wsdl and using Fiddler I am able to see the call being made to the service, and a response being returned.  But in my code, my response is empty and I am not sure why I am not seeing the response.  Below is the generated class, the wsdl and the response from the web service.  Is there an issue with the auto generated class?  Why is my response not being consumed by the C# code?

This is the generated class.  I only included the methods I am calling since this file is over 5000 lines and most of it will not be used by us.

namespace PPG.AC.NA.SS.ReplenishmentProcessor.DA.GrandeFacade {
   
   
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(Namespace="http://sdrsafposent1d:8081/axis/services/grandeFacade", ConfigurationName="GrandeFacade.grandeFacade")]
public interface grandeFacade {

       // CODEGEN: Generating message contract since the wrapper namespace (http://localhost:8180/grandeFacade/services/grandeFacade) of message EnterpriseObjectsRequest does not match the default value (http://sdrsafposent1d:8081/axis/services/grandeFacade)
        [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        PPG.AC.NA.SS.ReplenishmentProcessor.DA.GrandeFacade.EnterpriseObjectsResponse EnterpriseObjects(PPG.AC.NA.SS.ReplenishmentProcessor.DA.GrandeFacade.EnterpriseObjectsRequest request);
       
        [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
        System.Threading.Tasks.Task<PPG.AC.NA.SS.ReplenishmentProcessor.DA.GrandeFacade.EnterpriseObjectsResponse> EnterpriseObjectsAsync(PPG.AC.NA.SS.ReplenishmentProcessor.DA.GrandeFacade.EnterpriseObjectsRequest request);
       
        // CODEGEN: Generating message contract since the wrapper namespace (http://localhost:8180/grandeFacade/services/grandeFacade) of message EnterpriseObjecRequest does not match the default value (http://sdrsafposent1d:8081/axis/services/grandeFacade)
        [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        PPG.AC.NA.SS.ReplenishmentProcessor.DA.GrandeFacade.EnterpriseObjecResponse EnterpriseObjec(PPG.AC.NA.SS.ReplenishmentProcessor.DA.GrandeFacade.EnterpriseObjecRequest request);
       
        [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
        System.Threading.Tasks.Task<PPG.AC.NA.SS.ReplenishmentProcessor.DA.GrandeFacade.EnterpriseObjecResponse> EnterpriseObjecAsync(PPG.AC.NA.SS.ReplenishmentProcessor.DA.GrandeFacade.EnterpriseObjecRequest request);
       
        // CODEGEN: Generating message contract since the wrapper namespace (http://localhost:8180/grandeFacade/services/grandeFacade) of message GetRecordsRequest does not match the default value (http://sdrsafposent1d:8081/axis/services/grandeFacade)
        [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        PPG.AC.NA.SS.ReplenishmentProcessor.DA.GrandeFacade.GetRecordsResponse GetRecords(PPG.AC.NA.SS.ReplenishmentProcessor.DA.GrandeFacade.GetRecordsRequest request);

}


    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34230")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://localhost:8180/grandeFacade/services/grandeFacade")]
    public partial class EnterpriseObjValues : object, System.ComponentModel.INotifyPropertyChanged {
       
        private string actionField;
       
        private string documentIDField;
       
        private ObjectDetail[] objectDetailField;
       
        private string objectNameField;
       
        private string sourceField;
       
        private string transactionIDField;
       
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)]
        public string action {
            get {
                return this.actionField;
            }
            set {
                this.actionField = value;
                this.RaisePropertyChanged("action");
            }
        }
       
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)]
        public string documentID {
            get {
                return this.documentIDField;
            }
            set {
                this.documentIDField = value;
                this.RaisePropertyChanged("documentID");
            }
        }
       
        /// <remarks/>
        [System.Xml.Serialization.XmlArrayAttribute(IsNullable=true, Order=2)]
        [System.Xml.Serialization.XmlArrayItemAttribute("item", Namespace="http://sdrsafposent1d:8081/axis/services/grandeFacade", IsNullable=false)]
        public ObjectDetail[] objectDetail {
            get {
                return this.objectDetailField;
            }
            set {
                this.objectDetailField = value;
                this.RaisePropertyChanged("objectDetail");
            }
        }
       
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)]
        public string objectName {
            get {
                return this.objectNameField;
            }
            set {
                this.objectNameField = value;
                this.RaisePropertyChanged("objectName");
            }
        }
       
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)]
        public string source {
            get {
                return this.sourceField;
            }
            set {
                this.sourceField = value;
                this.RaisePropertyChanged("source");
            }
        }
       
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=5)]
        public string transactionID {
            get {
                return this.transactionIDField;
            }
            set {
                this.transactionIDField = value;
                this.RaisePropertyChanged("transactionID");
            }
        }
       
        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.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.ServiceModel.MessageContractAttribute(WrapperName="EnterpriseObjects", WrapperNamespace="http://localhost:8180/grandeFacade/services/grandeFacade", IsWrapped=true)]
    public partial class EnterpriseObjectsRequest {
       
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://localhost:8180/grandeFacade/services/grandeFacade", Order=0)]
        [System.Xml.Serialization.XmlElementAttribute("EnterpriseObjValues")]
        public PPG.AC.NA.SS.ReplenishmentProcessor.DA.GrandeFacade.EnterpriseObjValues[] EnterpriseObjValues;
       
        public EnterpriseObjectsRequest() {
        }
       
        public EnterpriseObjectsRequest(PPG.AC.NA.SS.ReplenishmentProcessor.DA.GrandeFacade.EnterpriseObjValues[] EnterpriseObjValues) {
            this.EnterpriseObjValues = EnterpriseObjValues;
        }
    }
   
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.ServiceModel.MessageContractAttribute(WrapperName="EnterpriseObjectsResponse", WrapperNamespace="http://localhost:8180/grandeFacade/services/grandeFacade", IsWrapped=true)]
    public partial class EnterpriseObjectsResponse {
       
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://localhost:8180/grandeFacade/services/grandeFacade", Order=0)]
        public PPG.AC.NA.SS.ReplenishmentProcessor.DA.GrandeFacade.WebServiceResp EnterpriseObjectsReturn;
       
        public EnterpriseObjectsResponse() {
        }
       
        public EnterpriseObjectsResponse(PPG.AC.NA.SS.ReplenishmentProcessor.DA.GrandeFacade.WebServiceResp EnterpriseObjectsReturn) {
            this.EnterpriseObjectsReturn = EnterpriseObjectsReturn;
        }
    }
   
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.ServiceModel.MessageContractAttribute(WrapperName="EnterpriseObjec", WrapperNamespace="http://localhost:8180/grandeFacade/services/grandeFacade", IsWrapped=true)]
    public partial class EnterpriseObjecRequest {
       
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://localhost:8180/grandeFacade/services/grandeFacade", Order=0)]
        public PPG.AC.NA.SS.ReplenishmentProcessor.DA.GrandeFacade.EnterpriseObjValues EnterpriseObjValues;
       
        public EnterpriseObjecRequest() {
        }
       
        public EnterpriseObjecRequest(PPG.AC.NA.SS.ReplenishmentProcessor.DA.GrandeFacade.EnterpriseObjValues EnterpriseObjValues) {
            this.EnterpriseObjValues = EnterpriseObjValues;
        }
    }
   
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.ServiceModel.MessageContractAttribute(WrapperName="EnterpriseObjecResponse", WrapperNamespace="http://localhost:8180/grandeFacade/services/grandeFacade", IsWrapped=true)]
    public partial class EnterpriseObjecResponse {
       
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://localhost:8180/grandeFacade/services/grandeFacade", Order=0)]
        public PPG.AC.NA.SS.ReplenishmentProcessor.DA.GrandeFacade.wsResponse EnterpriseObjecReturn;
       
        public EnterpriseObjecResponse() {
        }
       
        public EnterpriseObjecResponse(PPG.AC.NA.SS.ReplenishmentProcessor.DA.GrandeFacade.wsResponse EnterpriseObjecReturn) {
            this.EnterpriseObjecReturn = EnterpriseObjecReturn;
        }
    }
      
      
   [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class grandeFacadeClient : System.ServiceModel.ClientBase<PPG.AC.NA.SS.ReplenishmentProcessor.DA.GrandeFacade.grandeFacade>, PPG.AC.NA.SS.ReplenishmentProcessor.DA.GrandeFacade.grandeFacade {
       
        public grandeFacadeClient() {
        }
       
        public grandeFacadeClient(string endpointConfigurationName) :
                base(endpointConfigurationName) {
        }
       
        public grandeFacadeClient(string endpointConfigurationName, string remoteAddress) :
                base(endpointConfigurationName, remoteAddress) {
        }
       
        public grandeFacadeClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
                base(endpointConfigurationName, remoteAddress) {
        }
       
        public grandeFacadeClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
                base(binding, remoteAddress) {
        }
      }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34230")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://localhost:8180/grandeFacade/services/grandeFacade")]
    public partial class wsResponse : object, System.ComponentModel.INotifyPropertyChanged {
       
        private string actionField;
       
        private string documentIDField;
       
        private string errorMsgField;
       
        private string objectNameField;
       
        private string stackTraceField;
       
        private string statusField;
       
        private string transactionIDField;
       
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)]
        public string action {
            get {
                return this.actionField;
            }
            set {
                this.actionField = value;
                this.RaisePropertyChanged("action");
            }
        }
       
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)]
        public string documentID {
            get {
                return this.documentIDField;
            }
            set {
                this.documentIDField = value;
                this.RaisePropertyChanged("documentID");
            }
        }
       
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)]
        public string errorMsg {
            get {
                return this.errorMsgField;
            }
            set {
                this.errorMsgField = value;
                this.RaisePropertyChanged("errorMsg");
            }
        }
       
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=3)]
        public string objectName {
            get {
                return this.objectNameField;
            }
            set {
                this.objectNameField = value;
                this.RaisePropertyChanged("objectName");
            }
        }
       
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=4)]
        public string stackTrace {
            get {
                return this.stackTraceField;
            }
            set {
                this.stackTraceField = value;
                this.RaisePropertyChanged("stackTrace");
            }
        }
       
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=5)]
        public string status {
            get {
                return this.statusField;
            }
            set {
                this.statusField = value;
                this.RaisePropertyChanged("status");
            }
        }
       
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=6)]
        public string transactionID {
            get {
                return this.transactionIDField;
            }
            set {
                this.transactionIDField = value;
                this.RaisePropertyChanged("transactionID");
            }
        }
       
        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));
            }
        }
    }
   
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34230")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://localhost:8180/grandeFacade/services/grandeFacade")]
    public partial class WebServiceResp : object, System.ComponentModel.INotifyPropertyChanged {
       
        private wsResponse[] wsResponseField;
       
        /// <remarks/>
        [System.Xml.Serialization.XmlArrayAttribute(Order=0)]
        [System.Xml.Serialization.XmlArrayItemAttribute("item", Namespace="http://sdrsafposent1d:8081/axis/services/grandeFacade", IsNullable=false)]
        public wsResponse[] wsResponse {
            get {
                return this.wsResponseField;
            }
            set {
                this.wsResponseField = value;
                this.RaisePropertyChanged("wsResponse");
            }
        }
       
        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));
            }
        }
    }



Here is the URL to the WSDL.  Not sure if this is accessible outside our network.

    http://sdrsafposent1d:8081/axis/services/grandeFacade?wsdl

And here is the response Fiddler captured.  My other question is with the response I see there is a Java Exception and some ugly jibberish afterwards.  Can this be causing the issue with the response not being consumed?

    2000
    <?xml version="1.0" encoding="UTF-8"?><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">
     <soapenv:Body>
      <EnterpriseObjectsResponse xmlns="http://localhost:8180/grandeFacade/services/grandeFacade">
       <EnterpriseObjectsReturn>
        <wsResponse>
         <action>INSERT</action>
         <documentID>1000</documentID>
         <errorMsg></errorMsg>
         <objectName>enca_orden_compra</objectName>
         <stackTrace></stackTrace>
         <status>Not processed</status>
         <transactionID>1</transactionID>
        </wsResponse>
        <wsResponse>
         <action>INSERT</action>
         <documentID>1000</documentID>
         <errorMsg></errorMsg>
         <objectName>det_orden_compra</objectName>
         <stackTrace></stackTrace>
         <status>Not processed</status>
         <transactionID>1</transactionID>
        </wsResponse>
        <wsResponse>
         <action>update</action>
         <documentID>1000</documentID>
         <errorMsg></errorMsg>
         <objectName>enca_orden_compra</objectName>
         <stackTrace></stackTrace>
         <status>Not processed</status>
         <transactionID>1</transactionID>
        </wsResponse>
        <wsResponse>
         <action>update</action>
         <documentID>1000</documentID>
         <errorMsg></errorMsg>
         <objectName>enca_orden_compra</objectName>
         <stackTrace></stackTrace>
         <status>Not processed</status>
         <transactionID>1</transactionID>
        </wsResponse>
        <wsResponse>
         <action>update</action>
         <documentID>1000</documentID>
         <errorMsg></errorMsg>
         <objectName>enca_orden_compra</objectName>
         <stackTrace></stackTrace>
         <status>Not processed</status>
         <transactionID>1</transactionID>
        </wsResponse>
        <wsResponse>
         <action>Informative</action>
         <documentID>Footer</documentID>
         <errorMsg>NULL</errorMsg>
         <objectName></objectName>
         <stackTrace>none
    *******************************************************************************
    * Object Name: det_orden_compra
    * Field Name: Unidades_ordenadas
    * Field Value: 1
    * Process Step: Getting primary key
    * Possible Error: Incorrect field name or value data from the key
    *******************************************************************************
    java.lang.NullPointerException</stackTrace>
         <status>error</status>
         <transactionID>
   
    ***********************************************************************************************
    &lt;EnterpriseObjsValues&gt;
    &lt;EnterpriseObjValues&gt;
       &lt;objectName&gt;enca_orden_compra&lt;/objectName&gt;
       &lt;action&gt;INSERT&lt;/action&gt;
       &lt;documentID&gt;1000&lt;/documentID&gt;
       &lt;transactionID&gt;1&lt;/transactionID&gt;
       &lt;source&gt;ORACLE&lt;/source&gt;
       &lt;whereClasue&gt;sucursal = XYZ AND orden = 34567&lt;/whereClasue&gt;
       &lt;objectDetail&gt;
          &lt;item&gt;
             &lt;fieldName&gt;external_id&lt;/fieldName&gt;
             &lt;fieldValue&gt;345888&lt;/fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;sucursal&lt;/fieldName&gt;
             &lt;fieldValue&gt;XYZ&lt;/fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;orden&lt;/fieldName&gt;
             &lt;fieldValue&gt;34567&lt;/fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;proveedor&lt;/fieldName&gt;
             &lt;fieldValue&gt;45454&lt;/fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;comprador&lt;/fieldName&gt;
             &lt;fieldValue&gt;1001&lt;/fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;tipo_distribucion&lt;/fieldName&gt;
             &lt;fieldValue&gt;DD&lt;/fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;order_origin&lt;/fieldName&gt;
             &lt;fieldValue&gt;C&lt;/fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;document_status&lt;/fieldName&gt;
             &lt;fieldValue&gt;5&lt;/fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;fecha_orden&lt;/fieldName&gt;
             &lt;fieldValue&gt;3/13/2015 12:53:54 PM&lt;/fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;fecha_entrada&lt;/fieldName&gt;
             &lt;fieldValue&gt;3/20/2015 12:53:54 PM&lt;/fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;fecha_cancelacion&lt;/fieldName&gt;
             &lt;fieldValue&gt;3/27/2015 12:53:54 PM&lt;/fieldValue&gt;
          &lt;/item&gt;
       &lt;/objectDetail&gt;
    &lt;/EnterpriseObjValues&gt;
    &lt;EnterpriseObjValues&gt;
       &lt;objectName&gt;det_orden_compra&lt;/objectName&gt;
       &lt;action&gt;INSERT&lt;/action&gt;
       &lt;documentID&gt;1000&lt;/documentID&gt;
       &lt;transactionID&gt;1&lt;/transactionID&gt;
       &lt;source&gt;ORACLE&lt;/source&gt;
       &lt;whereClasue&gt;sucursal =  AND orden = 34567 AND Articulo = '1'&lt;/whereClasue&gt;
       &lt;objectDetail&gt;
          &lt;item&gt;
             &lt;fieldName&gt;sucursal&lt;/fieldName&gt;
             &lt;fieldValue&gt;&lt;/fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;orden&lt;/fieldName&gt;
             &lt;fieldValue&gt;34567&lt;/fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;Articulo&lt;/fieldName&gt;
             &lt;fieldValue&gt;1&lt;/fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;Unidades_ordenadas&lt;/fieldName&gt;
             &lt;fieldValue&gt;null&lt;/fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;Costo&lt;/fieldName&gt;
             &lt;fieldValue&gt;13-MAR-15&lt;/fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;confirmed_quantity&lt;/fieldName&gt;
             &lt;fieldValue&gt;null&lt;/fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;confirmation_date&lt;/fieldName&gt;
             &lt;fieldValue&gt;3/20/2015 12:53:54 PM&lt;/fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;confirmation_number&lt;/fieldName&gt;
             &lt;fieldValue&gt;34567&lt;/fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;document_status&lt;/fieldName&gt;
             &lt;fieldValue&gt;5&lt;/fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;sequence&lt;/fieldName&gt;
             &lt;fieldValue&gt;4567&lt;/fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;requisition&lt;/fieldName&gt;
             &lt;fieldValue&gt;1&lt;/fieldValue&gt;
          &lt;/item&gt;
       &lt;/objectDetail&gt;
    &lt;/EnterpriseObjValues&gt;
    &lt;EnterpriseObjValues&gt;
       &lt;objectName&gt;enca_orden_compra&lt;/objectName&gt;
       &lt;action&gt;update&lt;/action&gt;
       &lt;documentID&gt;1000&lt;/documentID&gt;
       &lt;transactionID&gt;1&lt;/transactionID&gt;
       &lt;source&gt;ORACLE&lt;/source&gt;
       &lt;whereClasue&gt;sucursal =  AND orden = 34567&lt;/whereClasue&gt;
       &lt;objectDetail&gt;
          &lt;item&gt;
             &lt;fieldName&gt;sucursal&lt;/fieldName&gt;
             &lt;fieldValue&gt;&lt;/fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;orden&lt;/fieldName&gt;
             &lt;fieldValue&gt;34567&lt;/fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;status_proceso&lt;/fieldName&gt;
             &lt;fieldValue&gt;18&lt;/fieldValue&gt;
          &lt;/item&gt;
       &lt;/objectDetail&gt;
    &lt;/EnterpriseObjValues&gt;
    &lt;EnterpriseObjValues&gt;
       &lt;objectName&gt;enca_orden_compra&lt;/objectName&gt;
       &lt;action&gt;update&lt;/action&gt;
       &lt;documentID&gt;1000&lt;/documentID&gt;
       &lt;transactionID&gt;1&lt;/transactionID&gt;
       &lt;source&gt;ORACLE&lt;/source&gt;
       &lt;whereClasue&gt;sucursal =  AND orden = 34567&lt;/whereClasue&gt;
       &lt;objectDetail&gt;
          &lt;item&gt;
             &lt;fieldName&gt;sucursal&lt;/fieldName&gt;
             &lt;fieldValue&gt;&lt;/fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;orden&lt;/fieldName&gt;
             &lt;fieldValue&gt;34567&lt;
    554
    /fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;status_proceso&lt;/fieldName&gt;
             &lt;fieldValue&gt;19&lt;/fieldValue&gt;
          &lt;/item&gt;
       &lt;/objectDetail&gt;
    &lt;/EnterpriseObjValues&gt;
    &lt;EnterpriseObjValues&gt;
       &lt;objectName&gt;enca_orden_compra&lt;/objectName&gt;
       &lt;action&gt;update&lt;/action&gt;
       &lt;documentID&gt;1000&lt;/documentID&gt;
       &lt;transactionID&gt;1&lt;/transactionID&gt;
       &lt;source&gt;ORACLE&lt;/source&gt;
       &lt;whereClasue&gt;sucursal =  AND orden = 34567&lt;/whereClasue&gt;
       &lt;objectDetail&gt;
          &lt;item&gt;
             &lt;fieldName&gt;sucursal&lt;/fieldName&gt;
             &lt;fieldValue&gt;&lt;/fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;orden&lt;/fieldName&gt;
             &lt;fieldValue&gt;34567&lt;/fieldValue&gt;
          &lt;/item&gt;
          &lt;item&gt;
             &lt;fieldName&gt;status_proceso&lt;/fieldName&gt;
             &lt;fieldValue&gt;3&lt;/fieldValue&gt;
          &lt;/item&gt;
       &lt;/objectDetail&gt;
    &lt;/EnterpriseObjValues&gt;
    &lt;/EnterpriseObjsValues&gt;
   
    ***********************************************************************************************
   
    </transactionID>
        </wsResponse>
       </EnterpriseObjectsReturn>
      </EnterpriseObjectsResponse>
     </soapenv:Body>
    </soapenv:Envelope>
    0

Here is the block of code that  I where I am making the call and capturing the response.

  grandeFacadeClient client = new grandeFacadeClient();
  response = client.EnterpriseObjects(enterpriseObjValueslist);
  responseArray = response.wsResponse;
axnst2Asked:
Who is Participating?
 
axnst2Author Commented:
I was able to inspect the response and found that the xml being returned was not in a valid format and as a result was not able to be serialized.  Since this was a third party we were pulling data from, we went back to them to have them correct the output.
0
 
kblauCommented:
put the request xml in a file (properties change request xml file to embedded resource) at the root or same level as the following code:

 GetVendorCustomerInfoSOA service = new GetVendorCustomerInfoSOA();
  string request = service.GetVendorLookup();

///////////
public class GetVendorCustomerInfoSOA
    {
        public IDictionary<string, string> GetVendorLookup(string vendorCustomer, TokenResponse tokenResponse)
        {
            WebProxy intranetPassThrough = GetProxy.GetGovProxy();   //you can leave proxy stuff out

            WebClient client = new WebClient();
            client.Proxy = intranetPassThrough;  
           
            string loadedResource = LoadResource.Load("vendorlookupRequest");

            loadedResource = CustomizeRequest(loadedResource);

            client.Headers.Add(
                HttpRequestHeader.ContentType, "text/plain");
            client.Headers.Add(
                "SOAPAction", "http://tempuri.org/getVendorCustomer");
            client.Headers.Add("Authorization: Bearer " +
                tokenResponse.access_token);
           
            string customerInfo = client.UploadString(
                new Uri("{your endpoint i.e. https://mywebservice}"), loadedResource);

            if (customerInfo.IndexOf("<Vendor_Customer>") == -1)
            {
                throw new Exception("GetVendorCustomer not working");
            }

            return PopulateDictionary(customerInfo);
        }
////////
string CustomizeRequest(string request)
        {
            string loadedResource = LoadResource.Load("vendorlookupRequest");
            XElement xe = XElement.Parse(loadedResource);
         
            XElement child = xe.Descendants().Where(e => e.Name.LocalName == "UserID").FirstOrDefault();
            child.SetValue("userid");

            return xe.ToString();
        }

etc. for pasword etc.
///
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.IO;

namespace myNamespace
{
    public enum FileExtenstion { xml = 1, json = 2, config = 3};
    public class LoadResource
    {
        public static string Load(string name, FileExtenstion fileExtension = FileExtenstion.xml)
        {
            Type thisType = MethodBase.GetCurrentMethod().DeclaringType;
            string suffix = String.Empty;
           
            switch (fileExtension)
            {
                case FileExtenstion.xml:
                    suffix = ".xml";
                    break;
                case FileExtenstion.json:
                    suffix = ".json";
                    break;
                case FileExtenstion.config:
                    suffix = ".config";
                    break;
            }
           
            string fullName = thisType.Namespace + "." + name + suffix;

            using (Stream stream = thisType.Module.Assembly.GetManifestResourceStream(fullName))
            {
                if (stream == null)
                {
                    throw new ArgumentException("Resource " + name + " not found.");
                }

                StreamReader sr = new StreamReader(stream);
                return sr.ReadToEnd();
            }
        }
    }
}

///
0
 
axnst2Author Commented:
Analyzing the response allowed me to determine the xml was not valid.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.