com.ibm.cics.server
Class WebService

java.lang.Object
  extended bycom.ibm.cics.server.API
      extended bycom.ibm.cics.server.Resource
          extended bycom.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 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

WebService

public WebService()
Construct a WebService bean.

Method Detail

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.