}
}
private JavaModel wsdlDefinitionToJavaModel(Definition definition) throws ToolException {
JavaModel javaModel = new JavaModel();
getEnvironment().put(ToolConstants.RAW_JAXB_MODEL, getRawJaxbModel());
javaModel.setJAXWSBinding(customizing(definition));
Map portTypes = definition.getPortTypes();
for (Iterator iter = portTypes.keySet().iterator(); iter.hasNext();) {
PortType portType = (PortType)portTypes.get(iter.next());