Integration Server 10.5 | WmDB User’s Guide | Accessing Databases with Services | Creating Clients that Access Databases | Invoking a Database Service from a Browser-based Client
 
Invoking a Database Service from a Browser-based Client
Several of the database services can accept input from a browser-based client. (The descriptions of the database services in the webMethods Integration Server Built-In Services Reference indicate whether you can invoke a built-in database service from a browser-based client.) When a browser-based client submits input variables containing row information, these services automatically convert the row information into a nested IData object. The service determines which variables to convert based on the names of the variables. All variables except those whose names begin with _ or $db are converted into nested IData objects.
For example, suppose a browser user submits the following name-value pairs:
Variable Name
Contents
$dbTable
Table Name
Name
Joe B
Company
Widgets, Inc.
The pub.db:insert service converts the inputs as follows:
Variable Name
Contents
$dbTable
Table Name
$data
Variable Name
Contents
Name
Joe B
Company
Widgets, Inc.