Previous Topic: CommandsNext Topic: YUNSWS (Uninstall Web Service)


YCRTWS (Create Web Service Instance)

The Create Web Service Instance (YCRTWS) command is used to install a web service to the IBM Web Services Server that contains an operation to invoke the RPG ILE or COBOL ILE program specified.

Update model? (UPDMDL)

Specifies if and how the model is updated.

*ADD

New WS instance is added to the model (it must not already exist).

*NO

The model is not updated at all.

*UPDINSSTS

For a WS instance that already exists, the Installed status is updated.

Install to server? (INSTALL)
*YES

The WS is installed to a Web Services Sever. The WS instance name must be unique to the specified Web Services Server.

*NO

The web services server is not updated at all.

2E WS model file (MDLFIL)
Model-file-name

Specify the name of the 2E WS model file that owns the 2E WS model function.

2E WS model function (MDLFUN)
Model-function-name

Specify the name of the 2E WS model function to which the web service instance will be associated.

Machine (MACHINE)

Specifies the name of the machine onto which the web service instance will be deployed.

*CURRENT

Refers to the local machine.

name

Specify the machine name. This can be the local machine or a remote machine. The machine name is not validated and the machine need not exist on the local, or indeed any network.

SERVER (char (10))

The name of the web services server in which the service will be installed.

server-name

Specify a web services server name.

SERVICE (char(25))

The name of Web service to be installed.

*PGMOBJ

The program object name will be used.

service-name

Specify the name of the web service to be installed.

PGMOBJ (*PNAME)

The path to the ILE program or service program.

server-name

Specify the path to the ILE program or service program.

USRPRF (*VNM)

The user profile that the Web service will run under.

*USRPRF

The web service will be created to run under the user profile that is invoking the YCRTWS command.

user-profile

Specify the user profile that the Web Service will run under.

Note: This user profile is granted access to all the Web service files and directories. If the service user ID is different from the server user ID, the server user ID must be given *USE authority to the service user ID.

*SRVID

The Web services server user ID is used to run the service.

RTLIBL

A list of libraries, that will be added to the library list prior to invoking the Web service.

library-list

Specify the list of libraries.

*NOCHG

No user-specified libraries will be added to the run-time library list.