Skip navigation links

Oracle Fusion Middleware Infrastructure Management Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1.4.0)
E10659-03


oracle.soa.api.invocation
Interface DirectConnection


public interface DirectConnection

Provides the ability to exchange messages over the direct binding In order to use a direct connection the composite service must be exposed via <binding.direct>
Can be created directly from a locator object

See Also:
Locator.createDirectConnection(oracle.soa.management.CompositeDN, java.lang.String)

Method Summary
 void close()
          Closes the connection, releasing any associated resources
<T> void
post(java.lang.String operationName, Message<T> message)
          Post a one way message
<T> Message<T>
request(java.lang.String operationName, Message<T> message)
          Invoke a request/response operation

 

Method Detail

post

<T> void post(java.lang.String operationName,
              Message<T> message)
          throws InvocationException
Post a one way message
Parameters:
operationName - the name of the operation to invoke
message - the request message
Throws:
InvocationException

request

<T> Message<T> request(java.lang.String operationName,
                       Message<T> message)
                   throws InvocationException,
                          FaultException
Invoke a request/response operation
Parameters:
operationName - the name of the operation to invoke
message - the request message
Returns:
the response message
Throws:
InvocationException
FaultException

close

void close()
Closes the connection, releasing any associated resources

Skip navigation links

Oracle Fusion Middleware Infrastructure Management Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1.4.0)
E10659-03


Copyright © 2010, Oracle and/or its affiliates. All rights reserved.