Method Summary |
|
public AttachmentPart | addAttachmentPart(SOAPMessage message, DataHandler dataHandler) |
public void | addAttribute(SOAPElement element, QName name, String value) |
public DetailEntry | addDetailEntry(Detail detail, QName name) |
public SOAPFault | addFault(SOAPBody body, QName faultCode, String faultString, Locale locale) |
public Detail | addFaultDetail(SOAPFault fault) Adds a fault detail for the given fault. |
public SOAPHeaderElement | addHeaderElement(SOAPHeader header, QName name) |
public SOAPHeaderElement | addNotUnderstoodHeaderElement(SOAPHeader header, QName name) |
public void | addTextNode(DetailEntry detailEntry, String text) |
public SOAPHeaderElement | addUpgradeHeaderElement(SOAPHeader header, String[] supportedSoapUris) |
public void | appendFaultSubcode(SOAPFault fault, QName subcode) |
public Iterator | examineAllHeaderElements(SOAPHeader header) Returns all header elements. |
public Iterator | examineMustUnderstandHeaderElements(SOAPHeader header, String actorOrRole) Returns all header elements for which the must understand attribute is true, given the actor or role. |
public String | getActorOrRole(SOAPHeaderElement headerElement) Returns the SOAP 1.1 actor or SOAP 1.2 role attribute for the given header element. |
public Iterator | getAllAttibutes(SOAPElement element) |
public Iterator | getAttachment(SOAPMessage message, MimeHeaders mimeHeaders) |
public Iterator | getAttachments(SOAPMessage message) |
public String | getAttributeValue(SOAPElement element, QName name) |
public SOAPBody | getBody(SOAPEnvelope envelope) Returns the body of the given envelope. |
public Iterator | getDetailEntries(Detail detail) Returns an iteration over all detail entries. |
public SOAPEnvelope | getEnvelope(SOAPMessage message) Returns the envelope of the given message. |
public SOAPFault | getFault(SOAPBody body) Returns the fault for the given body, if any. |
public String | getFaultActor(SOAPFault fault) Returns the actor for the given fault. |
public QName | getFaultCode(SOAPFault fault) |
public Detail | getFaultDetail(SOAPFault fault) Returns the fault detail for the given fault. |
public String | getFaultNode(SOAPFault fault) |
public String | getFaultReasonText(SOAPFault fault, Locale locale) |
public String | getFaultRole(SOAPFault fault) |
public String | getFaultString(SOAPFault fault) Returns the fault string for the given fault. |
public Locale | getFaultStringLocale(SOAPFault fault) Returns the fault string language for the given fault. |
public Iterator | getFaultSubcodes(SOAPFault fault) |
public SOAPElement | getFirstBodyElement(SOAPBody body) |
public SOAPHeader | getHeader(SOAPEnvelope envelope) Returns the header of the given envelope. |
public static Saaj11Implementation | getInstance() |
public MimeHeaders | getMimeHeaders(SOAPMessage message) |
public boolean | getMustUnderstand(SOAPHeaderElement headerElement) Gets the must understand attribute for the given header element. |
public QName | getName(SOAPElement element) |
public Result | getResult(SOAPElement element) |
public Source | getSource(SOAPElement element) |
public String | getText(SOAPElement element) |
public boolean | hasFault(SOAPBody body) Returns true if the body has a fault, false otherwise. |
public boolean | isSoap11(SOAPElement element) |
public void | removeAttribute(SOAPElement element, QName name) |
public void | removeContents(SOAPElement element) |
public void | setActorOrRole(SOAPHeaderElement headerElement, String actorOrRole) Sets the SOAP 1.1 actor or SOAP 1.2 role attribute for the given header element. |
public void | setFaultActor(SOAPFault fault, String actorOrRole) Sets the actor for the given fault. |
public void | setFaultNode(SOAPFault fault, String uri) |
public void | setFaultReasonText(SOAPFault fault, Locale locale, String text) |
public void | setFaultRole(SOAPFault fault, String role) |
public void | setMustUnderstand(SOAPHeaderElement headerElement, boolean mustUnderstand) Sets the must understand attribute for the given header element. |
public void | setText(SOAPElement element, String content) |
public void | writeTo(SOAPMessage message, OutputStream outputStream) |