public class MessageContextBuilder
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
MessageContextBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static MessageContext |
createFaultMessageContext(MessageContext processingContext,
java.lang.Throwable e)
This method is called to handle any error that occurs at inflow or outflow.
|
static MessageContext |
createOutMessageContext(MessageContext inMessageContext)
Creates a MessageContext for use with a non-fault response based on an request MessageContext
|
static java.lang.String |
switchNamespacePrefix(java.lang.String soapFaultCode,
org.apache.axiom.om.OMNamespace namespace)
Switch the namespace prefix in the soap fault code.
|
public static MessageContext createOutMessageContext(MessageContext inMessageContext) throws AxisFault
inMessageContext - for the out message context to be createdAxisFault - error in creating the out message contextpublic static MessageContext createFaultMessageContext(MessageContext processingContext, java.lang.Throwable e) throws AxisFault
AxisFaultpublic static java.lang.String switchNamespacePrefix(java.lang.String soapFaultCode,
org.apache.axiom.om.OMNamespace namespace)
soapFaultCode - namespace - Copyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.