Re: Serializing an interface
- From: "Christoffer" <christoffer@xxxxxxxxxx>
- Date: Thu, 13 Oct 2005 16:43:05 +0200
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
>>
>>
>
>
.
- Follow-Ups:
- Re: Serializing an interface
- From: Scott Colestock
- Re: Serializing an interface
- References:
- Re: Serializing an interface
- From: Scott Colestock
- Re: Serializing an interface
- Prev by Date: Re: Serializing an interface
- Next by Date: Re: XML file with SOAP envelope
- Previous by thread: Re: Serializing an interface
- Next by thread: Re: Serializing an interface
- Index(es):
Relevant Pages
|