Download Blaze Trial
Follow FICO
LinkedIn   Twitter   Youtube
Close To access this section, please choose the Community Neighborhood in which you have the most interest.

» Business Rules Management
» Collections & Recovery
» Fraud Management
» Risk Management
» Scoring
Close To access this section, please choose the Community Neighborhood in which you have the most interest.

» Business Rules Management
» Collections & Recovery
» Fraud Management
» Risk Management
» Scoring
Reply
Visitor
Posts: 3
Registered: ‎12-08-2008
Accepted Solution

Blaze Returning Empty String Object when Deployed as a Service in TOMCAT Server 7.0.

Hi,

 

Have created a sample rule repository on file system and created a webservice using the eclipse and deployed the same in tomcat server 7.0

in Axis2 .have added all the jar files of the Blaze in the lib path of the Axis2 server of TOMCAT Server

 

No exception is thrown.

But it just returns empty String.

Any advise is much appreciated.

Cause i have been struggling with this for abt 2 weeks.

 

Thanks,

Prabhakar

 

Visitor
Posts: 3
Registered: ‎12-08-2008

Re: Blaze Returning Empty String Object when Deployed as a Service in TOMCAT Server 7.0.

Please find the code snippet iam using in the webservice

 

 

_SERVER_CONFIG = "C:\\Blaze\\Advisor66\\deploydemoproject\\DemoProject.server";

_server = NdStatelessServer.createStatelessServer(s == null ? _SERVER_CONFIG : s);
runningBlazeProjects[11] = _server;
public static NdStatelessServer runningBlazeProjects[] = new NdStatelessServer[6];

 

   Server server = new Server(1);
 s1 = (String)(((Server) Server.runningBlazeProjects[1]).invokeDemoRuleSet(s));

 public String invokeDemoRuleSet(String arg0)
   throws NdServerException, NdServiceException, NdServiceSessionException
 {
  // Build the argument list
  Object[] applicationArgs = new Object[1];
  applicationArgs[0] = arg0;
   

  // Invoke the service and returns its result, if any.
  String retVal = (String)invokeService("DemoProject", "invokeDemoRuleSet", null, applicationArgs);
  return retVal;
 }


 

DM-Forums Moderator
Posts: 472
Registered: ‎10-02-2008

Re: Blaze Returning Empty String Object when Deployed as a Service in TOMCAT Server 7.0.

If you get no error/exception, and that is the invocation code, could the reason you get an empty string be that you return an empty string?

 

What do your rules look like?

 

Regards,

Jostein