Package org.apache.axis2.description
Class AxisMessage
- java.lang.Object
-
- org.apache.axis2.description.AxisDescription
-
- org.apache.axis2.description.AxisMessage
-
- All Implemented Interfaces:
DescriptionConstants
,ParameterInclude
public class AxisMessage extends AxisDescription
This class represents the messages in WSDL. There can be message element in services.xml which are represented by this class.
-
-
Field Summary
-
Fields inherited from class org.apache.axis2.description.AxisDescription
engagedModules, parameterObservers, parent
-
Fields inherited from interface org.apache.axis2.description.DescriptionConstants
CLASSLOADER_KEY, CONTEXTPATH_KEY, EXECUTION_CHAIN_KEY, EXECUTION_FAULT_CHAIN_KEY, EXECUTION_OUT_CHAIN_KEY, IN_FAULTFLOW_KEY, INFLOW_KEY, MESSAGE_RECEIVER_KEY, MODULEREF_KEY, OPERATION_KEY, OUT_FAULTFLOW_KEY, OUTFLOW_KEY, PARAMETER_KEY, PHASES_KEY, SERVICE_CLASS_NAME, STYLE_KEY
-
-
Constructor Summary
Constructors Constructor Description AxisMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addModuleRefs(String moduleName)
void
addSoapHeader(SOAPHeaderMessage soapHeaderMessage)
org.apache.neethi.Policy
calculateEffectivePolicy()
AxisOperation
getAxisOperation()
String
getDirection()
org.apache.neethi.Policy
getEffectivePolicy()
QName
getElementQName()
List
getExtensibilityAttributes()
This will return a list of WSDLExtensibilityAttributeObject
getKey()
ArrayList<Handler>
getMessageFlow()
String
getMessagePartName()
ArrayList<String>
getModulerefs()
String
getName()
String
getPartName()
org.apache.ws.commons.schema.XmlSchemaElement
getSchemaElement()
ArrayList
getSoapHeaders()
boolean
isParameterLocked(String parameterName)
Checks whether the parameter is locked at any level.boolean
isPolicyUpdated()
boolean
isWrapped()
void
onEngage(AxisModule axisModule, AxisDescription engager)
We do not support adding module operations when engaging a module to an AxisMessagevoid
setDirection(String direction)
void
setElementQName(QName element)
void
setMessageFlow(ArrayList<Handler> operationFlow)
void
setMessagePartName(String messagePartName)
void
setName(String name)
void
setPartName(String partName)
void
setWrapped(boolean wrapped)
-
Methods inherited from class org.apache.axis2.description.AxisDescription
addChild, addChild, addParameter, addParameter, addParameterObserver, applyPolicy, applyPolicy, deserializeParameters, disengageModule, engageModule, engageModule, getAxisConfiguration, getChild, getChildren, getDocumentation, getDocumentationNode, getEngagedModules, getParameter, getParameters, getParameterValue, getParent, getPolicyInclude, getPolicySubject, isEngaged, isEngaged, isParameterTrue, onDisengage, removeChild, removeParameter, removeParameterObserver, setDocumentation, setDocumentation, setParent, setPolicyInclude
-
-
-
-
Method Detail
-
getMessagePartName
public String getMessagePartName()
-
setMessagePartName
public void setMessagePartName(String messagePartName)
-
isParameterLocked
public boolean isParameterLocked(String parameterName)
Description copied from interface:ParameterInclude
Checks whether the parameter is locked at any level.- Specified by:
isParameterLocked
in interfaceParameterInclude
- Overrides:
isParameterLocked
in classAxisDescription
-
getDirection
public String getDirection()
-
setDirection
public void setDirection(String direction)
-
getElementQName
public QName getElementQName()
-
setElementQName
public void setElementQName(QName element)
-
getKey
public Object getKey()
- Specified by:
getKey
in classAxisDescription
-
getSchemaElement
public org.apache.ws.commons.schema.XmlSchemaElement getSchemaElement()
-
getName
public String getName()
-
setName
public void setName(String name)
-
getExtensibilityAttributes
public List getExtensibilityAttributes()
This will return a list of WSDLExtensibilityAttribute- Returns:
-
addSoapHeader
public void addSoapHeader(SOAPHeaderMessage soapHeaderMessage)
-
getSoapHeaders
public ArrayList getSoapHeaders()
-
onEngage
public void onEngage(AxisModule axisModule, AxisDescription engager) throws AxisFault
We do not support adding module operations when engaging a module to an AxisMessage- Overrides:
onEngage
in classAxisDescription
- Parameters:
axisModule
- AxisModule to engageengager
-- Throws:
AxisFault
- something went wrong
-
addModuleRefs
public void addModuleRefs(String moduleName)
-
getAxisOperation
public AxisOperation getAxisOperation()
-
getPartName
public String getPartName()
-
setPartName
public void setPartName(String partName)
-
isWrapped
public boolean isWrapped()
-
setWrapped
public void setWrapped(boolean wrapped)
-
getEffectivePolicy
public org.apache.neethi.Policy getEffectivePolicy()
-
calculateEffectivePolicy
public org.apache.neethi.Policy calculateEffectivePolicy()
-
isPolicyUpdated
public boolean isPolicyUpdated()
-
-