public abstract class AbstractSoapMessage extends AbstractMimeMessage implements SoapMessage
SoapMessage interface. Contains convenient default implementations.| Constructor and Description |
|---|
AbstractSoapMessage() |
| Modifier and Type | Method and Description |
|---|---|
QName |
getFaultCode()
Returns
getSoapBody().getFault().getFaultCode(). |
String |
getFaultReason()
Returns
getSoapBody().getFault().getFaultStringOrReason(). |
Result |
getPayloadResult()
Returns
getSoapBody().getPayloadResult(). |
Source |
getPayloadSource()
Returns
getSoapBody().getPayloadSource(). |
SoapBody |
getSoapBody()
Returns
getEnvelope().getBody(). |
SoapHeader |
getSoapHeader()
Returns
getEnvelope().getHeader(). |
SoapVersion |
getVersion()
Returns the SOAP version of this message.
|
boolean |
hasFault()
Returns
getSoapBody().hasFault(). |
addAttachment, addAttachmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDocument, getEnvelope, getSoapAction, setDocument, setSoapActionaddAttachment, addAttachment, addAttachment, convertToXopPackage, getAttachment, getAttachments, isXopPackagewriteTopublic final SoapBody getSoapBody()
getEnvelope().getBody().getSoapBody in interface SoapMessageSoapEnvelope.getBody()public final SoapHeader getSoapHeader()
getEnvelope().getHeader().getSoapHeader in interface SoapMessageSoapEnvelope.getHeader()public final Source getPayloadSource()
getSoapBody().getPayloadSource().getPayloadSource in interface WebServiceMessagepublic final Result getPayloadResult()
getSoapBody().getPayloadResult().getPayloadResult in interface WebServiceMessagepublic final boolean hasFault()
getSoapBody().hasFault().hasFault in interface FaultAwareWebServiceMessagetrue if the message has a fault.FaultAwareWebServiceMessage.getFaultReason()public final QName getFaultCode()
getSoapBody().getFault().getFaultCode().getFaultCode in interface FaultAwareWebServiceMessagepublic final String getFaultReason()
getSoapBody().getFault().getFaultStringOrReason().getFaultReason in interface FaultAwareWebServiceMessagenull when no fault is present.FaultAwareWebServiceMessage.hasFault()public SoapVersion getVersion()
SoapMessagegetVersion in interface SoapMessageSoapVersion.SOAP_11,
SoapVersion.SOAP_12Copyright © 2020 Pivotal Software. All rights reserved.