The
stored process must be defined on a SAS Metadata Server that is used
by SAS BI Web Services in order to determine how and where to run
the stored process. Stored process metadata is defined by using SAS
Management Console. The tables in this section show the values for
each field in the
New Stored Process wizard
in SAS Management Console.
Note: If you have previously installed
the SAS Stored Process sample metadata as part of the SAS Deployment
Wizard or the Web Infrastructure Platform installation, then you might
not need to re-create the metadata for the "Sample: MEANS Procedure
Web Service" sample stored process. The sample metadata should already
be available from the
/Products/SAS Intelligence Platform/Samples
folder. If you do not have the sample metadata, you can define the
metadata for the stored process on your SAS Metadata Server by performing
the following steps.
-
Open SAS Management
Console and connect to the appropriate metadata server.
-
From the SAS Management
Console navigation tree, select the folder under which you would like
to create the new stored process. (If you would like to create a new
folder, you can select the location in the navigation tree in which
you want to add the new folder, and then select
ActionsNewFolder from the menu bar to open the
New Folder wizard. Follow the wizard instructions to
create the new folder.)
-
After you select the
folder in which you want to add a new stored process, select
ActionsNewStored Process from the menu bar. The
New Stored Process wizard displays.
-
On the first page of
the
New Stored Process wizard, enter the
following values in their corresponding fields for the sample Web
service:
Field Values for the New Stored Process Wizard
|
|
|
Sample: MEANS Procedure
Web Service
|
|
|
Note: To add the keyword, click
Add to open the
Add Keyword dialog box, and then enter the name of the keyword. Click
OK. Adding a description and roles for the stored process
are optional.
-
-
Enter the following
values in their corresponding fields for the sample Web service:
Values for the Sample Web Service
|
|
|
|
|
Stored process server
only
|
Source code location
and execution
|
Allow execution on selected
application server only
Store source code on
application server
|
|
<SASHOME>\SASFoundation\9.3\inttech\sample
|
|
|
|
|
-
Click
New
Prompt to add an input parameter to the stored process.
-
On the
General tab, enter the following values in their corresponding fields for
the sample Web service:
-
Select the
Requires a non-blank value check box. Entering a description
is optional.
-
On the
Prompt
Type and Values tab, enter the following values in their
corresponding fields for the sample Web service:
Values for the Prompt
|
|
|
|
Method for populating
prompt
|
|
|
|
|
|
|
|
-
-
Click
New to open the
New Data Source dialog box,
where you must define the data source.
-
Enter the following
values in their corresponding fields for the sample Web service:
Values for the New Data Source
-
You must also select
the
Allow rewinding stream check box in the
New Data Source dialog box. Otherwise, an XMLMap would
need to be specified on the XML LIBNAME statement to define the XML
schema for
instream
.
-
Click
OK to save the data source definition.
-
Review your stored process
information, and click
Finish to define the
metadata for the stored process.