public class InNamespaceMergeInterceptor
extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
Constructor and Description |
---|
InNamespaceMergeInterceptor() |
Modifier and Type | Method and Description |
---|---|
protected static void |
addNamespacesFromElement(Element elem,
Map<String,String> map)
Adds NS defined in the given XML element to the map.
|
protected static String |
enrichNamespaces(Document source,
String target)
Copies namespace definitions from SOAP Envelope and SOAP Body elements
of the given XML Document into the top-level element of the XML document
represented by the given String.
|
void |
handleMessage(org.apache.cxf.message.Message message) |
public void handleMessage(org.apache.cxf.message.Message message) throws org.apache.cxf.interceptor.Fault
org.apache.cxf.interceptor.Fault
protected static String enrichNamespaces(Document source, String target)
Caller is supposed to take care of the parameters' correctness, so there is no sophisticated error handling.
source
- source SOAP document as a DOM object.target
- target XML Document as String.Copyright © 2018 Open eHealth Foundation. All rights reserved.