org.apache.soap.rpc
Class Call

java.lang.Object
  |
  +--org.apache.soap.rpc.RPCMessage
        |
        +--org.apache.soap.rpc.Call
All Implemented Interfaces:
Serializer

public class Call
extends RPCMessage

A Call object represents an RPC call. Both the client and the server use Call objects to invoke the method.

Author:
Matthew J. Duftler (duftler@us.ibm.com), Sanjiva Weerawarana (sanjiva@watson.ibm.com)

Fields inherited from class org.apache.soap.rpc.RPCMessage
encodingStyleURI, fullTargetObjectURI, header, methodName, params, targetObjectURI
 
Constructor Summary
Call()
           
Call(java.lang.String targetObjectURI, java.lang.String methodName, java.util.Vector params, Header header, java.lang.String encodingStyleURI)
           
 
Method Summary
 Envelope buildEnvelope()
           
static Call extractFromEnvelope(Envelope env, SOAPMappingRegistry smr)
           
 SOAPMappingRegistry getSOAPMappingRegistry()
           
 org.apache.soap.transport.SOAPTransport getSOAPTransport()
           
 int getTimeout()
           
 Response invoke(java.net.URL url, java.lang.String SOAPActionURI)
          Invoke this call at the specified URL.
 void setSOAPMappingRegistry(SOAPMappingRegistry smr)
           
 void setSOAPTransport(org.apache.soap.transport.SOAPTransport st)
           
 void setTimeout(int _timeout)
           
 
Methods inherited from class org.apache.soap.rpc.RPCMessage
buildEnvelope, extractFromEnvelope, getEncodingStyleURI, getFullTargetObjectURI, getHeader, getMethodName, getParams, getTargetObjectURI, marshall, setEncodingStyleURI, setHeader, setMethodName, setParams, setTargetObjectURI, toString, unmarshall
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Call

public Call()

Call

public Call(java.lang.String targetObjectURI,
            java.lang.String methodName,
            java.util.Vector params,
            Header header,
            java.lang.String encodingStyleURI)
Method Detail

setSOAPMappingRegistry

public void setSOAPMappingRegistry(SOAPMappingRegistry smr)

getSOAPMappingRegistry

public SOAPMappingRegistry getSOAPMappingRegistry()

setSOAPTransport

public void setSOAPTransport(org.apache.soap.transport.SOAPTransport st)

getSOAPTransport

public org.apache.soap.transport.SOAPTransport getSOAPTransport()

setTimeout

public void setTimeout(int _timeout)

getTimeout

public int getTimeout()

buildEnvelope

public Envelope buildEnvelope()

extractFromEnvelope

public static Call extractFromEnvelope(Envelope env,
                                       SOAPMappingRegistry smr)
                                throws java.lang.IllegalArgumentException

invoke

public Response invoke(java.net.URL url,
                       java.lang.String SOAPActionURI)
                throws SOAPException
Invoke this call at the specified URL. Valid only on the client side.


Copyright 2001 Oracle SOAP. All Rights Reserved.