Creating and using a sharable protocol

A sharable protocol is an XML-based definition in the EGL deployment descriptor. The purpose is to configure the communications details that are necessary to access or deploy some kinds of services at run time. See “Sharable protocols” for background information.

To create a shared protocol:

  1. Open the EGL deployment descriptor file for your project. If your project does not have a deployment descriptor file, see “Creating deployment descriptors.”
  2. In the deployment descriptor editor, go to the Protocols tab.
  3. Under Sharable Protocols, click Add. The Add Protocol window opens.
  4. In the Protocol Name, enter a mnemonic for the new protocol.
  5. Under Choose protocol type, select a type of protocol. Use Local for services in the same project.
  6. Under Attributes, set the options for the protocol. These options differ for each type of protocol. See Deployment descriptor options for service clients.
  7. Click Finish. The new protocol is listed under Sharable Protocols, and you can use the protocol when you create a new service-client binding or a new Web-services deployment.

Feedback