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 |