public interface OracleCall extends javax.xml.rpc.Call, ClientConstants
javax.xml.rpc.Call
interface with additional API's.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ENDPOINT_ADDRESS_PROPERTY
A property to set the endpoint address on the Call object instance.
|
ENCODINGSTYLE_URI_PROPERTY, OPERATION_STYLE_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY
ACCEPT_ENCODING, ALL_OPERATIONS_ONE_WAY, CHARACTER_SET_ENCODING, CHUNK_SIZE, CLIENT_CONFIG, ContentNegotiation, COOKIE_MAP, DIME_ENCODE_MESSAGES_WITH_ATTACHMENTS, DISABLE_MUST_UNDERSTAND, DO_NOT_CHUNK, HTTP_CONN_TIMEOUT, HTTP_OPNAME_QUERYSTRING_PARAM, HTTP_READ_TIMEOUT, JAXRPC_STUB_INSTANCE, JMS_TARGET_CORRELATION_ID, JMS_TARGET_MESSAGE_ID, JMS_TARGET_REPLY_TO_FACTORY_NAME, JMS_TARGET_REPLY_TO_QUEUE_NAME, JMS_TARGET_REPLY_TO_TOPIC_NAME, JMS_TRANSPORT_REPLY_TO_FACTORY_NAME, JMS_TRANSPORT_REPLY_TO_QUEUE_NAME, MTOM_DOTNET_HEADER_STYLE, MTOM_SUPPORT, POLICY_SUBJECT_RESOURCE_PATTERN, PREEMPTIVE_BASIC_AUTH, PROVIDER_MSG_CONTEXT_PROPS, PROXY_AUTH_TYPE, PROXY_HOST, PROXY_PASSWORD, PROXY_PORT, PROXY_REALM, PROXY_USERNAME, SERVICEIMPL_NAME, SOAP_VERSION, SOAP_XML_RESPONSE, STREAMING_INCOMING_ATTACHMENTS, STREAMING_OUTGOING_ATTACHMENTS, TRANSACTIONAL, TRUST_MANAGER_ARRAY, WALLET_KEYSTORE_PROVIDER, WALLET_KEYSTORE_TYPE, WALLET_LOCATION, WALLET_PASSWORD, WS_SSL_KEY_ALIAS, WS_SSL_KEYSTORE_LOCATION, WS_SSL_KEYSTORE_TYPE, WS_SSL_TRUSTSTORE_LOCATION, WS_SSL_TRUSTSTORE_TYPE, WSA_ACTION, WSA_FAULT_TO, WSA_MESSAGE_ID, WSA_RELATES_TO, WSA_REPLY_TO, WSDL_DEFINITION, WSM_INTERCEPTOR_PIPELINE_CONFIG, WSM_SUBJECT_PRECEDENCE, WSSEC_ENC_KEY_ALIAS, WSSEC_ENC_KEY_PASSWORD, WSSEC_KERBEROS_SERVICE_PRINCIPAL, WSSEC_KEYSTORE_LOCATION, WSSEC_KEYSTORE_PASSWORD, WSSEC_KEYSTORE_TYPE, WSSEC_RECIPIENT_KEY_ALIAS, WSSEC_SAML_ISSUER_NAME, WSSEC_SIG_KEY_ALIAS, WSSEC_SIG_KEY_PASSWORD
Modifier and Type | Method and Description |
---|---|
void |
addAttachment(javax.activation.DataHandler dataHandler, java.lang.String contentEncoding, java.lang.String contentID)
Add an attachment to the SOAPMessage in a DII call.
|
void |
addHeader(org.w3c.dom.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.
|
java.util.Vector |
getHeaders()
Get the headers that were added with the above method.
|
javax.xml.namespace.QName |
getPortName()
Get the QName of the port that the call will be made to.
|
java.util.Iterator |
getResponseAttachmentsIterator()
Get an iterator of repsonse attachments.
|
java.util.Vector |
getResponseHeaders()
Get the headers in SOAP response Note: Not part of JAX-RPC specification.
|
Attachments |
getStreamedResponseAttachments()
Deprecated.
|
org.w3c.dom.Element |
invoke(org.w3c.dom.Element req)
Invokes a specific operation using a synchronous request-response interaction mode.
|
org.w3c.dom.Element |
invoke(javax.xml.namespace.QName operationName, org.w3c.dom.Element[] messageParts)
Invokes a specific operation using a synchronous request-response interaction mode.
|
javax.xml.soap.SOAPMessage |
invoke(javax.xml.soap.SOAPMessage req)
Invokes a specific operation using a synchronous request-response interaction mode.
|
void |
invokeOneWay(org.w3c.dom.Element req)
Invokes a remote method using the one-way interaction mode.
|
void |
invokeOneWay(javax.xml.namespace.QName operationName, org.w3c.dom.Element[] messageParts)
Invokes a remote method using the one-way interaction mode.
|
void |
invokeOneWay(javax.xml.soap.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(javax.xml.namespace.QName name)
Set the QName of the port that the call will be made to.
|
void |
setRequestAttachmentsIterator(java.util.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.
|
addParameter, addParameter, getOperationName, getOutputParams, getOutputValues, getParameterTypeByName, getPortTypeName, getProperty, getPropertyNames, getReturnType, getTargetEndpointAddress, invoke, invoke, invokeOneWay, isParameterAndReturnSpecRequired, removeAllParameters, removeProperty, setOperationName, setPortTypeName, setProperty, setReturnType, setReturnType, setTargetEndpointAddress
static final java.lang.String ENDPOINT_ADDRESS_PROPERTY
Type: java.lang.String
javax.xml.namespace.QName getPortName()
void setPortName(javax.xml.namespace.QName name)
name
- QName of the webservice portClientTransport getClientTransport()
void invokeOneWay(org.w3c.dom.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 destinationjavax.xml.rpc.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 callorg.w3c.dom.Element invoke(org.w3c.dom.Element req) throws java.rmi.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 destinationjava.rmi.RemoteException
- if there is any error in the remote method invocation.javax.xml.rpc.soap.SOAPFaultException
- Indicates a SOAP faultjavax.xml.rpc.JAXRPCException
- If there is an error in the configuration of the Call
objectvoid invokeOneWay(javax.xml.namespace.QName operationName, org.w3c.dom.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.javax.xml.rpc.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 callorg.w3c.dom.Element invoke(javax.xml.namespace.QName operationName, org.w3c.dom.Element[] messageParts) throws java.rmi.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 parameterjava.rmi.RemoteException
- if there is any error in the remote method invocation.javax.xml.rpc.soap.SOAPFaultException
- Indicates a SOAP faultjavax.xml.rpc.JAXRPCException
- If there is an error in the configuration of the Call
objectvoid invokeOneWay(javax.xml.soap.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 destinationjavax.xml.rpc.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 calljavax.xml.soap.SOAPMessage invoke(javax.xml.soap.SOAPMessage req) throws java.rmi.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 destinationjava.rmi.RemoteException
- if there is any error in the remote method invocation.javax.xml.rpc.soap.SOAPFaultException
- Indicates a SOAP faultjavax.xml.rpc.JAXRPCException
- If there is an error in the configuration of the Call
objectvoid setClientTransportFactory(ClientTransportFactory clientTransportFactory)
clientTransportFactory
- The ClientTransportFactory to be setvoid addHeader(org.w3c.dom.Element header)
header
- a DOM Element to be inserted into messagesjava.util.Vector getHeaders()
java.util.Vector getResponseHeaders()
void addAttachment(javax.activation.DataHandler dataHandler, java.lang.String contentEncoding, java.lang.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.java.lang.IllegalArgumentException
- if dataHandler is null.void setKeepSocketAlive(boolean keepAlive)
void streamResponseAttachment()
void setStreamResponseAttachments(boolean stream)
Attachments getStreamedResponseAttachments()
java.util.Iterator getResponseAttachmentsIterator()
void setRequestAttachmentsIterator(java.util.Iterator iterator)
iterator
-void destroy()