Talk About Network

Google





Software > Biz Talk Orchestration > Re: Serializing...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 4110 of 4234
Post > Topic >>

Re: Serializing Xlang Message

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
 




 4 Posts in Topic:
Serializing Xlang Message
=?Utf-8?B?cHJha2FzaHZhcm1  2008-04-20 01:14:00 
Re: Serializing Xlang Message
Dan Rosanova <dnova7@[  2008-04-21 07:41:38 
RE: Serializing Xlang Message
=?Utf-8?B?YmhhcmF0aA==?=   2008-05-15 18:14:01 
Re: Serializing Xlang Message
Dan Rosanova <dnova7@[  2008-05-19 08:52:24 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 3:34:37 PST 2009.