Default bindings for Web services

Certain applications can share certain binding information. This includes trust stores, key stores, and authentication method (token validation). WebSphere Application Server - Express provides support for default binding information. This means administrators can define binding information at the server level, and applications can refer to the binding information. The default binding information is defined in ws-security.xml and can be administered by either the administrative console or by scripting.

The following binding information can be defined in the ws-security.xml file:

In WebSphere Application Server - Express, each server has a copy of the ws-security.xml file (default binding information for Web services security). To navigate to the server-level default binding in the administrative console, click Servers --> Application Servers --> server_name --> Web Services: Default bindings for Web Services Security, where server_name is the name of your application server.

Figure 1: Web services security application level bindings and server level default binding information.

Web services security application level bindings and server level default binding information

Web services security run time uses the binding information in the Web module binding file (ibm-webservices-bnd.xmi or ibm-webservicesclient-bnd.xmi if Web services is acting as client on the server) if the binding information is defined in the application level binding file. For example, if key locator K1 is defined in both the application level binding file and the default binding file (ws-security.xml), the K1 in the application level binding file is used.