Perform the following
steps.
It is assumed that you are familiar with creating SAS Data
Integration Studio jobs, as described in Creating Jobs.
-
Create an empty SAS
Data Integration Studio job.
-
In the
Transformations tree
of the process editor, open the
Access folder.
-
Drag the
REST transformation
into the empty job.
-
Right-click the
REST transformation
and select
Properties.
-
Specify the options
that you need to read from and write to the desired web service. See
the following table for some example values.
-
-
Run the job. Review
status messages to verify that the job executed without error.
The following table
shows an example set of options that you can specify in the REST transformation.
In this example, when you submit a request to the web service, it
returns contact information in the output variable
RESTGetText_Auth_UserPwd.
Example Options for the REST Transformation
|
|
|
OptionsREST Properties
|
|
|
|
http://myComputer.com/contactservice/contactservice.svc/contacts
|
|
application/x-www-form-urlencoded
|
|
|
OptionsInput and Output
|
|
|
|
|
|
|
Output Text Macro Variable
Name:
|
|
OptionsAuthentication
|
|
|
Web authentication username:
|
|
Web authentication password:
|
|