none
web service client not parsing array of objects RRS feed

  • Question

  • I have a web service client that is receiving an object with an array of another object within it.  I can see the data is being returned from the web server using Fiddler.  The main object is populated and presented properly with all of it's data, however an array of another object within the main object is not being populated.

    Here's part of the definition from the reference.cs file created when importing the WSDL:

    publicpartialclassContractInfoResponseType: object, System.ComponentModel.INotifyPropertyChanged{

    privateContractInfoTypecontractInfoField;

    privateContractItemType[] itemsField;

    privateContractDealerType[] dealersField;

    ...

    The itemsField is not being populated.  The only error I get is in Fiddler where it says the server response does not have a DATE responseheader.  Any idea why the itemsField object would not be populated?

    Wednesday, December 17, 2014 10:53 PM

All replies

  • Hi paberglund,

    Could you please try to post your service code in here?

    Best Regards,
    Amy Peng


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, December 18, 2014 6:16 AM
    Moderator
  • Are you serializing and deserilizing the objects?

    Thursday, December 18, 2014 7:08 PM