Definition wsdlDefinition = rw.readWSDL("wsdl/HelloWorld.wsdl");
String wsdlURL = wsdlDefinition.getDocumentBaseURI();
Properties properties = new Properties();
properties.put("keyDomain", "juddi.apache.org");
WSDL2UDDI wsdl2UDDI = new WSDL2UDDI(null, new URLLocalizerDefaultImpl(), properties);
Set<TModel> tModels = new HashSet<TModel>();
@SuppressWarnings("unchecked")
Map<QName,PortType> portTypes = (Map<QName,PortType>) wsdlDefinition.getAllPortTypes();
Set<TModel> portTypeTModels = wsdl2UDDI.createWSDLPortTypeTModels(wsdlURL, portTypes);
tModels.addAll(portTypeTModels);
for (TModel tModel : tModels) {
System.out.println("UDDI PortType TModel " + tModel.getName().getValue());
if (serialize)