HighTechTalks DotNet Forums  

Help: Serializing dynamic class in dynamic web service proxy

Dotnet Framework (CLR) microsoft.public.dotnet.framework.clr


Discuss Help: Serializing dynamic class in dynamic web service proxy in the Dotnet Framework (CLR) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
bill white
 
Posts: n/a

Default Help: Serializing dynamic class in dynamic web service proxy - 09-21-2006 , 01:06 AM






I am using dynamic web service proxy to access web service, and it works
good if no soapheader is used in the web service. But if I declare a
soapheader class and set SoapHeader attribute to the web method in the web
service, I got the message below when trying to create the dynamic proxy:

Unable to generate a serializer for type
Logonexpress.DynamicWebCalling.RemoteTaskSoapHeade r from assembly <Unknown>
because the assembly may be dynamic. Save the assembly and load it from disk
to use it with XmlSerialization.



Any idea about the bug? I don¡¯t want to save the assembly to file and then
load it from the file.



Thanks in advance.



Bill



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.