Custom Message class vs Message Contract RRS feed

  • Question

  • Hi,

    Having looked around on the web and at the online docs, I'm still a little confused about when to define a class marked as a message contract and when to derive from the abstract Message class to create a custom implementation.

    What's the difference between the two?  I have a set of headers that I wish to carry in the SOAP header in a message but also want to provide some helper classes to auto-populate, for example, the header for a reply message based on a request message.

    Sorry for the dumb question, but if anyone can enlighten me I'd appreciate it.



    Friday, October 13, 2006 9:55 PM