The wsdlRewriter rewrites endpoint addresses of services and XML Schema locations in WSDL documents.
<wsdlRewriter port="integer" protocol="string" host="string" />
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" />
</serviceProxy>
Name | Required | Default | Description | Example |
---|---|---|---|---|
protocol | false | Don't change the endpoint's protocol. |
The protocol the endpoint should be changed to. | http |
port | false | Don't change the endpoint's port. |
The port the endpoint should be changed to. | 4000 |
host | false | Don't change the endpoint's host. |
The host the endpoint should be changed to. | localhost |
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:
http://predic8.com/material/ArticleService?WSDL
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>
</wsdl:port>
</wsdl:service>