Go to new doc!

+49 228 5552576-0


info@predic8.com

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.

Can be used in

spring:beans, router

Syntax

				<soapProxy name="string" 
							  port="integer"
							  wsdl="string"
							  host="[string,*]"
							  ip="[ip]">
					<path />?
					<ssl />?
					<request>
						[interceptors]*
					</request>
					[interceptors]*
					<response>	
						[interceptors]*
					</response>
					<localhost />?
				</serviceProxy>
			
Listing 1: serviceProxy Syntax

Sample

				<soapProxy wsdl="http://www.thomas-bayer.com/axis2/services/BLZService?wsdl">
					<soapStackTraceFilter />
					<validator />
				</soapProxy>			
			
Listing 2: soapProxy Example

There is also a step-by-step introduction on how to use the <soapProxy> element.

Attributes

Name Required Default Description Example
blockRequest false false legacy attribute for usage by Membrane Monitor
blockResponse false false legacy attribute for usage by Membrane Monitor
host false not set

A space separated list of hostnames. If set, Membrane will only consider this rule, if the "Host" header of incoming HTTP requests matches one of the hostnames.

The asterisk '*' can be used for basic globbing (to match any number, including zero, characters).

predic8.de *.predic8.de
ip false not set If present, binds the port only on the specified IP. Useful for hosts with multiple IP addresses. 127.0.0.1
name false By default, a name will be automatically generated from the target host, port, etc. The name as shown in the Admin Console.
port false 80 The port Membrane listens on for incoming connections. 8080
portName false -
wsdl true - The WSDL of the SOAP service. http://predic8.de/my.wsdl or file:my.wsdl
wsdlHttpClientConfig false -

Explanation

wsdl

Child Elements

Position Cardinality Description Element
1 0..1 If set, Membrane will only consider this rule, if the path of incoming HTTP requests matches. {@link Path} supports starts-with and regex matching. If used in a {@link SOAPProxy}, this causes path rewriting of SOAP requests and in the WSDL to automatically be configured. path
2 0..1 Configures the usage of inbound SSL (HTTPS). ssl
3 0..* accessControl, accountRegistration, adminConsole, analyser, apiKeyChecker, apiManagement, authHead2Body, balancer, basicAuthentication, cache, clamav, clusterNotification, counter, dispatching, exchangeStore, formValidation, gatekeeper, groovy, groovyTemplate, headerFilter, http2xml, httpClient, if, index, interceptor, javascript, json2Xml, jsonPointerExtractor, jwtAuth, kubernetesValidation, limit, log, login, methodOverride, ntlm, oauth2Resource, oauth2Resource2, oauth2authserver, prometheus, rateLimiter, regExReplacer, request, response, rest2Soap, reverseProxying, rewriter, routerIpResolver, ruleMatching, shutdown, soap2Rest, soapOperationExtractor, soapStackTraceFilter, spdy, statisticsCSV, statisticsJDBC, statisticsProvider, stompClient, swaggerApiKeyRequirer, swaggerRewriter, switch, tcp, template, testService, throttle, tokenValidator, transform, urlNormalizer, userFeature, validator, wadlRewriter, webServer, webServiceExplorer, webSocket, wsdlPublisher, wsdlRewriter, xenAuthentication, xml2Json, xmlContentFilter, xmlProtection, xpathExtractor or custom elements