// TUSCANY-3941 - make sure binding.sca is matched properly when
// it's used to carry the target URI. Not much to do with
// JAXB but this is a convenient test
@Test
public void testJAXBCrossContributionSCAAlternative() throws Exception {
ClientIntf client = node.getService(ClientIntf.class, "ClientSCAAlternative");
assertNotNull(client);
client.callJAXBCrossContribution();
// Get the binding from the ClientSCA component
Binding binding = ((NodeImpl)node).getDomainComposite().getComponents().get(2).getReferences().get(0).getEndpointReferences().get(0).getBinding();
assertEquals(true, binding instanceof SCABinding);