Choosing a Security Model

VuGen supports two models for configuring security for your Web Service calls: Legacy (no scenario) and Scenario. This section describes the Scenario security models. The Legacy model refers to the manual addition of Web Service Set Security steps, or the web_service_set_security function.

The following table lists the considerations for using each of the models.

Legacy Model
Scenario Based Model
You are working with a script that already uses the legacy model
You are testing a WCF Service
You are testing a service written in frameworks such as .NET 2.0, Axis, or other older toolkits
You are testing a service written in a new framework such as Axis2 or Metro (WSIT).
You require a low-level control over WS-Security tokens
Your service uses advanced specifications such as WS-SecureConversation or WS-Trust
You are having trouble using the new model or find the capabilities of the legacy functions adequate
You are having trouble using the legacy model or you find the capabilities of the new model more adequate