Class SOAP2RESTInterceptor
java.lang.Object
com.predic8.membrane.core.interceptor.AbstractInterceptor
com.predic8.membrane.core.interceptor.rest.SOAP2RESTInterceptor
- All Implemented Interfaces:
Interceptor
- Description
- Converts SOAP messages into REST requests.
- Topic
- 8. SOAP based Web Services
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.predic8.membrane.core.interceptor.Interceptor
Interceptor.Flow -
Field Summary
Fields inherited from class com.predic8.membrane.core.interceptor.AbstractInterceptor
name, router -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StreamSourceprotected StreamSourceprotected XSLTTransformergetTransformer(String ss) handleRequest(Exchange exc) handleResponse(Exchange exc) voidsetRequestXSLT(String requestXSLT) voidsetResponseXSLT(String responseXSLT) protected voidMethods inherited from class com.predic8.membrane.core.interceptor.AbstractInterceptor
getDisplayName, getFlow, getHelpId, getLongDescription, getMessage, getRouter, getRule, handleAbort, init, init, setDisplayName, setFlow
-
Constructor Details
-
SOAP2RESTInterceptor
public SOAP2RESTInterceptor()
-
-
Method Details
-
handleRequest
- Specified by:
handleRequestin interfaceInterceptor- Overrides:
handleRequestin classAbstractInterceptor- Throws:
Exception
-
handleResponse
- Specified by:
handleResponsein interfaceInterceptor- Overrides:
handleResponsein classAbstractInterceptor- Throws:
Exception
-
getShortDescription
- Specified by:
getShortDescriptionin interfaceInterceptor- Overrides:
getShortDescriptionin classAbstractInterceptor
-
getRequestXSLT
-
setRequestXSLT
-
getResponseXSLT
-
setResponseXSLT
-
getTransformer
- Throws:
Exception
-
getRequestXMLSource
- Throws:
Exception
-
getExchangeXMLSource
- Throws:
Exception
-
transformAndReplaceBody
protected void transformAndReplaceBody(Message msg, String ss, Source src, Map<String, String> properties) throws Exception- Throws:
Exception
-