Tags · Functions · Objects
Lucee Tag Reference
Choose a tag:


Lets you call methods in COM, CORBA, and JAVA objects.


This tag can't have a body.




The attributes for this tag are fixed. Except for the following attributes no other attributes are allowed.
Name Type Required Description
action string No - create: instantiates a COM object (typically, a DLL) before invoking methods or properties.
  • connect: connects to a COM object (typically, an EXE) running on server. 
  • class string No Component ProgID for the object to invoke. When using Java stubs to connect to the COM object, the class must be the ProgID of the COM object. 
    component string No Name of component to instantiate. 
    context string No - inproc
    - local
    - remote

    In Windows, if not specified, uses Registry setting. 
    delimiters string No if specified a classpath, use as delimiter for the entries, default is comma. 
    locale string No Sets arguments for a call to init_orb. Use this attribute only for VisiBroker ORBs. It is available on C++, Version 3.2. The value must be in the form:
    locale = " -ORBagentAddr -ORBagentPort 19000"

    Each type-value pair must start with a hyphen. 
    name string Yes name for the instantiated component. 
    password string No The password to use to access the web service. If the webservice attribute specifies a web service name configured in the Lucee Administrator, overrides any password specified in the Administrator entry. 
    proxypassword string No The user's password on the proxy server. 
    proxyport number No The port to use on the proxy server. 
    proxyserver string No The proxy server required to access the web service URL. 
    proxyuser string No The user ID to send to the proxy server. 
    server string No Server name, using Universal Naming Convention (UNC) or Domain Name Serve (DNS) convention, in one of these forms:

    * \\lanserver
    * lanserver
    * http://www.servername.com
    * www.servername.com
    type string No The object type. You can omit this attribute or specify component. Lucee automatically sets the type to component. 
    username string No The user name to use to access the web service. If the webservice attribute specifies a web service configured name in the Lucee Administrator, overrides any user name specified in the Administrator entry. 
    webservice string No The absolute URL of the web service.