|
Home > Archive > BizTalk Server Orchestration > June 2006 > SerializationException
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
SerializationException
|
|
| Magesh 2006-06-05, 7:23 am |
| 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
| |
| Michael Elizarov [MSFT] 2006-06-06, 7:19 pm |
| 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]
|
|
|
|
|