CFOBJECT Type="CORBA"

CFOBJECT allows you to call methods in CORBA objects. These CORBA objects must already have been defined and registered for use.

Syntax

<CFOBJECT TYPE="CORBA"
    CONTEXT="context"
    CLASS="file or naming service"
    NAME="text"
    LOCALE="type-value arguments">

CONTEXT

Required. Specifies one of the following:

CLASS

Required. Specifies different information, depending on the CONTEXT specification:

NAME

Required. Enter a name for the object. Your application uses this to reference the CORBA object's methods and attributes.

LOCALE

Optional. Sets arguments for a call to init_orb(..). Use of this attribute is specific to VisiBroker orbs, and is currently available on C++, Version 3.2. The value should be of the form:

LOCALE=" -ORBagentAddr 199.99.129.33 -ORBagentPort 19000"

Note that each type-value pair has to start with a leading "-".

Usage

ColdFusion Enterprise version 4.0 and above supports CORBA through the Dynamic Invocation Interface (DII). To use CFOBJECT with CORBA objects, you need to know either the name of the file containing a stringified version of the IOR or the object's naming context in the naming service. You also need to know the object's attributes, method names and method signatures.

User-defined types (for example, structures) are not supported.

Example

<CFOBJECT TYPE="CORBA"
   CONTEXT="IOR"
   CLASS="c:\\myobject.ior"
   NAME="GetName">