java.lang.Object
com.sun.xml.ws.api.databinding.JavaCallInfo
- All Implemented Interfaces:
JavaCallInfo
On the client or service-requestor side, a JavaCallInfo object represents a
method call on the service proxy to be serialized as a SOAP request message
to be sent to the service. A SOAP response message returned to the service
client is deserialized as an update to the JavaCallInfo object which is used
to generated the request.
On the server or service provider side, a SOAP request message is deserialized to a JavaCallInfo object which can be used to determine which method to call, and get the parameter values to call the back-end service implementation object. The return value or exception returned from the service implementation should be set to the JavaCallInfo object which then can be used to serialize to a A SOAP response or fault message to be sent back to the service client.
- Author:
- [email protected]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the exception of this JavaCallInfoGets the method of this JavaCallInfoObject[]
Gets the parameters of this JavaCallInfoGets the returnValue of this JavaCallInfovoid
setException
(Throwable exception) Sets the exception of this JavaCallInfovoid
Sets the method of this JavaCallInfovoid
setParameters
(Object[] parameters) Sets the parameters of this JavaCallInfovoid
setReturnValue
(Object returnValue) Sets the returnValue of this JavaCallInfo
-
Constructor Details
-
JavaCallInfo
public JavaCallInfo() -
JavaCallInfo
-
-
Method Details
-
getMethod
Gets the method of this JavaCallInfo- Specified by:
getMethod
in interfaceJavaCallInfo
- Returns:
- the method
-
setMethod
Sets the method of this JavaCallInfo- Parameters:
method
- the method to set
-
getParameters
Gets the parameters of this JavaCallInfo- Specified by:
getParameters
in interfaceJavaCallInfo
- Returns:
- the parameters
-
setParameters
Sets the parameters of this JavaCallInfo- Parameters:
parameters
- the parameters to set
-
getReturnValue
Gets the returnValue of this JavaCallInfo- Specified by:
getReturnValue
in interfaceJavaCallInfo
- Returns:
- the returnValue
-
setReturnValue
Sets the returnValue of this JavaCallInfo- Specified by:
setReturnValue
in interfaceJavaCallInfo
- Parameters:
returnValue
- the returnValue to set
-
getException
Gets the exception of this JavaCallInfo- Specified by:
getException
in interfaceJavaCallInfo
- Returns:
- the exception
-
setException
Sets the exception of this JavaCallInfo- Specified by:
setException
in interfaceJavaCallInfo
- Parameters:
exception
- the exception to set
-