|
Java API Reference for Oracle Infrastructure Web Services 11 Release 1 (11.1.1) E10654-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OracleCall
This is Oracle's dynamic invocation call interface that extends the javax.xml.rpc.Call
interface with additional API's.
Field Summary | |
---|---|
static String |
ENDPOINT_ADDRESS_PROPERTY A property to set the endpoint address on the Call object instance. |
Fields inherited from interface javax.xml.rpc.Call |
---|
ENCODINGSTYLE_URI_PROPERTY, OPERATION_STYLE_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY |
Method Summary | |
---|---|
void |
addAttachment(DataHandler dataHandler, String contentEncoding, String contentID) Add an attachment to the SOAPMessage in a DII call. |
void |
addHeader(Element header) Add a header which should be inserted into each outgoing message we generate. |
void |
destroy() Destroys the call and releases any resouces that may be held by it. |
ClientTransport |
getClientTransport() Gets the ClientTransport object representing the transport mechanism that will be used to send and receive soap messages. |
Vector |
getHeaders() Get the headers that were added with the above method. |
QName |
getPortName() Get the QName of the port that the call will be made to. |
Iterator |
getResponseAttachmentsIterator() Get an iterator of repsonse attachments. |
Vector |
getResponseHeaders() Get the headers in SOAP response Note: Not part of JAX-RPC specification. |
Attachments |
getStreamedResponseAttachments() Deprecated. |
Element |
invoke(Element req) Invokes a specific operation using a synchronous request-response interaction mode. |
Element |
invoke(QName operationName, Element[] messageParts) Invokes a specific operation using a synchronous request-response interaction mode. |
SOAPMessage |
invoke(SOAPMessage req) Invokes a specific operation using a synchronous request-response interaction mode. |
void |
invokeOneWay(Element req) Invokes a remote method using the one-way interaction mode. |
void |
invokeOneWay(QName operationName, Element[] messageParts) Invokes a remote method using the one-way interaction mode. |
void |
invokeOneWay(SOAPMessage req) Invokes a remote method using the one-way interaction mode. |
void |
setClientTransportFactory(ClientTransportFactory clientTransportFactory) Sets the ClientTransportFactory that will be used to create ClientTransport objects to send and receive SOAP messages. |
void |
setKeepSocketAlive(boolean keepAlive) Sets the HTTP socket keep-alive flag. |
void |
setPortName(QName name) Set the QName of the port that the call will be made to. |
void |
setRequestAttachmentsIterator(Iterator iterator) Set an iterator of StreamedAttachments to send with the request. |
void |
setStreamResponseAttachments(boolean stream) Enable/disable streaming of response attachment. |
void |
streamResponseAttachment() Deprecated. |
Methods inherited from interface javax.xml.rpc.Call |
---|
addParameter, addParameter, getOperationName, getOutputParams, getOutputValues, getParameterTypeByName, getPortTypeName, getProperty, getPropertyNames, getReturnType, getTargetEndpointAddress, invoke, invoke, invokeOneWay, isParameterAndReturnSpecRequired, removeAllParameters, removeProperty, setOperationName, setPortTypeName, setProperty, setReturnType, setReturnType, setTargetEndpointAddress |
Field Detail |
---|
static final String ENDPOINT_ADDRESS_PROPERTY
Type: java.lang.String
Method Detail |
---|
QName getPortName()
void setPortName(QName name)
name
- QName of the webservice portClientTransport getClientTransport()
void invokeOneWay(Element req)
JAXRPCException
during the processing of the one-way remote call.
Methods suchs as addParameter, setOperationName, setReturnType etc. are ignored if set as they don't apply here.
req
- - This element is stuffed into the SOAP Body as-is without any wrapping and dispatched to the destinationJAXRPCException
- if there is an error in the configuration of the Call
object (example: a non-void return type has been incorrectly specified for the one-way call) or if there is any error during the invocation of the one-way remote callElement invoke(Element req) throws RemoteException
Methods suchs as addParameter, setOperationName, setReturnType etc. are ignored if set as they don't apply here.
req
- Element - This element is stuffed into the SOAP Body as-is without any wrapping and dispatched to the destinationRemoteException
- if there is any error in the remote method invocation.SOAPFaultException
- Indicates a SOAP faultJAXRPCException
- If there is an error in the configuration of the Call
objectvoid invokeOneWay(QName operationName, Element[] messageParts)
javax.xml.rpc.JAXRPCException
during the processing of the one-way remote call.
Methods suchs as addParameter, setOperationName, setReturnType etc. are ignored if set as they don't apply here.
operationName
- QName of the operationmessageParts
- Element[] - The child elements are stuffed into the SOAP Body within a wrapper and dispatched to the destination. The wrapper name is same as the operation name identified by operationName parameter.JAXRPCException
- if there is an error in the configuration of the Call
object (example: a non-void return type has been incorrectly specified for the one-way call) or if there is any error during the invocation of the one-way remote callElement invoke(QName operationName, Element[] messageParts) throws RemoteException
Methods suchs as addParameter, setOperationName, setReturnType etc. are ignored if set as they don't apply here.
operationName
- QName of the operationmessageParts
- Element[] - The child elements are stuffed into the SOAP Body within a wrapper and dispatched to the destination. The wrapper name is same as the operation name identified by operationName parameterRemoteException
- if there is any error in the remote method invocation.SOAPFaultException
- Indicates a SOAP faultJAXRPCException
- If there is an error in the configuration of the Call
objectvoid invokeOneWay(SOAPMessage req)
JAXRPCException
during the processing of the one-way remote call.
Methods suchs as addParameter, setOperationName, setReturnType etc. are ignored if set as they don't apply here.
req
- The SOAPMessage that is passed on as-is without any wrapping and dispatched to the destinationJAXRPCException
- if there is an error in the configuration of the Call
object (example: a non-void return type has been incorrectly specified for the one-way call) or if there is any error during the invocation of the one-way remote callSOAPMessage invoke(SOAPMessage req) throws RemoteException
Methods suchs as addParameter, setOperationName, setReturnType etc. are ignored if set as they don't apply here.
req
- The SOAPMessage that is passed on as-is without any wrapping and dispatched to the destinationRemoteException
- if there is any error in the remote method invocation.SOAPFaultException
- Indicates a SOAP faultJAXRPCException
- If there is an error in the configuration of the Call
objectvoid setClientTransportFactory(ClientTransportFactory clientTransportFactory)
clientTransportFactory
- The ClientTransportFactory to be setvoid addHeader(Element header)
header
- a DOM Element to be inserted into messagesVector getHeaders()
Vector getResponseHeaders()
void addAttachment(DataHandler dataHandler, String contentEncoding, String contentID)
dataHandler
- The DataHandler object created with the attachment.contentEncoding
- Content transfer encoding of the attachment MIME part, i.e. BASE64. This argument can be null, in which case the attachment will not be encoded.contentID
- Content ID of the attachment MIME part. This argument can be null, in which case the Content-ID header of the attachment MIME part will be absent.IllegalArgumentException
- if dataHandler is null.void setKeepSocketAlive(boolean keepAlive)
void streamResponseAttachment()
void setStreamResponseAttachments(boolean stream)
Attachments getStreamedResponseAttachments()
Iterator getResponseAttachmentsIterator()
void setRequestAttachmentsIterator(Iterator iterator)
iterator
-void destroy()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |