Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Service Bus
11g Release 1 (11.1.1.3)

E15033-01


com.bea.wli.sb.services
Interface BindingTypeInfo

All Known Subinterfaces:
SelfDescribedBindingTypeInfo

public interface BindingTypeInfo

Interface the describes the binding details of the service. The implementation is a convenience wrapper class around several internal OSB structures. Additonal methods will be added as needed by transport providers.


Nested Class Summary
static class BindingTypeInfo.BindingTypeEnum
          Currently Supported binding types IMPORTANT NOTE: This enumeration may be extended in future relases.
static class BindingTypeInfo.MessageTypeEnum
          Currently supported message types for Message Service (MIXED binding type) IMPORTANT NOTE: This enumeration may be extended in future relases.

 

Method Summary
 javax.xml.namespace.QName getBindingName()
           
 javax.xml.namespace.QName getPortName()
           
 BindingTypeInfo.MessageTypeEnum getRequestMessageType()
           
 Ref getRequestRef()
           
 BindingTypeInfo.MessageTypeEnum getResponseMessageType()
           
 Ref getResponseRef()
           
 BindingTypeInfo.BindingTypeEnum getType()
           
 Ref getWsdlRef()
           
 boolean hasRequestResponseOperations()
           
 boolean hasRMPolicy()
          Deprecated. this method has been deprecated in 3.0 and should not be called. Transport providers should not rely on this. method. This method will always return false.
 boolean hasWSSecurityPolicy()
          Deprecated. this method has been deprecated in 3.0 and should not be called. Transport providers should not rely on this method. This method will always return false.
 boolean isWSICompliant()
           

 

Method Detail

getType

BindingTypeInfo.BindingTypeEnum getType()
                                        throws TransportException
Returns:
the binding type of a given service
Throws:
TransportException - if an exception occurs.

hasWSSecurityPolicy

boolean hasWSSecurityPolicy()
                            throws TransportException
Deprecated. this method has been deprecated in 3.0 and should not be called. Transport providers should not rely on this method. This method will always return false.
Returns:
whether or not the service uses WS-security policy
Throws:
TransportException - if an exception occurs.

hasRMPolicy

boolean hasRMPolicy()
                    throws TransportException
Deprecated. this method has been deprecated in 3.0 and should not be called. Transport providers should not rely on this. method. This method will always return false.
Returns:
whether or not the service uses WS-Reliable Messaging policy
Throws:
TransportException - if an exception occurs.

isWSICompliant

boolean isWSICompliant()
                       throws TransportException
Returns:
whether or not the service is declared to be WS-I compliant
Throws:
TransportException - if an exception occurs.

getRequestMessageType

BindingTypeInfo.MessageTypeEnum getRequestMessageType()
                                                      throws TransportException
Returns:
if the service uses mixed binding type, returns the type of the request payload. Returns null if the service does not use mixed binding type, or if request message type is "None"
Throws:
TransportException - if an exception occurs.

getResponseMessageType

BindingTypeInfo.MessageTypeEnum getResponseMessageType()
                                                       throws TransportException
Returns:
if the service uses mixed binding type, returns the type of the response payload. Returns null if the service does not use mixed binding type, or if response message type is "None"
Throws:
TransportException - if an exception occurs.

hasRequestResponseOperations

boolean hasRequestResponseOperations()
                                     throws TransportException
Returns:
whether or not the service has any request/response operations for WSDL-based services. Returns false if the service is not WSDL-based
Throws:
TransportException - if an exception occurs.

getWsdlRef

Ref getWsdlRef()
               throws TransportException
Returns:
Ref representing the WSDL resource associated with the service. Returns null for non WSDL-based services.
Throws:
TransportException - if an exception occurs.

getRequestRef

Ref getRequestRef()
                  throws TransportException
Returns:
Ref representing the resource associated with the service request. Returns null for service that are not of message type, or if no resource is associated with the service response.
Throws:
TransportException - if an exception occurs.

getResponseRef

Ref getResponseRef()
                   throws TransportException
Returns:
Ref representing the resource associated with the service response Returns null for service that are not of message type, or if no resource is associated with the service response.
Throws:
TransportException - if an exception occurs.

getBindingName

javax.xml.namespace.QName getBindingName()
                                         throws TransportException
Returns:
Binding qname selected from WSDL service associated with the service. Returns null for non WSDL-based services.
Throws:
TransportException - if an exception occurs.

getPortName

javax.xml.namespace.QName getPortName()
                                      throws TransportException
Returns:
Port qname selected from WSDL service associated with the service. Returns null for non WSDL-based services.
Throws:
TransportException - if an exception occurs.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Service Bus
11g Release 1 (11.1.1.3)

E15033-01


Copyright © 2008, 2010, Oracle. All rights reserved.