|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.ws.mime.AbstractMimeMessage
org.springframework.ws.soap.AbstractSoapMessage
public abstract class AbstractSoapMessage
Abstract implementation of the SoapMessage
interface. Contains convenient default implementations.
Constructor Summary | |
---|---|
AbstractSoapMessage()
|
Method Summary | |
---|---|
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() . |
Methods inherited from class org.springframework.ws.mime.AbstractMimeMessage |
---|
addAttachment, addAttachment |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.ws.soap.SoapMessage |
---|
getEnvelope, getSoapAction, setSoapAction |
Methods inherited from interface org.springframework.ws.mime.MimeMessage |
---|
addAttachment, addAttachment, addAttachment, convertToXopPackage, getAttachment, getAttachments, isXopPackage |
Methods inherited from interface org.springframework.ws.WebServiceMessage |
---|
writeTo |
Methods inherited from interface org.springframework.ws.WebServiceMessage |
---|
writeTo |
Constructor Detail |
---|
public AbstractSoapMessage()
Method Detail |
---|
public final SoapBody getSoapBody()
getEnvelope().getBody()
.
getSoapBody
in interface SoapMessage
SoapEnvelope.getBody()
public final SoapHeader getSoapHeader()
getEnvelope().getHeader()
.
getSoapHeader
in interface SoapMessage
SoapEnvelope.getHeader()
public final Source getPayloadSource()
getSoapBody().getPayloadSource()
.
getPayloadSource
in interface WebServiceMessage
public final Result getPayloadResult()
getSoapBody().getPayloadResult()
.
getPayloadResult
in interface WebServiceMessage
public final boolean hasFault()
getSoapBody().hasFault()
.
hasFault
in interface FaultAwareWebServiceMessage
true
if the message has a fault.FaultAwareWebServiceMessage.getFaultReason()
public final String getFaultReason()
getSoapBody().getFault().getFaultStringOrReason()
.
getFaultReason
in interface FaultAwareWebServiceMessage
null
when no fault is present.FaultAwareWebServiceMessage.hasFault()
public SoapVersion getVersion()
SoapMessage
getVersion
in interface SoapMessage
SoapVersion.SOAP_11
,
SoapVersion.SOAP_12
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |