zowe › cics › define › webservice
Define a new web service to CICS.
Usage
zowe cics define webservice <webserviceName> <csdGroup> [options]
Positional Arguments
webserviceName
(string)- The name of the WEBSERVICE to create. The maximum length of the web service name is eight characters.
csdGroup
(string)- The CICS system definition (CSD) Group for the new web service that you want to define. The maximum length of the group name is eight characters.
Required Options
--pipeline-name
|--pn
(string)- The name of the PIPELINE resource definition for the web service. The maximum length of the pipeline name is eight characters
--wsbind
(string)- The file name of the web service binding file on HFS.
Options
--description
|--desc
(string)- Description of the web service resource being defined.
--validation
(boolean)- Specifies whether full validation of SOAP messages against the corresponding schema in the web service description should be performed at run time.
--wsdlfile
|--wsdl
(string)- The file name of the web service description (WSDL) file on HFS.
--region-name
(string)- The CICS region name to which to define the new web service.
--cics-plex
(string)- The name of the CICSPlex to which to define the new web service.
Cics Connection Options
--host
|-H
(string)- The CICS server host name.
--port
|-P
(number)The CICS server port.
Default value: 443
--user
|-u
(string)- Mainframe (CICS) user name, which can be the same as your TSO login.
--password
|--pw
(string)- Mainframe (CICS) password, which can be the same as your TSO password.
--reject-unauthorized
|--ru
(boolean)Reject self-signed certificates.
Default value: true
--protocol
|-o
(string)Specifies CMCI protocol (http or https).
Default value: https
Allowed values: http, https
Profile Options
--cics-profile
|--cics-p
(string)- The name of a (cics) profile to load for this command execution.
Examples
Define a webservice named WEBSVCA for the pipeline named PIPE123 to the region named MYREGION in the CSD group MYGRP where the binding file is /u/exampleapp/wsbind/example.log:
zowe cics define webservice WEBSVCA MYGRP --pipeline-name PIPELINE --wsbind /u/exampleapp/wsbind/example.log --region-name MYREGION