Package org.apache.axiom.ts.soap
Class SOAPSample
- java.lang.Object
-
- org.apache.axiom.testing.multiton.Multiton
-
- org.apache.axiom.ts.xml.MessageSample
-
- org.apache.axiom.ts.xml.XMLSample
-
- org.apache.axiom.ts.soap.SOAPSample
-
- Direct Known Subclasses:
SimpleSOAPSample
public class SOAPSample extends org.apache.axiom.ts.xml.XMLSampleA SOAP test message.
-
-
Field Summary
Fields Modifier and Type Field Description static SOAPSampleSOAP12_FAULTA SOAP fault response that uses some SOAP 1.2 specific features.static SOAPSampleSOAP12_RELAYA SOAP 1.2 message that uses the relay attribute.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementgetEnvelope()protected StringgetMediaType()ElementgetPayload()InputSourcegetPayloadInputSource()SOAPSpecgetSOAPSpec()Get the SOAP version of this message.
-
-
-
Field Detail
-
SOAP12_FAULT
public static final SOAPSample SOAP12_FAULT
A SOAP fault response that uses some SOAP 1.2 specific features.
-
SOAP12_RELAY
public static final SOAPSample SOAP12_RELAY
A SOAP 1.2 message that uses the relay attribute.
-
-
Method Detail
-
getSOAPSpec
public final SOAPSpec getSOAPSpec()
Get the SOAP version of this message.- Returns:
- the SOAP specification version
-
getEnvelope
public final Element getEnvelope()
-
getPayload
public final Element getPayload()
-
getPayloadInputSource
public final InputSource getPayloadInputSource()
-
getMediaType
protected String getMediaType()
- Overrides:
getMediaTypein classorg.apache.axiom.ts.xml.XMLSample
-
-