Modifying an existing proxy service configuration
Modify the configuration details for a proxy service.
About this task
A proxy service has no actual target services and therefore no WSDL that the gateway can use to configure the service invocation. A generic template WSDL file is used to configure the basic parameters for the invocation call, but you can override the default for a given proxy service by supplying your own equivalent template.
For an overview of proxy operation, see JAX-RPC handlers and proxy operation. To modify an existing proxy service configuration, complete the following steps:
Procedure
Results
What to do next
請確定所有服務要求者都在 Proxy 服務的位址中,附加了 operationMode 查詢字串參數。這個參數值是 oneway 或 requestResponse,預設值是 requestResponse。
例如:
- 對於 HTTP 作業,如果 Proxy 服務的網址是
發出要求的用戶端就會利用下列 URL 來指示它們是在傳送單向要求:http://host_name:port_number/wsgwsoaphttp1/soaphttpengine /your_bus/ProxyService/ProxyServiceInboundPort
http://host_name:port_number/wsgwsoaphttp1/soaphttpengine /your_bus/ProxyService/ProxyServiceInboundPort?operationMode=oneway
- 對於 JMS 作業,如果 Proxy 服務的 JMS 位址是
發出要求的用戶端就會利用下列 URL 來指示它們是在傳送單向要求:jms:/queue?destination=jndi_queue&connectionFactory= jndi_factory&targetService=your_bus/ProxyService/ProxyServiceInboundPort
jms:/queue?destination=jndi_queue&connectionFactory= jndi_factory&targetService= your_bus/ProxyService/ProxyServiceInboundPort&operationMode=oneway