mockService.beforeSave();
MockServiceConfig mockServiceConfig = ( MockServiceConfig )getConfig().addNewMockService().set(
mockService.getConfig().copy() );
mockServiceConfig.setName( name );
if( mockServiceConfig.isSetId() && createCopy )
mockServiceConfig.unsetId();
mockService = new WsdlMockService( this, mockServiceConfig );
mockService.setDescription( description );
mockServices.add( mockService );
if( createCopy )
ModelSupport.unsetIds( mockService );