by Dan Rosanova <dnova7@[EMAIL PROTECTED]
>
Apr 21, 2008 at 07:41 AM
Hi Jayendra,
You actually only want a mesage part, not the whole thing. Use .Item
to get the part you want (which is usually either 0 or Body for most
people, I can't remember). Once you get your part you can deserialize
that into your class to work on. Although what I generally prefer to
do is to use xsd.exe to generate a class from my schema for the type I
want to work with (the message type). This type goes in it's own
assembly or the one where the method you want to call is in. Once you
do that you can just pass your message into the method call in your
assembly and it will serialize automatically because the namespaces
and types all match then. I really like this also because it easily
allows me to NUnit test all of my components that are called from my
orchestrations easily. Please let me know if this helped or if you
have further questions.
Kind Regards,
-Dan