public void testReadCustomViaConfig() throws Exception {
CompositeModel composite = _puller.pull(COMPLETE_XML, getClass());
CompositeServiceModel compositeService = composite.getServices().get(0);
BindingModel binding = compositeService.getBindings().get(0);
assertEquals("soap", binding.getType());
Configuration port_config = binding.getModelConfiguration().getFirstChild(PortModel.PORT);
assertEquals("MyWebService/SOAPPort", port_config.getValue());
assertEquals("true", port_config.getAttribute(PortModel.SECURE));
Configuration wsdl_config = binding.getModelConfiguration().getFirstChild(WSDLModel.WSDL);
assertEquals("service.wsdl", wsdl_config.getValue());
assertEquals("foobar", wsdl_config.getAttribute(WSDLModel.DESCRIPTION));
}