Complete these instructions to create a Web Service Operation based on a cataloged subroutine.
See Create a web service for more information.
These instructions apply only to Web Services created with the SOAP Service Type option. See Create a web service for more information.
The Create a Web Service Operation dialog box opens.
Parameter | Description | |
---|---|---|
Database Connection | Select the database connection that contains
the account and data you need to access for creating the operation. Tip: If you need to define a new database connection for the operation
you are creating, click the New button to define the
connection. When the connection definition has been created, click the
Connect button to connect to the database. See Create MV server connections for a description of the required parameters for defining a
database connection.
|
|
Account | Select the account that contains the data you need to access for creating the operation. | |
Password | Password for the specified account. | |
Advanced Button | Opens the Connection Pool Settings dialog box. The following parameters can be specified: | |
Min Connections | Minimum number of connections to the D3 or mvBase server. The default is 0. | |
Max Connections | Maximum number of connections to the D3 or mvBase server. The default is 0. | |
Idle Timeout | Length of time (in seconds) before the connection is dropped due to inactivity. |
The Select a Web Service Operation Type dialog box opens.
The Select the Cataloged Subroutine dialog box opens.
The Arguments table is populated with the arguments contained in the specified subroutine, including the argument #, Name, Usage, Binding Mode, and Data Type.
The default Binding Mode is always set to simple and the default Data Type is always set to string.
This displays the Construct the Cataloged Subroutine dialog box with all of the columns populated. The Operation Name and Subroutine text boxes are automatically populated as well, but you can change the names if you prefer.
The Define Argument dialog box opens.
For information on data typing, see D3 processing code mapping to XML datatypes.
The Web Service Operation is saved and the operation name displays in the MV Web Service Explorer.
If the dynamic-array Binding Mode was selected for any of the defined arguments in the subroutine, the dynamic arrays are displayed in the MV Web Service Explorer below the new Web Service Operation. For example: