public final class SoapHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
checkSoapHeader(javax.servlet.http.HttpServletRequest request)
Checks the HTTP-Header for action or SOAPAction elements.
|
static String |
getContentFromElement(SOAPHeader soapHeader,
String namespaceURI,
String localName)
Get text content from element by namespace.
|
static String |
getSoapFaultReasonText(ExceptionCode exceptionCode)
Get the reason for a SOAP fault from Exception code
|
static SOAPMessage |
getSoapMessageForProtocol(String soapVersion)
Creates a SOAP message for SOAP 1.2 or 1.1
|
static SOAPMessage |
getSoapMessageForProtocol(String soapVersion,
InputStream inputStream) |
public static String checkSoapHeader(javax.servlet.http.HttpServletRequest request)
request - HTTP requestpublic static String getContentFromElement(SOAPHeader soapHeader, String namespaceURI, String localName)
soapHeader - SOAPHeader elementnamespaceURI - Namespace URIlocalName - local namepublic static SOAPMessage getSoapMessageForProtocol(String soapVersion) throws SOAPException
soapVersion - SOAP versionSOAPException - if an error occurs.public static SOAPMessage getSoapMessageForProtocol(String soapVersion, InputStream inputStream) throws SOAPException, IOException
SOAPExceptionIOExceptionpublic static String getSoapFaultReasonText(ExceptionCode exceptionCode)
exceptionCode - OWS exception code to get reason for.Copyright © 2015–2020 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.