3.8. Composite Reference
A composite reference allows a component reference to be wired to a service outside the application. Similar to composite services, bindings are used with composite references to specify the communication method for invoking the external service.
Figure 3.9. Composite Reference
![Composite Reference](https://access.redhat.com/webassets/avalon/d/Red_Hat_JBoss_Fuse-6.3-SwitchYard_Development_Guide-en-US/images/b24ed8da02e7ce0e3af71ac5353769b6/4315.png)
Example 3.8. Sample Corresponding XML
<sca:composite name="example" targetNamespace="urn:example:switchyard:1.0"> <sca:reference name="ReferenceB" multiplicity="0..1" promote="Routing/ServiceB"> <sca:interface.java interface="org.example.ServiceB"/> </sca:reference> </sca:composite>