Editing SIP deployment descriptors

The Session Initiation Protocol (SIP) deployment descriptor file, sip.xml, specifies deployment information, Multipurpose Internet Mail Extension (MIME) types, session configuration details and other settings for a SIP application. This information is used in building a servlet archive (SAR) file from a project. The sip.xml file is located in the WEB-INF directory of the project.

Procedure

To edit the SIP deployment descriptor:

  1. In Project Explorer, open the WebContent and Web-INF folders of a SIP project.
  2. Double-click the sip.xml file.

What to do next

The SIP deployment descriptor editor opens for the SIP version of your project: SIP 1.1 or SIP 1.0.

With the SIP 1.1 deployment descriptor editor, you configure deployment information in a visual tree structure by adding and configuring nodes of properties for the deployment. If you click a node on the left side of the editor, you can edit the attributes for the node on the right side of the editor. You can add child nodes (properties) by clicking Add.
Tip: For SIP 1.1, if your application has multiple servlets, then you should add a servlet-selection node with either a main servlet or servlet mapping. However, the editor does not require that you do this.
The SIP 1.0 deployment descriptor editor is organized in pages with tabs:
Overview:
View a quick summary of the contents in the SIP deployment descriptor. You can add, remove, or change the contents.
Servlets:
Add a new servlet to the deployment descriptor, modify an existing servlet or remove the selected servlet from the deployment descriptor.
Security:
Manage security roles and security constraints. You can specify the following data constraints on user data:
  • None: The application requires no transport guarantees.
  • o Integral: Data cannot be changed in transit between client and server.
  • o Confidential: Data content cannot be observed while it is in transit.
Variables:
Manage a list of listeners, context parameters and environment variables in the project.
References:
Manage the project resource references. The following types of references are supported:
  • EJB Local
  • EJB Remote
  • Resource
  • Resource Environment
Source:
Edit the sip.xml source directly.

Feedback