com.ibm.cics.server
Class WebService
java.lang.Object
com.ibm.cics.server.API
com.ibm.cics.server.Resource
com.ibm.cics.server.WebService
- All Implemented Interfaces:
- java.io.Serializable
- 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.
- See Also:
- Serialized Form
Constructor Summary |
WebService()
Construct a WebService bean. |
Method Summary |
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. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebService
public WebService()
- Construct a WebService bean.
invoke
public void invoke(Channel theChannel,
java.lang.String operationName)
throws RecordNotFoundException,
InvalidRequestException
- Invoke the named operation on the webservice.
Any parameters that are too long are truncated to the appropriate length.
- Throws:
RecordNotFoundException
- A NOTFOUND occurred.
InvalidRequestException
- An INVREQ occurred.
invoke
public void invoke(Channel theChannel,
java.lang.String operationName,
java.lang.String uri)
throws RecordNotFoundException,
InvalidRequestException
- Invoke the named operation on the webservice using a specified URI.
Any parameters that are too long are truncated to the appropriate length.
- Throws:
RecordNotFoundException
- A NOTFOUND occurred.
InvalidRequestException
- An INVREQ occurred.