public class WebService extends Resource
This class provides the Java interface to CICS WebService resources. It is used in order to access the INVOKE WEBSERVICE API.
| Constructor and Description |
|---|
WebService()
Construct a WebService bean.
|
| Modifier and Type | Method and Description |
|---|---|
void |
invoke(Channel theChannel,
java.lang.String operationName)
Invoke the named operation on the WEBSERVICE.
|
void |
invoke(Channel theChannel,
java.lang.String operationName,
java.lang.String uri)
Invoke the named operation on the WEBSERVICE using a specified URI.
|
void |
invoke(Channel theChannel,
java.lang.String operationName,
URIMap urimap)
Invoke the named operation on the Service using a specified URIMAP.
|
void |
setScope(java.lang.String scope)
Set the scope for the Service
|
getDescription, getName, setDescription, setNamepublic WebService()
public void invoke(Channel theChannel, java.lang.String operationName) throws RecordNotFoundException, InvalidRequestException, TimedOutException, LengthErrorException
theChannel - the channel containing the input containeroperationName - the name of the operation to invokeRecordNotFoundException - a NOTFOUND occurred.InvalidRequestException - an INVREQ occurred.TimedOutException - a TIMOUT occurred.LengthErrorException - a LENGERR occurred.public void invoke(Channel theChannel, java.lang.String operationName, java.lang.String uri) throws RecordNotFoundException, InvalidRequestException, TimedOutException, LengthErrorException
theChannel - the channel containing the input containeroperationName - the name of the operation to invokeuri - the URI to use to locate the remote serviceRecordNotFoundException - a NOTFOUND occurred.InvalidRequestException - an INVREQ occurred.TimedOutException - a TIMOUT occurred.LengthErrorException - a LENGERR occurred.public void invoke(Channel theChannel, java.lang.String operationName, URIMap urimap) throws RecordNotFoundException, InvalidRequestException, TimedOutException, LengthErrorException
theChannel - the channel containing the input containeroperationName - the name of the operation to invokeurimap - the URIMAP to use to locate the remote serviceRecordNotFoundException - a NOTFOUND occurred.InvalidRequestException - an INVREQ occurred.TimedOutException - a TIMOUT occurred.LengthErrorException - a LENGERR occurred.public void setScope(java.lang.String scope)
scope - the scope