public abstract class AbstractSoapEncoder<T,S> extends AbstractXmlEncoder<T,S>
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_FAULT_REASON |
static String |
MISSING_EXCEPTION_DETAIL_TEXT |
static String |
MISSING_RESPONSE_DETAIL_TEXT |
| Constructor and Description |
|---|
AbstractSoapEncoder(String namespace) |
| Modifier and Type | Method and Description |
|---|---|
T |
encode(S response) |
protected org.apache.xmlbeans.XmlObject |
getBodyContent(AbstractSoap<?> soap)
Get the content for the SOAPBody as
XmlObject |
MediaType |
getContentType() |
protected String |
getExceptionActionURI(ExceptionCode exceptionCode)
Get SOAP action URI depending on Exception code
|
Set<EncoderKey> |
getKeys() |
protected String |
getSoapFaultReasonText(ExceptionCode exceptionCode)
Get the reason for a SOAP fault from Exception code
|
encodeObjectToXml, encodeObjectToXml, encodeObjectToXmlDocument, encodeObjectToXmlDocument, encodeObjectToXmlPropertyType, encodeObjectToXmlPropertyType, encodeObjectToXmlText, encodeObjectToXmlText, getAndCheck, getDocumentEncoder, getDocumentEncoder, getDocumentEncoderKey, getDocumentEncoderKey, getEncoder, getEncoder, getEncoderKey, getEncoderKey, getPropertyTypeEncoder, getPropertyTypeEncoder, getPropertyTypeEncoderKey, getPropertyTypeEncoderKey, getXmlOptions, setXmlOptions, substitutegetEncoder, getEncoderRepository, setEncoderRepositoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddNamespacePrefixToMap, getSchemaLocationsencode, getSupportedTypespublic static final String DEFAULT_FAULT_REASON
public static final String MISSING_RESPONSE_DETAIL_TEXT
public static final String MISSING_EXCEPTION_DETAIL_TEXT
public AbstractSoapEncoder(String namespace)
public Set<EncoderKey> getKeys()
public MediaType getContentType()
getContentType in interface Encoder<T,S>getContentType in class AbstractXmlEncoder<T,S>public T encode(S response) throws EncodingException
encode in interface Encoder<T,S>encode in class AbstractXmlEncoder<T,S>EncodingExceptionprotected org.apache.xmlbeans.XmlObject getBodyContent(AbstractSoap<?> soap) throws EncodingException
XmlObjectsoap - SOAP responseXmlObjectEncodingException - If no encoder is available, the object to encode is not
supported or an error occurs during the encodingprotected String getExceptionActionURI(ExceptionCode exceptionCode)
exceptionCode - Exception codeprotected String getSoapFaultReasonText(ExceptionCode exceptionCode)
exceptionCode - OWS exception code to get reason for.Copyright © 2015–2020 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.