Package org.somda.sdc.dpws.soap
Class SoapFaultHttpStatusCodeMapping
java.lang.Object
org.somda.sdc.dpws.soap.SoapFaultHttpStatusCodeMapping
Mapping class to convert from SOAP faults to HTTP status codes.
The conversion is based on the mapping table SOAP Version 1.2 Part 2: Adjuncts specification.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SoapFaultHttpStatusCodeMapping
public SoapFaultHttpStatusCodeMapping()
-
-
Method Details
-
get
Converts Fault to an HTTP status code.Sender fault causes the mapper to return 400 (bad request), all other fault QNames return 500 (internal server error).
- Parameters:
fault- the fault to convert.- Returns:
- an HTTP status code number.
-