Go to new doc!

+49 228 5552576-0




The wsdlRewriter rewrites endpoint addresses of services and XML Schema locations in WSDL documents.

Can be used in

spring:beans, api, bean, if, interceptor, internalProxy, proxy, registration, request, response, serviceProxy, soapProxy, stompProxy, swaggerProxy, transport and wsStompReassembler


					port="integer" protocol="string" host="string" />
Listing 1: wsdlRewriter Syntax


The following example shows a service proxy that rewrites URLs with values from the request.

				<serviceProxy name="BLZ Service">
					<wsdlRewriter />
					<target host="www.thomas-bayer.com" />
Listing 2: wsdlRewriter Example


Name Required Default Description Example
host false Don't change the endpoint's host. The host the endpoint should be changed to. localhost
port false Don't change the endpoint's port. The port the endpoint should be changed to. 4000
protocol false Don't change the endpoint's protocol. The protocol the endpoint should be changed to. http
registryWSDLRegisterURL false -

By default URLs in WSDL documents are replaced by the protocol, host and port from the request. If the URL to retrieve the WSDL was:


then the endpoint addresses in the WSDL document are rewritten as follows:

<wsdl:service name="ArticleService">
  <wsdl:port name="ArticleServicePTPort" binding="tns:ArticleServicePTBinding">
    <soap:address location="http://predic8.com/material/ArticleService"></soap:address>

See Also

URL Rewriting in WSDL and XML Schema