JAX-RPC handlers and proxy operation
您可以將 Web 服務閘道設成純粹是服務的 Proxy,然後利用 JAX-RPC 處理程式清單來設定服務的送入要求訊息端點。
當您建立新的 Proxy 服務配置時,除了呼叫這個服務之外,閘道不會採取任何動作。 當您配置 Proxy 服務時,您也會配置一份利用 javax.xml.rpc.service.endpoint.address 來設定服務目標端點的 JAX-RPC 處理程式清單。 然後您再將處理程式清單附加到 Proxy 服務的入埠連接埠。
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. 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.