SwitchYardModel switchyard = _puller.pull(COMPLETE_XML, getClass());
CompositeModel composite = switchyard.getComposite();
CompositeServiceModel service = composite.getServices().get(0);
// Verify composite service binding
SOAPBindingModel binding = (SOAPBindingModel)service.getBindings().get(0);
PortModel port = binding.getPort();
Assert.assertEquals("MyWebService/SOAPPort", port.getPort());
Assert.assertEquals("service.wsdl", binding.getWSDL().getLocation());
ComponentModel component = port.getBinding().getService().getComposite().getComponents().get(0);
ComponentServiceModel componentService = component.getServices().get(0);
Assert.assertEquals("SimpleService", componentService.getName());
Assert.assertTrue(componentService.hasPolicyRequirement(new QName("clientAuthentication")));
Assert.assertEquals("theSecurityName", componentService.getSecurity());
ComponentReferenceModel componentReference = component.getReferences().get(0);