SchemaValidator validator = new SchemaValidator(serviceMap);
validator.validate();
QName serviceQname = new QName(serviceMap.getService().getServiceName()
.getTargetNamespace(), serviceMap.getService().getServiceName()
.getStringValue());
WSDLGenerator wsdlGenerator = new WSDLGenerator();
Hashtable serviceTable = wsdlGenerator.generateWSDL(null, serviceQname, null,
serviceMap, isAbstract);
if(isAbstract){
return (String) serviceTable.get(WSDLConstants.AWSDL);
}else{
return (String) serviceTable.get(WSDLConstants.WSDL);