SOAPEnvelope
public SOAPEnvelope()
SOAPEnvelope
public SOAPEnvelope(InputStream input)
throws SAXException
SOAPEnvelope
public SOAPEnvelope(boolean registerPrefixes,
SOAPConstants soapConstants)
addBodyElement
public void addBodyElement(SOAPBodyElement element)
Add a SOAP Body Element
addTrailer
public void addTrailer(MessageElement element)
Add an element to the trailer
clearBody
public void clearBody()
clear the elements in the soap body
createName
public Name createName(String localName,
String prefix,
String uri)
throws SOAPException
Create a name given local part, prefix and uri
- createName in interface SOAPEnvelope
localName
- prefix
- uri
-
getBodyByName
public SOAPBodyElement getBodyByName(String namespace,
String localPart)
throws AxisFault
Get a body element given its name
getBodyElements
public Vector getBodyElements()
throws AxisFault
Get all the BodyElement's in the soap body
- vector with body elements
getHeaderByName
public SOAPHeaderElement getHeaderByName(String namespace,
String localPart)
throws AxisFault
Get a header by name (always respecting the currently in-scope
actors list)
getHeaderByName
public SOAPHeaderElement getHeaderByName(String namespace,
String localPart,
boolean accessAllHeaders)
throws AxisFault
Get a header by name, filtering for headers targeted at this
engine depending on the accessAllHeaders parameter.
getHeaders
public Vector getHeaders()
throws AxisFault
Get Headers
- Vector containing Header's
getHeadersByActor
public Vector getHeadersByActor(ArrayList actors)
Get all the headers targeted at a list of actors.
getHeadersByName
public Enumeration getHeadersByName(String namespace,
String localPart)
throws AxisFault
Get an enumeration of header elements given the namespace and localpart
getHeadersByName
public Enumeration getHeadersByName(String namespace,
String localPart,
boolean accessAllHeaders)
throws AxisFault
Return an Enumeration of headers which match the given namespace
and localPart. Depending on the value of the accessAllHeaders
parameter, we will attempt to filter on the current engine's list
of actors.
!!! NOTE THAT RIGHT NOW WE ALWAYS ASSUME WE'RE THE "ULTIMATE
DESTINATION" (i.e. we match on null actor). IF WE WANT TO FULLY SUPPORT
INTERMEDIARIES WE'LL NEED TO FIX THIS.
getMessageType
public String getMessageType()
Get the Message Type (REQUEST/RESPONSE)
getSOAPConstants
public SOAPConstants getSOAPConstants()
Get the soap constants for this envelope
getSchemaVersion
public SchemaVersion getSchemaVersion()
Get the schema version for this envelope
getTrailers
public Vector getTrailers()
Return trailers
removeBody
public void removeBody()
Remove the SOAP Body
removeBodyElement
public void removeBodyElement(SOAPBodyElement element)
Remove a Body Element from the soap body
removeChild
public Node removeChild(Node oldChild)
throws DOMException
- removeChild in interface NodeImpl
removeHeader
public void removeHeader(SOAPHeaderElement hdr)
Remove a Header Element from SOAP Header
removeHeaders
public void removeHeaders()
Remove all headers
removeTrailer
public void removeTrailer(MessageElement element)
Remove an element from the trailer
setBody
public void setBody(SOAPBody body)
Set the soap body
setHeader
public void setHeader(SOAPHeader hdr)
Set the SOAP Header
setMessageType
public void setMessageType(String messageType)
Set the Message Type (REQUEST/RESPONSE)
setOwnerDocument
public void setOwnerDocument(SOAPPart sp)
setSAAJEncodingCompliance
public void setSAAJEncodingCompliance(boolean comply)
setSchemaVersion
public void setSchemaVersion(SchemaVersion schemaVersion)
Set the schema version for this envelope
setSoapConstants
public void setSoapConstants(SOAPConstants soapConstants)
Set the soap constants for this envelope