private net.sf.minuteProject.configuration.bean.Model model;
public WsdlModelMetro(WebServiceModel webServiceModel) {
this.webServiceModel = webServiceModel;
ErrorReceiverFilter receiver = new ErrorReceiverFilter();
WsimportOptions options = new WsimportOptions();
String location = webServiceModel.getWsdlLocation();
File file = (location==null)?new File(""):new File(location);
options.addWSDL(file);
WSDLModeler wsdlModeler = new WSDLModeler(options, receiver);
wsdlModel = wsdlModeler.buildModel();
model = webServiceModel.getModel();
name=webServiceModel.getModel().getName();
}