org.apache.axis.message
public class SOAPEnvelope extends MessageElement implements SOAPEnvelope
Field Summary | |
---|---|
protected static Log | log |
String | messageType |
Vector | trailers |
Constructor Summary | |
---|---|
SOAPEnvelope() | |
SOAPEnvelope(SOAPConstants soapConstants) | |
SOAPEnvelope(SOAPConstants soapConstants, SchemaVersion schemaVersion) | |
SOAPEnvelope(boolean registerPrefixes, SOAPConstants soapConstants) | |
SOAPEnvelope(boolean registerPrefixes, SOAPConstants soapConstants, SchemaVersion schemaVersion) | |
SOAPEnvelope(InputStream input) |
Method Summary | |
---|---|
SOAPBody | addBody()
Add a soap body if one does not exist |
void | addBodyElement(SOAPBodyElement element)
Add a SOAP Body Element |
void | addHeader(SOAPHeaderElement hdr)
Add a HeaderElement |
SOAPHeader | addHeader()
Add a soap header if one does not exist |
void | addTrailer(MessageElement element)
Add an element to the trailer |
protected void | childDeepCloned(NodeImpl oldNode, NodeImpl newNode) |
void | clearBody()
clear the elements in the soap body |
Node | cloneNode(boolean deep) |
Name | createName(String localName)
create a Name given the local part |
Name | createName(String localName, String prefix, String uri)
Create a name given local part, prefix and uri |
SOAPBody | getBody()
Get the soap body |
SOAPBodyElement | getBodyByName(String namespace, String localPart)
Get a body element given its name |
Vector | getBodyElements()
Get all the BodyElement's in the soap body |
SOAPBodyElement | getFirstBody()
Get the first BodyElement in the SOAP Body |
SOAPHeader | getHeader()
Get the soap header |
SOAPHeaderElement | getHeaderByName(String namespace, String localPart)
Get a header by name (always respecting the currently in-scope
actors list) |
SOAPHeaderElement | getHeaderByName(String namespace, String localPart, boolean accessAllHeaders)
Get a header by name, filtering for headers targeted at this
engine depending on the accessAllHeaders parameter. |
Vector | getHeaders()
Get Headers |
Vector | getHeadersByActor(ArrayList actors)
Get all the headers targeted at a list of actors. |
Enumeration | getHeadersByName(String namespace, String localPart)
Get an enumeration of header elements given the namespace and localpart |
Enumeration | getHeadersByName(String namespace, String localPart, boolean accessAllHeaders)
Return an Enumeration of headers which match the given namespace
and localPart. |
String | getMessageType()
Get the Message Type (REQUEST/RESPONSE) |
SchemaVersion | getSchemaVersion()
Get the schema version for this envelope |
SOAPConstants | getSOAPConstants()
Get the soap constants for this envelope |
Vector | getTrailers()
Return trailers |
void | outputImpl(SerializationContext context) Should make SOAPSerializationException? |
void | removeBody()
Remove the SOAP Body |
void | removeBodyElement(SOAPBodyElement element)
Remove a Body Element from the soap body |
Node | removeChild(Node oldChild) |
void | removeHeader(SOAPHeaderElement hdr)
Remove a Header Element from SOAP Header |
void | removeHeaders()
Remove all headers |
void | removeTrailer(MessageElement element)
Remove an element from the trailer |
void | setBody(SOAPBody body)
Set the soap body |
void | setHeader(SOAPHeader hdr)
Set the SOAP Header |
void | setMessageType(String messageType)
Set the Message Type (REQUEST/RESPONSE) |
void | setOwnerDocument(SOAPPart sp) |
void | setSAAJEncodingCompliance(boolean comply) |
void | setSchemaVersion(SchemaVersion schemaVersion)
Set the schema version for this envelope |
void | setSoapConstants(SOAPConstants soapConstants)
Set the soap constants for this envelope |
Returns:
Throws: SOAPException
Parameters: element
Parameters: hdr
Returns:
Throws: SOAPException
Parameters: element
Parameters: localName
Returns:
Throws: SOAPException
Parameters: localName prefix uri
Returns:
Throws: SOAPException
Returns:
Throws: SOAPException
Parameters: namespace localPart
Returns:
Throws: AxisFault
Returns: vector with body elements
Throws: AxisFault
Returns: first Body Element
Throws: AxisFault
Returns:
Throws: SOAPException
Returns: Vector containing Header's
Throws: AxisFault
Parameters: namespace localPart
Returns:
Throws: AxisFault
Returns: message type
Returns:
Returns:
Returns: vector of some type
Parameters: element
Parameters: hdr
Parameters: element
Parameters: body
Parameters: hdr
Parameters: messageType
Parameters: schemaVersion
Parameters: soapConstants