try {
WSDLGenerator generator = new WSDLGenerator();
Hashtable table = generator.generateWSDL("http://localhost.com", new QName("xxxx"), "xx", serv.getType(),
true);
Set set = table.entrySet();
for (Object object : set) {
System.out.println(((Entry) object).getKey());
System.out.println(((Entry) object).getValue());
}