摘要 |
A method and apparatus for creating network services. Instead of programming or hard coding an entire web service, the invention provides the ability to easily create a module/mechanism (referred to as a template) that produces code that may be utilized to create a web service. Thus, a template is formed and utilized to create a model that can generate an application or web service. Each template is comprised of a list of features, and a model (referred to as a run time model or RTM). An RTM is an XML document that declares the structure, functionality, and behavior of a web service application (referred to as a WSA). In one or more embodiments, each feature is responsible for generating XML entities to be output in a new RTM. Each feature may obtain one or more users' input that is utilized to build an XML entity in a new RTM. Further, each feature may be processed sequentially and has the ability to modify any existing XML entities that have already been created (by other features, for example). Consequently, features have the ability to look at an application as a whole to effect a change to the entire existing application instead of merely adjusting and modifying the entity they are responsible for. In one or more embodiments of the invention, when a condition that may affect an application changes, the template may be utilized to regenerate the RTM to produce a new web service or XML document.
|