public class Service extends WebService
This class provides the Java interface to CICS Service API. It is used in order to access the INVOKE SERVICE command.
| Constructor and Description |
|---|
Service()
Construct a Service bean.
|
| Modifier and Type | Method and Description |
|---|---|
void |
invoke(Channel theChannel,
java.lang.String operationName)
Invoke the named operation on the Service.
|
void |
invoke(Channel theChannel,
java.lang.String operationName,
java.lang.String uri)
Invoke the named operation on the Service 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 Service()
public void setScope(java.lang.String scope)
setScope in class WebServicescope - The scope.public void invoke(Channel theChannel, java.lang.String operationName) throws RecordNotFoundException, InvalidRequestException, TimedOutException, LengthErrorException
invoke in class WebServicetheChannel - 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
invoke in class WebServicetheChannel - 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
invoke in class WebServicetheChannel - 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.