JAX-RPC handlers and proxy operation
You can set the web services gateway to act purely as a proxy for your service, then use JAX-RPC handler lists to set the endpoints for incoming request messages for the service.
When you create a new proxy service configuration, the gateway takes no action with regard to that service other than to invoke it. When you configure a proxy service, you also configure a JAX-RPC handler list that uses the javax.xml.rpc.service.endpoint.address to set the target endpoint for the service. You then attach the handler list to the inbound port for the proxy service.
operationMode HTTP
query string parameter to the web address for the gateway service.
The value
of this parameter is either oneway or requestResponse.
For example, if the web address of the proxy service configuration
is as follows:http://host_name:port_number/wsgwsoaphttp1/soaphttpengine/your_bus/ProxyService/ProxyServiceInboundPort (where host_name and port_number are
the host name and port
number for this application server), then requesting clients indicate
that
they are sending a one-way request by using the following URL:
http://host_name:port_number/wsgwsoaphttp1/soaphttpengine/your_bus/ProxyService/ProxyServiceInboundPort?operationMode=oneway If
the operationMode parameter is missing, the gateway
assumes that the requested method is requestResponse.portType with
two
operations: oneway and requestResponse.
If the operation mode is oneway, then the gateway
selects
the one-way operation from the WSDL. The supplied proxy WSDL file
is located
here: http://host_name:port_number/SIBWS/proxywsdl/ProxyServiceTemplate.wsdl (for
example http://your.server.name:9080/SIBWS/proxywsdl/ProxyServiceTemplate.wsdl).For an individual proxy service, you can override the default proxy WSDL file and supply an alternative WSDL when you create a new proxy service configuration or modify an existing proxy service configuration.
If you want
the gateway to use a different default proxy WSDL file, then
you specify the web address of the new default proxy WSDL file when
you create a new gateway
instance.
Your new default proxy WSDL file must implement the same port type,
binding,
service, and port names as the supplied default proxy WSDL file. The
only
differences that can exist are in the extension elements used to configure
the binding. In your new default proxy WSDL file, the value of the <soap:target
address> tag must be a properly formatted web address
but it does
not have to point to a real page. For example, a value of this.is.a.fake.url is
rejected, whereas a value of http://this.is.a.fake.url is
accepted. The JAX-RPC handler list uses the javax.xml.rpc.service.endpoint.address to
override this value at run time with the real web address.
<soap:target address> tag in the proxy WSDL file.