As an alternative to using the pipeline scanning mechanism
to install WEBSERVICE resources, you can create and install them using
resource definition online (RDO).
Before you begin
Important: If you use RDO to define the WEBSERVICE
and URIMAP resources, you must ensure that their web service binding
files are
not
in the pickup directory of the PIPELINE. This
ensures that the WEBSERVICE and URIMAP resources are not dynamically
installed during a pipeline scan of the pickup directory.
Alternatively,
you can ensure that no value is specified for WSDIR in the PIPELINE.
However, if you do not specify a value for WSDIR, no pipeline scans
of the pickup directory occur. Therefore, all WEBSERVICE and URIMAP
resources have to be created and installed using RDO.
Procedure
- Use the
CICS Explorer®
to create a WEBSERVICE definition for the inquire catalog
function of the example application.
- Create a WEBSERVICE definition using the
CICS Explorer
by selecting
.
- Right-click in the
Web Service Definitions
view
and select
New
to create a new WEBSERVICE definition.
- Type
DFH$EXWS
in the
Resource
Group
text box, type
EXINQCWS
in
the
Name
text box, and type
EXPIPE01
in
the
Pipeline
text box or type
EXPIPE03
for
Java-based pipelines. You must enter the WSBind attribute before you
can create the WEBSERVICE definition. In the
WSBind File
text
box type
/usr/lpp/cicsts/samples/webservices/wsbind/provider/inquireCatalog.wsbind.
- Click
Finish
to create the WEBSERVICE
definition.
- Repeat the preceding step for each of the following functions
of the example application.
| Function |
WEBSERVICE name |
PIPELINE attribute |
WSBind attribute |
| INQUIRE SINGLE ITEM |
EXINQSWS |
EXPIPE01 or EXPIPE03 |
/usr/lpp/cicsts/samples
/webservices/wsbind
/provider/inquireSingle.wsbind
|
| PLACE ORDER |
EXORDRWS |
EXPIPE01 or EXPIPE03 |
/usr/lpp/cicsts/samples
/webservices/wsbind
/provider/placeOrder.wsbind
|
| DISPATCH STOCK |
EXODRQWS |
EXPIPE02 or EXPIPE04 |
/usr/lpp/cicsts/samples
/webservices/wsbind
/requester/dispatchOrder.wsbind
|
| DISPATCH STOCK endpoint (optional) |
EXODEPWS |
EXPIPE01 or EXPIPE03 |
/usr/lpp/cicsts/samples
/webservices/wsbind
/provider/dispatchOrderEndpoint.wsbind
|