//Set the WorkflowContext Header to the ThreadLocal of the Gfac Service, so that this can be accessed easilly
WorkflowContextHeaderBuilder.setCurrentContextHeader(document.getContextHeader());
Map<Parameter,ActualParameter> actualParameters = new LinkedHashMap<Parameter,ActualParameter>();
ServiceDescription serviceDescription = getRegistry(context).getServiceDescriptor(serviceName);
if(serviceDescription==null){
throw new RegistryException(new Exception("Service Description not found in registry."));
}
ServiceDescriptionType serviceDescriptionType = serviceDescription.getType();
for (Parameter parameter : serviceDescriptionType.getInputParametersArray()) {
OMElement element = input.getFirstChildWithName(new QName(null,parameter.getParameterName().replaceAll(WSDLConstants.HYPHEN, WSDLConstants.HYPHEN_REPLACEMENT)));
if(element == null){