1. A method for generating a Service-Oriented Architecture (SOA) policy based on a context model, comprising: generating, by a computer hardware system, an application scope of the SOA policy; generating, by the computer hardware system, the context model by collecting SOA metadata documents compliant with the application scope of the SOA policy, establishing inter-document references among the SOA metadata documents, and aggregating the SOA metadata documents based on the inter-document references to generate the context model; generating, by the computer hardware system, an action list for the context model based on action semantic modules customized by a user; generating, by the computer hardware system, a condition part of the SOA policy; generating, by the computer hardware system, an action part of the SOA policy according to the action list; and combining, by the computer hardware system, the condition part and the action part of the SOA policy to generate the SOA policy wherein the inter-document references causes the SOA metadata documents to be mutually referenced.
1. A method for generating a Service-Oriented Architecture (SOA) policy based on a context model, comprising: generating, by a computer hardware system, an application scope of the SOA policy; generating, by the computer hardware system, the context model by collecting SOA metadata documents compliant with the application scope of the SOA policy, establishing inter-document references among the SOA metadata documents, and aggregating the SOA metadata documents based on the inter-document references to generate the context model; generating, by the computer hardware system, an action list for the context model based on action semantic modules customized by a user; generating, by the computer hardware system, a condition part of the SOA policy; generating, by the computer hardware system, an action part of the SOA policy according to the action list; and combining, by the computer hardware system, the condition part and the action part of the SOA policy to generate the SOA policy wherein the inter-document references causes the SOA metadata documents to be mutually referenced. 2. The method of claim 1 , wherein the application scope includes at least one of: a policy type or a policy application scenario.