// Only add the reference parameter from the WSDL if it does not already exist.
// This allows clients to override the values before invoking the service.
if (referenceInformation == null || !referenceInformation.containsKey(omElement.getQName())) {
SOAPHeaderBlock newElement = ElementHelper.toSOAPHeaderBlock(omElement, factory);
if (isFinalAddressingNamespace) {
newElement.addAttribute(Final.WSA_IS_REFERENCE_PARAMETER_ATTRIBUTE,
Final.WSA_TYPE_ATTRIBUTE_VALUE,
addressingNamespaceObject);
}
addRoleToHeader(newElement);
header.addChild(newElement);