Package com.predic8.membrane.core.rules
Class SOAPProxy
java.lang.Object
com.predic8.membrane.core.rules.AbstractProxy
com.predic8.membrane.core.rules.SSLableProxy
com.predic8.membrane.core.rules.AbstractServiceProxy
com.predic8.membrane.core.rules.SOAPProxy
- Description
A SOAP proxy can be deployed on front of a SOAP Web Service. It conceals the server and offers the same interface as the target server to its clients.
- Explanation
- If the WSDL referenced by the wsdl attribute is not available at startup, the <soapProxy>
will become inactive. Through the admin console, reinitialization attempts can be triggered and, by
default, the
Routeralso periodically triggers such attempts. - Topic
- 2. Proxies
-
Nested Class Summary
Nested classes/interfaces inherited from class com.predic8.membrane.core.rules.AbstractServiceProxy
AbstractServiceProxy.Target -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected HttpClientConfigurationprotected Stringprotected ResolverMapprotected Stringprotected Stringprotected StringFields inherited from class com.predic8.membrane.core.rules.AbstractServiceProxy
targetFields inherited from class com.predic8.membrane.core.rules.AbstractProxy
blockRequest, blockResponse, interceptors, key, localHost, name, router -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected AbstractProxygetWsdl()voidinit()static com.predic8.wsdl.PortselectPort(List<com.predic8.wsdl.Port> ports, String portName) voidsetPortName(String portName) voidsetServiceName(String serviceName) voidvoidsetWsdlHttpClientConfig(HttpClientConfiguration httpClientConfig) Methods inherited from class com.predic8.membrane.core.rules.AbstractServiceProxy
getHost, getPath, getTargetHost, getTargetPort, getTargetScheme, getTargetSSL, getTargetURL, isTargetAdjustHostHeader, setHost, setPathMethods inherited from class com.predic8.membrane.core.rules.SSLableProxy
getIp, getName, getPort, getSslOutboundContext, setIp, setPort, setSslOutboundContextMethods inherited from class com.predic8.membrane.core.rules.AbstractProxy
clone, getErrorState, getInterceptors, getKey, getSslInboundContext, getSslInboundParser, getStatisticCollector, init, isActive, isBlockRequest, isBlockResponse, setBlockRequest, setBlockResponse, setInterceptors, setKey, setName, setSslInboundContext, setSslInboundParser, toString
-
Field Details
-
wsdl
-
portName
-
targetPath
-
httpClientConfig
-
serviceName
-
resolverMap
-
-
Constructor Details
-
SOAPProxy
public SOAPProxy()
-
-
Method Details
-
getNewInstance
- Specified by:
getNewInstancein classAbstractProxy
-
init
- Overrides:
initin classAbstractServiceProxy- Throws:
Exception
-
configure
- Throws:
Exception
-
selectPort
-
getWsdl
-
setWsdl
- Description
- The WSDL of the SOAP service.
- Example
- http://predic8.de/my.wsdl or file:my.wsdl
-
getPortName
-
setPortName
-
getWsdlHttpClientConfig
-
setWsdlHttpClientConfig
-
getServiceName
-
setServiceName
-