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

  1. Start the administrative console.
  2. In the navigation pane, click 服務整合 -> 匯流排 -> bus_name -> [其他內容] Web 服務閘道實例 -> instance_name -> Proxy 服務. A list of proxy services is displayed in a proxy services collection form.
  3. Click the name of a proxy service in the list. The current settings for this proxy service are displayed.
  4. Modify the general properties. For information about each of these properties, see Proxy services settings.
    Note:
    • You cannot modify the service name, or the request and reply destination names.
    • The lists of available mediations contain all mediations that are currently deployed to this service integration bus. If you have created a mediation and deployed it to the bus, then it is available for selection in both these lists. If you do not want to use a mediation with this proxy service, select none from either or both selection lists.
    • Bus members are application servers or clusters that are added to this bus. The Request mediation bus member and the Response mediation bus member properties define the bus members to which the corresponding mediation is assigned. If you change the Request mediation or the Response mediation property value to (none), you should also change the corresponding bus member property value to (none). To use a mediation, assign it to a bus member. If you do not do this, the administrative console displays an error message.
    • A generic proxy WSDL file is used to configure the basic parameters for the invocation call (for example which binding to use), but you can override the default by typing the location of your replacement generic WSDL file in the Proxy WSDL override URL field.
  5. Under the additional properties section, click Inbound web service enablement to modify the configuration as a web service of the inbound aspect of the proxy service. The proxy service receives and sends web service requests and responses by being configured as an inbound service. For information about configuring an inbound service, see Modifying an existing inbound service configuration.
  6. Under the additional properties section, click Outbound Web service enablement to modify the configuration of the outbound aspect of the proxy service. For information about configuring an outbound service, see Modifying an existing outbound service configuration but remember that, for a proxy service, there is no actual outbound service and the outbound service configuration is as defined in the proxy service template WSDL.
  7. 儲存對主要配置所做的變更。

Results

If the processing completes successfully, the list of proxy services is redisplayed. Otherwise, an error message is displayed.

What to do next

請確定所有服務要求者都在 Proxy 服務的位址中,附加了 operationMode 查詢字串參數。這個參數值是 onewayrequestResponse,預設值是 requestResponse。 例如:
  • 對於 HTTP 作業,如果 Proxy 服務的網址是
    http://host_name:port_number/wsgwsoaphttp1/soaphttpengine
    /your_bus/ProxyService/ProxyServiceInboundPort
    發出要求的用戶端就會利用下列 URL 來指示它們是在傳送單向要求:
    http://host_name:port_number/wsgwsoaphttp1/soaphttpengine
    /your_bus/ProxyService/ProxyServiceInboundPort?operationMode=oneway
  • 對於 JMS 作業,如果 Proxy 服務的 JMS 位址是
    jms:/queue?destination=jndi_queue&connectionFactory=
    jndi_factory&targetService=your_bus/ProxyService/ProxyServiceInboundPort
    發出要求的用戶端就會利用下列 URL 來指示它們是在傳送單向要求:
    jms:/queue?destination=jndi_queue&connectionFactory=
    jndi_factory&targetService=
    your_bus/ProxyService/ProxyServiceInboundPort&operationMode=oneway

指出主題類型的圖示 作業主題



時間戳記圖示 前次更新: July 9, 2016 11:18
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=twsg_proxy_config
檔名:twsg_proxy_config.html