Creating a caller part for the request message

The fourth step in implementing basic authentication is to create a caller part for the request message to be received by the export.

Before you create a caller part, you should ensure that you have created a required security token as described in the topic "Creating a required security token for the request message."
To create a caller part for the request message:
  1. If the module deployment editor is closed, open it by completing the following steps:
    1. In the Business Integration view, select the module that contains your Web services export, as shown in the following figure:
      Picture of a server module selected in the Business Integration view
    2. Right-click the selected module and select Open Deployment Editor. The module deployment editor opens.
  2. Click the Export WS-Security tab.
  3. Click the Extensions tab. The Web Services Security Extensions page opens, as shown in the following figure:
    Picture of the Web Services Security Extensions page in the module deployment editor
  4. In the Web Service Description Extension section, select the Web service description extension corresponding to your Web Service export's service name. For example, in the above figure, the Web service description extension ServerInterfaceExport1_ServerInterfaceHttpService is selected.
  5. In the Port Component Binding section, select the port component binding that you want to use for the Web service description extension that you selected. The port component binding comes from the port name of your Web service export. For example, in the above figure, the port component binding receiveWebServiceCallFromClient_ServerInterfaceHttpPort is selected.
  6. Expand the Request Consumer Service Configuration Details section.
  7. Expand the Caller Part subsection.
  8. Click Add. The Caller Part dialog box opens.
  9. In the Name field, type a name for the new caller part. For example, basicAuth.
  10. In the Token type drop-down list, select Username. (The Local name field is automatically populated with a default value.) The Caller Part dialog box should resemble the following figure:
    Picture of the Caller Part dialog box
  11. Click OK. The new caller part basicAuth is displayed, as shown in the following figure:
    Picture of the new caller part basicAuth
  12. Press Ctrl-S to save your changes.
Now that you have finished creating a caller part, you need to create a token consumer as described in the topic "Creating a token consumer for the request message."
Related tasks
Enabling security on the server
Creating a security token for the request message
Creating a token generator for the request message
Creating a required security token for the request message
Creating a token consumer for the request message
Testing authentication using the integration test client
Disabling security on the server

Feedback
(C) Copyright IBM Corporation 2005, 2006. All Rights Reserved.