Listener-Rule - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

Guidelines
All of the arguments for the backend-rule command must be specified in the
documented order.
A Remote Endpoint specifies the location to which requests are sent by a Web
Service Proxy after processing the request. This is the back end, or application
endpoint, of the transaction. It is possible to direct traffic to an endpoint other than
that specified in the underlying WSDL by rewriting the endpoint.
PCRE documentation is available at the following web site:
Related Commands
listener-rule, publisher-rule
Examples
v Creates an Endpoint Rewrite policy named someBanking, moves to WS-Proxy

listener-rule

Adds, edits, or deletes a local endpoint rewrite rule.
Syntax
listener-rule pattern protocol host port uri front-protocol use-front-protocol
Parameters
pattern Specifies a PCRE to specify web services port to rewrite endpoint for.
protocol
856
Command Reference
soap-11
Uses the SOAP 1.1 binding for WSDL 1.1 (http://
schemas.xmlsoap.org/wsdl/soap11/).
soap-12
Uses the SOAP 1.2 binding for WSDL 1.1 (http://
schemas.xmlsoap.org/wsdl/soap12/).
http://www.pcre.org
Endpoint Rewrite configuration mode, and defines a remote endpoint rewrite
rule with the following properties:
– A PCRE of {http://somebank.com}SomeBankPort to match the web service
port
– A protocol of http
– An IP address for the remote endpoint of 10.10.13.35
– A port of 2068
– A local path of /SomeBankService/services/SomeBankPort
# wsm-endpointrewrite someBanking
WS-Proxy Endpoint Rewrite configuration mode
# backend-rule
"{http://somebank.com}SomeBankPort" "http" "10.10.13.35" "2068"
"/SomeBankService/services/SomeBankPort"
#
Specifies the part of the URL from web service binding that specifies the
protocol. The default is default.

Advertisement

Table of Contents
loading

Table of Contents