1. A method of generating a context model for generating a Service-Oriented Architecture (SOA) policy, comprising: collecting, by a computer hardware system, SOA metadata documents compliant with an application scope of the SOA policy; establishing, by the computer hardware system, inter-document references among the collected SOA metadata documents; and aggregating, by the computer hardware system, the collected SOA metadata documents based on the inter-document references to generate the context model, wherein the establishing the inter-document references among the collected SOA metadata documents includes establishing a unique correspondence between a Uniform Resource Identifier of each of the collected SOA metadata documents and a role taken by the collected SOA metadata document.