1.1.6.1.1 Configuring the Addressing Endpoint for Outbound Services

For outbound services, Web service addressing is configured at the Web service binding level. In the SALTDEPLOY file, each GWWS server can specify a WS-Addressing endpoint by using the <WSAddressing> element for any referenced outbound WSBinding object to enable WS-Addressing.

Once the WS-Addressing endpoint is configured, the GWWS server creates a listen endpoint at start up. All services defined in the outbound WSBinding are invoked with WS-Addressing messages.

The following example shows a SALTDEPLOY file segment enabling WS-Addressing for a referenced outbound Web service binding.

Example 1-16 WS-Addressing Endpoint Defined for Outbound Web Service Binding

<Deployment ..>
  ...
  <WSGateway>
    <GWInstance id="GWWS1">
      ...
      <Outbound>
        <Binding ref="app1:app1_binding">
          <WSAddressing>
            <Endpoint address=”https://myhost:8801/app1_async_point” tlsversion=TLSv1.2>
          </WSAddressing>
          <Endpoint use=" simpapp_GWWS1_HTTPPort" />
          <Endpoint use=" simpapp_GWWS1_HTTPSPort" />
        </Binding>
        <Binding ref="app2:app2_binding">
          <WSAddressing>
            <Endpoint address=”https://myhost:8802/app2_async_point” tlsversion=TLSv1.2>
          </WSAddressing>
          <Endpoint use=" simpapp_GWWS1_HTTPPort" />
          <Endpoint use=" simpapp_GWWS1_HTTPSPort" />
        </Binding>
      </Outbound>
    ...
    </GWInstance>
  </WSGateway>
  ...
</ Deployment>

Note:

In a GWWS server, each outbound Web Service binding can be associated with a particular WS-Addressing endpoint address. These endpoints can be defined with the same hostname and port number, but the context path portion of the endpoint addresses must be different.

If the external Web service binding does not support WS-Addressing messages, configuring Addressing endpoints may result in run time failure.

The attribute tlsversion specifies the TLS version used in an TLS network connection. If the tlsversion attribute is not specified, GWWS endpoint uses TLS version 1.2 in release 22.1.0.0.0 and TLS version 1.3 or 1.2 in release 22.1.1.0.0. In the release 22.1.0.0.0, the tlsversion attribute supports TLS version 1.2 (TLSv1.2), TLS version 1.1 (TLSv1.1), and TLS version 1.0 (TLSv1.0). In the release 22.1.1.0.0, it supports TLS version 1.3 (TLSv1.3) and TLS version 1.2 (TLSv1.2).