All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.apache.soap.rpc.Response

java.lang.Object
   |
   +----org.apache.soap.rpc.RPCMessage
           |
           +----org.apache.soap.rpc.Response

public class Response
extends RPCMessage
A Response object represents an RPC response. Both the client and the server use Response objects to represent the result of a method invocation.

Author:
Matthew J. Duftler ([email protected]), Sanjiva Weerawarana ([email protected])

Constructor Index

 o Response(String, String, Fault, Vector, Header, String)
Use this constructor when things didn't go so well.
 o Response(String, String, Parameter, Vector, Header, String)
Use this constructor when everything went well.

Method Index

 o buildEnvelope()
 o extractFromEnvelope(Envelope, SOAPMappingRegistry)
 o generatedFault()
 o getFault()
 o getReturnValue()
 o setFault(Fault)
 o setReturnValue(Parameter)

Constructors

 o Response
 public Response(String targetObjectURI,
                 String methodName,
                 Parameter returnValue,
                 Vector params,
                 Header header,
                 String encodingStyleURI)
Use this constructor when everything went well.

 o Response
 public Response(String targetObjectURI,
                 String methodName,
                 Fault fault,
                 Vector params,
                 Header header,
                 String encodingStyleURI)
Use this constructor when things didn't go so well.

Methods

 o setReturnValue
 public void setReturnValue(Parameter returnValue)
 o getReturnValue
 public Parameter getReturnValue()
 o setFault
 public void setFault(Fault fault)
 o getFault
 public Fault getFault()
 o generatedFault
 public boolean generatedFault()
 o buildEnvelope
 public Envelope buildEnvelope()
 o extractFromEnvelope
 public static Response extractFromEnvelope(Envelope env,
                                            SOAPMappingRegistry smr) throws IllegalArgumentException

All Packages  Class Hierarchy  This Package  Previous  Next  Index