ICcServer access within service call-out

Posted by nuri.besen on 09-Apr-2015 00:01

When trying to write a service call-out, I try to access the server ojbect as below:

ICcServer iServer = CcServerFactory.getCcServer()

but cannot seem to find the right JAR for it. Using Studio v5.4.1.3. How is the metainf needs to be for it to be able to import?

Our current metainf is:

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Extended Operators Core Plug-in
Bundle-SymbolicName: com.corticon.eclipse.studio.operations.extended.core
Bundle-Version: 5.4.99
Bundle-Vendor: M2
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Require-Bundle: org.eclipse.core.runtime,
com.corticon.legacy,
com.corticon.services,
com.corticon.thirdparty
Export-Package: .,
com.m2.corticon.extended.operators
Eclipse-RegisterBuddy: com.corticon.legacy

All Replies

Posted by James Arsenault on 14-Apr-2015 06:15

Nuri, sorry for the delay. We'll get back to you on this shortly.

Jim

Posted by Prashant Thumma on 14-Apr-2015 08:17

Hi Nuri,

Can you give a bit more information on why you are trying to access the ICcServer object inside a service callout?  The reason I ask is because the service call outs are designed for external integration.  Using ICcServer inside the service call out creates a circular dependency between the CcServer and the service callouts.

There might be workarounds to this problem, but a more information is needed on your use case.

-Prashant

Posted by nuri.besen on 15-Apr-2015 00:15

Hello,

I was examining the sample document to call another Decision Service as described in the document:

"How to Invoke Corticon Decision Services from a Corticon Decision Service"

which is uploaded in the documents section.

And I wanted to examine the java side but could not go forward. There is no actual business need right now, just trying to learn the capabilities.

Regards,

Nuri

This thread is closed