Method of service provisioning depends on hosting environment or application nature. Provisioning methods are declared with the provision element. The Specification defines the following methods: URL mapping and configuration script. These methods are not mutually exclusive and do not depends on each other. Thus, both of them can be declared for a service provisioning. URL mapping configures access to service through web and configuration script performs service installation.
If both methods are declared for a service provisioning, the order of methods invocation completely depends on Controller implementation.
Note: it is recommended, first install service to hosting environment and only then configure web access to it.
Application may declare different sets of provisioning methods depending on which requirements (set of requirements) were satisfied by Controller. This dependence of provisioning method on requirements is defined by when-chosen element that references to requirements branch with requirements-id attribute and declares appropriate provisioning methods. In other words, if the Controller has satisfied set of requirements with ID specified for when-chosen element, it should choose provisioning methods declared by this element. For details, refer to the 5.2.8 Service Provision section of the Specification.