23. At a computer system in a Web Services environment, a computer program product for implementing a method of assisting a user in generating a more secure policy document by providing a rule-based tool that automatically selects security conditions for the user's general security criteria such that the user does not have exposure to all security details, the computer program product comprising one or more computer readable storage media having stored thereon computer executable instructions that, when executed by a processor, can cause the messaging system to perform: at a generation phase of the secure policy document: present a set of Web Service security options to a user at a user interface, which abstracts the user from any specific code that will be generated for a secure policy document that satisfies one or more of the set of Web Service security options, the set of Web Service security options including at least an option for communicating using a secure conversation and an option for communicating without using a secure conversation; receive user input selecting a general security criteria from the set of Web Service security options presented, the general security criteria being the option for communicating using a secure conversation; based on the received user input selecting the option for communicating using a secure conversation, access one or more security rules from a repository of extensible security metadata, the one or more security rules corresponding to the general security criteria and relating to client authentication tokens; present a set of Web Service client authentication token options to the user at the user interface, which abstracts the user from any specific code that will be generated for the secure policy document that satisfies one or more of the set of Web Service client authentication tokens to the user at the user interface; receive user input selecting one option from the set of Web Service client authentication token options; based on the received user input select one option from the set of Web Service client authentication token options, accessing one or more security rules from the repository of extensible security metadata, the one or more security rules corresponding to the Web Service client authentication token options and providing more specific rules for implementing the selected option from the set of Web Service client authentication token options; determining whether the secure policy document is a client policy document or a service policy document; and use the one or more security rules corresponding to the general security criteria and to the selected one option to generate the secure policy document in accordance with the general security criteria and the selected one option, wherein generating the secure policy document includes automatically selecting specific security conditions that enforce the general security criteria and selected one option input by the user, and wherein the security conditions that are more specific than the general security criteria and the selected one option input by the user are applied based whether the secure policy document is determined to be a client policy document or a service policy document, such that different one or more security rules are applied in creating the secure policy document when the secure policy document is a client policy document as compared to when the secure policy document is a service policy document.
23. At a computer system in a Web Services environment, a computer program product for implementing a method of assisting a user in generating a more secure policy document by providing a rule-based tool that automatically selects security conditions for the user's general security criteria such that the user does not have exposure to all security details, the computer program product comprising one or more computer readable storage media having stored thereon computer executable instructions that, when executed by a processor, can cause the messaging system to perform: at a generation phase of the secure policy document: present a set of Web Service security options to a user at a user interface, which abstracts the user from any specific code that will be generated for a secure policy document that satisfies one or more of the set of Web Service security options, the set of Web Service security options including at least an option for communicating using a secure conversation and an option for communicating without using a secure conversation; receive user input selecting a general security criteria from the set of Web Service security options presented, the general security criteria being the option for communicating using a secure conversation; based on the received user input selecting the option for communicating using a secure conversation, access one or more security rules from a repository of extensible security metadata, the one or more security rules corresponding to the general security criteria and relating to client authentication tokens; present a set of Web Service client authentication token options to the user at the user interface, which abstracts the user from any specific code that will be generated for the secure policy document that satisfies one or more of the set of Web Service client authentication tokens to the user at the user interface; receive user input selecting one option from the set of Web Service client authentication token options; based on the received user input select one option from the set of Web Service client authentication token options, accessing one or more security rules from the repository of extensible security metadata, the one or more security rules corresponding to the Web Service client authentication token options and providing more specific rules for implementing the selected option from the set of Web Service client authentication token options; determining whether the secure policy document is a client policy document or a service policy document; and use the one or more security rules corresponding to the general security criteria and to the selected one option to generate the secure policy document in accordance with the general security criteria and the selected one option, wherein generating the secure policy document includes automatically selecting specific security conditions that enforce the general security criteria and selected one option input by the user, and wherein the security conditions that are more specific than the general security criteria and the selected one option input by the user are applied based whether the secure policy document is determined to be a client policy document or a service policy document, such that different one or more security rules are applied in creating the secure policy document when the secure policy document is a client policy document as compared to when the secure policy document is a service policy document. 31. The computer program product of claim 23 , wherein the one or more security rules are a default value that can be overridden by the user.