Class SampleSoapServiceInterceptor
java.lang.Object
com.predic8.membrane.core.interceptor.AbstractInterceptor
com.predic8.membrane.core.interceptor.soap.SampleSoapServiceInterceptor
- All Implemented Interfaces:
Interceptor
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.predic8.membrane.core.interceptor.Interceptor
Interceptor.Flow -
Field Summary
FieldsFields inherited from class com.predic8.membrane.core.interceptor.AbstractInterceptor
name, router -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetElementAsString(InputStream is, String localName) static StringgetResponse(String city) static StringgetSOAPAddress(Exchange exc) static StringgetSoapFault(String faultString, String code, String errorMessage) handleRequest(Exchange exc) static StringsetWsdlServer(InputStream is, Exchange exc) Methods inherited from class com.predic8.membrane.core.interceptor.AbstractInterceptor
getDisplayName, getFlow, getHelpId, getLongDescription, getMessage, getRouter, getRule, handleAbort, handleResponse, init, init, setDisplayName, setFlow
-
Field Details
-
WSDL_PATH_PARAM
-
CITY_SERVICE_NS
- See Also:
-
-
Constructor Details
-
SampleSoapServiceInterceptor
public SampleSoapServiceInterceptor()
-
-
Method Details
-
getShortDescription
- Specified by:
getShortDescriptionin interfaceInterceptor- Overrides:
getShortDescriptionin classAbstractInterceptor
-
handleRequest
- Specified by:
handleRequestin interfaceInterceptor- Overrides:
handleRequestin classAbstractInterceptor- Throws:
Exception
-
getSoapFault
-
getElementAsString
- Throws:
Exception
-
setWsdlServer
- Throws:
XMLStreamException
-
getSOAPAddress
-
getResponse
public static String getResponse(String city) throws ParserConfigurationException, TransformerException
-