- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Blaze Returning Empty String Object when Deployed as a Service in TOMCAT Server 7.0.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-30-2012 03:39 PM
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
Solved! Go to Solution.
Re: Blaze Returning Empty String Object when Deployed as a Service in TOMCAT Server 7.0.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Not the Solution
- Email to a Friend
- Report Inappropriate Content
05-31-2012 09:02 AM
Please find the code snippet iam using in the webservice
_SERVER_CONFIG = "C:\\Blaze\\Advisor66\\deploydemoproject\\DemoProj
_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(
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;
}
Re: Blaze Returning Empty String Object when Deployed as a Service in TOMCAT Server 7.0.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Not the Solution
- Email to a Friend
- Report Inappropriate Content
07-05-2012 01:51 AM
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

