// FIXME: Already validated when you create service map.
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,
true);
String wsdl = (String) serviceTable.get(WSDLConstants.AWSDL);
return wsdl;
} catch (Exception e) {
throw new GfacException(e,FaultCode.InvaliedLocalArgumnet);