|
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 |
|---|
getDocument, getEnvelope, getSoapAction, setDocument, 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 |
| Constructor Detail |
|---|
public AbstractSoapMessage()
| Method Detail |
|---|
public 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 String getFaultReason()
getSoapBody().getFault().getFaultStringOrReason().
getFaultReason in interface FaultAwareWebServiceMessagenull when no fault is present.FaultAwareWebServiceMessage.hasFault()public SoapVersion getVersion()
SoapMessage
getVersion in interface SoapMessageSoapVersion.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 | |||||||||