}
public static String createWsdl(String serviceMapAsStr,boolean isAbstract) throws XregistryException{
try {
ServiceMapType serviceMap = ServiceMapDocument.Factory.parse(serviceMapAsStr).getServiceMap();
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,