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:
- If the module deployment editor is closed, open it by completing
the following steps:
- In the Business Integration view, select
the module that contains your Web services export, as shown in the following
figure:

- Right-click the selected module and select Open Deployment
Editor. The module deployment editor opens.
- Click the Export WS-Security tab.
- Click the Extensions tab. The Web Services
Security Extensions page opens, as shown in the following figure:

- 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.
- 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.
- Expand the Request Consumer Service Configuration Details section.
- Expand the Caller Part subsection.
- Click Add. The Caller Part dialog box opens.
- In the Name field, type a name for the new
caller part. For example, basicAuth.
- 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:

- Click OK. The new caller part basicAuth is
displayed, as shown in the following figure:

- 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."