Access to Vocabulary Metadata through the ICcDataObjectManager

When deployed as a web service, the Corticon server can retrieve all HTTP header name/value pairs from the HTTP session. These will be placed in a class implementing the ICcServerHttpInfo interface. This class is available from the ICcDataObjectManager class passed to all extensions.

An example of a service callout accessing the HTTP headers is as follows:


public static void getHttpHeaders(ICcDataObjectManager dataObjMgr) 
{
    ICcServerHttpInfo ccServerHttpInfo = dataObjMgr.getCcServerHttpInfo();
    Map<String, String> httpHeaders = ccServerHttpInfo.getHttpHeaders();
    for (Map.Entry<String, String> entry : httpHeaders.entrySet()) 
    {
       String key = entry.getKey();
       String value = entry.getValue();
       .......
    }
}     

Corticon can call REST services; for example, calling a SaaS service.

See the Corticon extension JavaDoc for more details.