470,849 Members | 1,135 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,849 developers. It's quick & easy.

SerializationException in Web Service


I am creating a web service with .NET 2.0 and Visual Studio 2005.
I want to enable the following class as a web service:
[WebService(Namespace = "http://webservice.docuware.com/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class Service : System.Web.Services.WebService

public string GetStoreDate(string fcGUID, long dwdocid)
string date = <do something in an external application and
return a string>;

return date;
When I now test the GetStoreDate Web Service it actually does
everything right. The debugger shows the correct value for the date
variable. However after leaving the method I get the following

System.Runtime.Serialization.SerializationExceptio n was unhandled
Message="Type is not resolved for member
'DocuWare.Common.Logging.LoggingContextData,DocuWa re.Common,
Version=, Culture=neutral, PublicKeyToken=879da714589ba9ea'."
at Microsoft.VisualStudio.WebHost.Host.ProcessRequest (Connection
at Microsoft.VisualStudio.WebHost.Server.OnSocketAcce pt(Object
System.Threading._ThreadPoolWaitCallback.WaitCallb ack_Context(Object
at System.Threading.ExecutionContext.Run(ExecutionCon text
executionContext, ContextCallback callback, Object state)
System.Threading._ThreadPoolWaitCallback.PerformWa itCallback(Object
The requested DLL "DocuWare.Common" is referenced in the Web Project
and I also use it in the class:
using DocuWare.Common.Logging;

I am actually not using any classes or methods from the DLL in my
webservice. However it is possible that the some method down the line
from <do something in an external application and return a string> uses
a method of the DLL.

Why am I getting this exception? How can I avoid it?

Thanks for your help.


Mar 7 '06 #1
0 1169

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Really stuck | last post: by
4 posts views Thread by mekim | last post: by
reply views Thread by billa | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.