Package org.apache.axiom.ts.soap
Class SOAPSampleSet
- java.lang.Object
-
- org.apache.axiom.testing.multiton.Multiton
-
- org.apache.axiom.ts.soap.SOAPSampleSet
-
public final class SOAPSampleSet extends org.apache.axiom.testing.multiton.MultitonA set of two equivalent SOAP messages, one for SOAP 1.1 and one for SOAP 1.2.
-
-
Field Summary
Fields Modifier and Type Field Description static SOAPSampleSetCOMMENT_IN_PROLOGA simple SOAP request with a comment in the XML prolog.static SOAPSampleSetCUSTOM_ROLE_FAULTA SOAP fault response with a custom role (corresponding toCUSTOM_ROLE_REQUEST).static SOAPSampleSetCUSTOM_ROLE_REQUESTA SOAP request having a header block with a custom role.static SOAPSampleSetFAULT_DETAIL_DEFAULT_NAMESPACEA SOAP fault response with a detail entry that uses a default namespace.static SOAPSampleSetHEADERSA SOAP request with header blocks with varying characteristics.static SOAPSampleSetMUST_UNDERSTANDA SOAP request with a single mustUnderstand header.static SOAPSampleSetNO_HEADERA simple SOAP message without header.static SOAPSampleSetSIMPLE_FAULTA SOAP response with a simple SOAP fault containing a fault code (without subcode), reason (English only) and detail.static SOAPSampleSetWSAA SOAP request with WS-Addressing headers.static SOAPSampleSetXSI_TYPEA SOAP request with anxsi:typeattribute in the payload and a corresponding namespace declaration on the SOAP envelope (rather than in the payload).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SOAPSamplegetMessage(SOAPSpec spec)Get the test message for the given SOAP version.
-
-
-
Field Detail
-
NO_HEADER
public static final SOAPSampleSet NO_HEADER
A simple SOAP message without header.
-
WSA
public static final SOAPSampleSet WSA
A SOAP request with WS-Addressing headers.
-
COMMENT_IN_PROLOG
public static final SOAPSampleSet COMMENT_IN_PROLOG
A simple SOAP request with a comment in the XML prolog.
-
SIMPLE_FAULT
public static final SOAPSampleSet SIMPLE_FAULT
A SOAP response with a simple SOAP fault containing a fault code (without subcode), reason (English only) and detail.
-
CUSTOM_ROLE_REQUEST
public static final SOAPSampleSet CUSTOM_ROLE_REQUEST
A SOAP request having a header block with a custom role.
-
CUSTOM_ROLE_FAULT
public static final SOAPSampleSet CUSTOM_ROLE_FAULT
A SOAP fault response with a custom role (corresponding toCUSTOM_ROLE_REQUEST).
-
MUST_UNDERSTAND
public static final SOAPSampleSet MUST_UNDERSTAND
A SOAP request with a single mustUnderstand header.
-
FAULT_DETAIL_DEFAULT_NAMESPACE
public static final SOAPSampleSet FAULT_DETAIL_DEFAULT_NAMESPACE
A SOAP fault response with a detail entry that uses a default namespace.
-
HEADERS
public static final SOAPSampleSet HEADERS
A SOAP request with header blocks with varying characteristics.
-
XSI_TYPE
public static final SOAPSampleSet XSI_TYPE
A SOAP request with anxsi:typeattribute in the payload and a corresponding namespace declaration on the SOAP envelope (rather than in the payload).
-
-
Method Detail
-
getMessage
public SOAPSample getMessage(SOAPSpec spec)
Get the test message for the given SOAP version.- Parameters:
spec- the SOAP specification version- Returns:
- the test message
-
-