Serialization problem
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 General > Serialization problem




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

    Serialization problem  
Gionni


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


 
09-14-05 10:52 PM

Hello everyone,
I have a little problem. I designed an orchestration similar to
ExposeWebService sample, but I call a web service (instead of a map) to
have a message result. The web service returns an XmlDocument. If I
assign the result to a Message, it compiles and deploys, but at
run-time the SOAP adapter returns this error:

Type System.Xml.Schema.XmlSchemaComplexContentExtension nell'assembly
System.Xml, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089 is not marked as serializable.

What is the better solution for this problem?

Thanks all,
Gionni






[ Post a follow-up to this message ]



    Re: Serialization problem  
Scott Colestock


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


 
09-14-05 10:52 PM

You will likely want to examine the generated proxy code, and consider
tweaking it (or, alternatively, tweaking a private copy of the WSDL and
regenerate the proxy.)

Ideally, you could tweak the WSDL to refer to an actual schema.

Scott Colestock
www.traceofthought.net



"Gionni" <vezzosi.daniele@gmail.com> wrote in message
news:1126719086.462611.22340@f14g2000cwb.googlegroups.com...
> Hello everyone,
>   I have a little problem. I designed an orchestration similar to
> ExposeWebService sample, but I call a web service (instead of a map) to
> have a message result. The web service returns an XmlDocument. If I
> assign the result to a Message, it compiles and deploys, but at
> run-time the SOAP adapter returns this error:
>
> Type System.Xml.Schema.XmlSchemaComplexContentExtension nell'assembly
> System.Xml, Version=1.0.5000.0, Culture=neutral,
> PublicKeyToken=b77a5c561934e089 is not marked as serializable.
>
> What is the better solution for this problem?
>
> Thanks all,
> Gionni
>







[ Post a follow-up to this message ]



    Re: Serialization problem  
Ben McFarlin


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


 
09-14-05 10:52 PM

You'll  need to configure your orchestration to run in an atomic
transaction.






[ Post a follow-up to this message ]



    Re: Serialization problem  
Scott Colestock


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


 
09-16-05 10:59 PM

Well, I think you want to be careful about using atomic to overcome
serialization issues.
You need to be ok with the other behavior that "atomic" implies for your
particular orchestration.

Scott Colestock



"Ben McFarlin" <mcfarlin_ben@hotmail.com> wrote in message
news:1126733660.935621.297190@g44g2000cwa.googlegroups.com...
> You'll  need to configure your orchestration to run in an atomic
> transaction.
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:50 PM.      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