Hi,
<br>
<br>It worked for a connection between a receptacle and a shared component facet when I included the artifact, instance and implementation clause of the shared component in the second descriptor. But I'm receiving an error "'IDL:Deployment/InvalidConnection:1.0'" when I try to connect Comp1 (shared component) and Comp2 through an Event Sink and Event Source like that:
<br>
<br>  <connection>
<br>    <name>comp1_comp2_evt</name>
<br>    <internalEndpoint>
<br>      <portName>comp1_pub</portName>
<br>      <kind>EventPublisher</kind>
<br>      <instance>Comp1-idd</instance>
<br>    </internalEndpoint>
<br>    <internalEndpoint>
<br>      <portName>comp2_cons</portName>
<br>      <kind>EventConsumer</kind>
<br>      <instance>Comp2-idd</instance>
<br>    </internalEndpoint>
<br>  </connection>
<br>
<br>The event source port type is a subclass of the event sink port type, like that:
<br>
<br>eventetype InfoEventBase {string name};
<br>eventtype InfoEvent:InfoEventBase {};
<br>
<br>component Comp1 {
<br>  publishes InfoEvent comp1_pub;
<br>}
<br>
<br>component Comp2 {
<br>  consumes InfoEventBase comp2_cons;
<br>}
<br>
<br>I don't know If the problem is because I can't connect the shared component using the event source and sink or if it has to do with the inheritance of the ports.
<br>
<br>Thank you.
<br>
<br>Santos
<br>
<br>---------[ Received Mail Content ]----------
<br>
<br> Subject : Re: [ciao-users] Deployment descriptor for external        component        connection
<br>
<br> Date : Wed, 01 Aug 2007 12:46:37 -0500
<br>
<br> From : Gan Deng <gan.deng@vanderbilt.edu>
<br>
<br> To : CIAO Users Mailing List <ciao-users@cse.wustl.edu>
<br>
<br>
<br>
<br>Santos,
<br>
<br>
<br>
<br>> In the first option, do I need to describe the shared component totally 
<br>
<br>> in the second descriptor repeating also the implementation and artifact 
<br>
<br>> clauses?
<br>
<br>
<br>
<br>Could you please try both and let us know how you find? I'm sure it 
<br>
<br>works if you repeat those descriptions.
<br>
<br>
<br>
<br>> The externalRefEndpoint is avaiable in CIAO 0.5.10?
<br>
<br>
<br>
<br>Our next release version will be CIAO 0.6. Will Otte is adding this 
<br>
<br>feature into DAnCE, so he could answer this question better than me.
<br>
<br>
<br>
<br>Thanks,
<br>
<br>Gan
<br>
<br>
<br>
<br>_______________________________________________
<br>
<br>ciao-users mailing list
<br>
<br>ciao-users@mail.cse.wustl.edu
<br>
<br>http://mail.cse.wustl.edu/mailman/listinfo/ciao-users
<br>
<br><br/>
<div>
<hr style="width:85%;margin-left:0px;text-align:left"/><br/>
<b>Get all the Hottest Artists on Your Cell Phone - Plus 10 Bonus Tones Today!</b><br/>
Find Your New Ringtone at <a href="http://www.lycos.playp.biz/mobringtones/Default.aspx?StoreFrontID=0006-0006-1005-0125" target="_blank"><u>Lycos Mobile</u></a>.
</div>