all groups > dotnet remoting > september 2003 >
You're in the

dotnet remoting

group:

Can I invoke a webservice from a remote object



Can I invoke a webservice from a remote object masonbeard NO[at]SPAM hotmail.com
9/25/2003 10:09:05 PM
dotnet remoting: Is it possible to invoke a Webservice from a remote object? I have no
problems making a remote object call and even calling and returning
other remote objects, from the first, back to the client. However I
can't seem to call a webservice that returns some data that I use to
populate a serialized object to return. The error I get when trying
to call the webmethod from my remote object is this:

System.Runtime.Serialization.SerializationException: The type
System.Web.Services.Protocols.SoapHeaderException in Assembly
System.Web.Services, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a is not marked as serializable

I have tried adding the [Serializable] tag to Reference.cs and it
doesn't seem to help. Any input on this, or if you know of a better
way to set this up I would really appreciate ideas.

Re: Can I invoke a webservice from a remote object Doug Forster
10/2/2003 11:51:52 AM
Hi,

Don't know what is causing your problem, but we use a Webservice from a
remote object without any problem. We only pass strings between though.

Cheers

Doug Forster

[quoted text, click to view]

AddThis Social Bookmark Button