WSDLServiceBuilder builder = new WSDLServiceBuilder(bus);
builder.buildMockServices(wsdlDefinition);
schemas = mgr.getSchemasForDefinition(wsdlDefinition);
//remove this as we're going to be modifying it
mgr.removeDefinition(wsdlDefinition);
} catch (WSDLException we) {
org.apache.cxf.common.i18n.Message msg =
new org.apache.cxf.common.i18n.Message(
"FAIL_TO_CREATE_WSDL_DEFINITION", LOG);