Converting List<T> object into a SOAP message RRS feed

  • Question

  • are there any methods for converting a generic list into a SOAP xml message?
    Thursday, January 21, 2010 6:46 PM


  • Hello,

    My suggestion for getting the data section of the message from a generic List is to use the XmlSerializer class. Then SOAP headers will have to be added to it.

    Also if you are specifically referring to the HealthRecordItem, then the GetItemXml() API will retrieve the xml of the item. Again the header will have to be added to it.

    Hope this helps.

    Thanks and Regards,
    Aneesh D.
    Thursday, January 21, 2010 8:05 PM