|
Oracle Application Server Web Services Java API Reference 10g Release 3 (10.1.3) B25988-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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_PROPERTYA 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. |
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. |
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 |
setClientTransportFactory(ClientTransportFactory clientTransportFactory)Sets the ClientTransportFactory that will be used to create ClientTransport objects to send and receive SOAP messages. |
void |
setPortName(QName name)Set the QName of the port that the call will be made to. |
| 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 |
public static final String ENDPOINT_ADDRESS_PROPERTY
Type: java.lang.String
| Method Detail |
public QName getPortName()
public void setPortName(QName name)
name - QName of the webservice portpublic ClientTransport getClientTransport()
public void invokeOneWay(Element req)
JAXRPCException during the processing of the one-way remote call. <p/> 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 call
public Element invoke(Element req)
throws RemoteException
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.javax.xml.rpc.soap.SOAPFaultException - Indicates a SOAP faultJAXRPCException - If there is an error in the configuration of the Call object
public void invokeOneWay(QName operationName,
Element[] messageParts)
javax.xml.rpc.JAXRPCException during the processing of the one-way remote call. <p/> 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 call
public Element invoke(QName operationName,
Element[] messageParts)
throws RemoteException
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.javax.xml.rpc.soap.SOAPFaultException - Indicates a SOAP faultJAXRPCException - If there is an error in the configuration of the Call objectpublic void setClientTransportFactory(ClientTransportFactory clientTransportFactory)
clientTransportFactory - The ClientTransportFactory to be setpublic void addHeader(Element header)
header - a DOM Element to be inserted into messagespublic Vector getHeaders()
public 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.public void destroy()
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||