Re: Serializing an interface
- From: "Scott Colestock" <scolestock@xxxxxxxxxxxxxxxx>
- Date: Thu, 13 Oct 2005 13:47:27 -0500
I'm sure your object impelements ISerializable (since it derives from the
interface) - but is it also marked with the Serializable attribute ?
Scott Colestock
www.traceofthought.net
"Christoffer" <christoffer@xxxxxxxxxx> wrote in message
news:eSA92RA0FHA.268@xxxxxxxxxxxxxxxxxxxxxxx
> Yes. I have two variables, one 'objectbroker' that is the object broker
> and one 'iface' of the type Comp.IMyInterface. I then run the following in
> an Expression Shape
>
> iface = objectbroker.GetServer();
>
> /Chris
>
> "Scott Colestock" <scolestock@xxxxxxxxxxxxxxxx> wrote in message
> news:uN9HYNA0FHA.2792@xxxxxxxxxxxxxxxxxxxxxxx
>>
>> What exactly to the declared variables in your orchestration look like?
>> (Do you have one reference to the broker, and one or more to this
>> interface?)
>>
>> "Christoffer" <christoffer@xxxxxxxxxx> wrote in message
>> news:%23ccQ%23n$zFHA.720@xxxxxxxxxxxxxxxxxxxxxxx
>>> Heya, I have a .net interface which only use simple types. I also have
>>> an object broker for this interface and I would like to use this in my
>>> BizTalk Orchestration.
>>>
>>> Now, I've set the object broker to [Serializable()] but I can't set my
>>> interface to be [Serializable()] (C# won't allow me to do this), so I
>>> let the interface use the System.Runtime.Serialization.ISerializable
>>> interface such as:
>>>
>>> public interface IMyInterface :
>>> System.Runtime.Serialization.ISerializable
>>>
>>> But my BizTalk Orchestration still won't let me serialize this. I comes
>>> up with the standard: a non-serializable object type 'Comp.IMyInterface
>>> iface' can only be declared within an atomic scope or service
>>>
>>> Please help me serialize my interface!
>>> /Chris
>>>
>>>
>>
>>
>
>
.
- References:
- Re: Serializing an interface
- From: Scott Colestock
- Re: Serializing an interface
- From: Christoffer
- Re: Serializing an interface
- Prev by Date: Re: Serializing an interface
- Next by Date: Re: Problem with HTTP Adapter sample HTTPRequestResponse
- Previous by thread: Re: Serializing an interface
- Next by thread: Re: Serializing an interface
- Index(es):
Relevant Pages
|