SerializationException
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > SerializationException




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    SerializationException  
Magesh


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-05-06 12:23 PM

Hi All

I have created one orchestration. That have one receive shape and send
shape. Both Shapes have same messages (Input Message:
System.Xml.XmlDocument).  Then i published web services.

After that i create button with in web form (WebForm1.aspx with
WebForm1.aspx.cs). On click of the button, WebForm1.aspx will send the
Xmldocument to orchestration published as web service.

At that moment I got error:

An unhandled exception of type
'System.Runtime.Serialization.SerializationException' occurred in
Unknown Module.

Additional information: The type
System.Web.Services.Protocols.SoapException in Assembly
System.Web.Services, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a is not marked as serializable.

How can i solve

Thank & Regards
Magesh






[ Post a follow-up to this message ]



    RE: SerializationException  
Michael Elizarov [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-07-06 12:19 AM

Magesh,

If you specify XmlDocument as your Message Type in orchestration it will be
replaced by XmlNode. The reason is that XmlDocment is not serializable,
XmlNode is. Howeber, unless you have custom code that is executed from
within orchestration you should not see any difference. Also, if you look
at the type of parameter for web call to the published orchestration, it
will be XmlNode.

Hope this helps.

-- Michael

--------------------[vbcol=seagreen] 






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:45 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register