locked
Lazy XML deserialize question RRS feed

  • Question

  • User1034446946 posted

    Hi

    I am getting a response from an API in soap, I have my models all mapped, however do i need to add the namespaces using [XMLElement(Namespace ="someuri")] to deserialize, and if so how do i add the headers which add the namespaces?

    Or can i be lazy and just map the models to match the structure?

    Friday, August 10, 2018 1:18 AM

Answers

  • User1034446946 posted

    the answer in my case at least is yes.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, August 14, 2018 9:51 AM

All replies

  • User-893317190 posted

    Hi EnenDaveyBoy,

    Could you share your models and your soap response  and show your specific code so that we could learn more about your requirement?

    Best regards,

    Ackerly Xu 

    Friday, August 10, 2018 9:55 AM
  • User1034446946 posted

    the answer in my case at least is yes.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, August 14, 2018 9:51 AM