|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.cics.server.API
com.ibm.cics.server.Resource
com.ibm.cics.server.WebService
com.ibm.cics.server.Service
public class Service
This class provides the Java interface to CICS Service API. It is used in order to access the INVOKE SERVICE command.
| Constructor Summary | |
|---|---|
Service()
Construct a Service bean. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.ibm.cics.server.Resource |
|---|
getDescription, getName, setDescription, setName |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Service()
| Method Detail |
|---|
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 invoke
RecordNotFoundException - 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 service
RecordNotFoundException - 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 service
RecordNotFoundException - A NOTFOUND occurred.
InvalidRequestException - An INVREQ occurred.
TimedOutException - a TIMOUT occurred.
LengthErrorException - a LENGERR occurred.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||