anno.addChild(value);
return builder.serializeToString(anno);
}
public static QName findApplcationName(ServiceMapType serviceMap) throws GfacException{
MethodType method = GfacUtils.findOperationWithApplication(serviceMap);
if (method == null) {
throw new GfacException("None of the methods has application defined",FaultCode.InvaliedLocalArgumnet);
}
String applicationName = method.getApplication().getApplicationName().getStringValue();
String applicationNameNs = method.getApplication().getApplicationName()
.getTargetNamespace();
return new QName(applicationNameNs, applicationName);
}