Hi,
     
     I'm trying to send data from Jess to Java same way as it was suggested 
     in the mailing list (see JESS:Vector). Sample code works just fine. 
     But when I'm trying to run the following code:
     
     MyClass p = new MyClass();
     m_rete.store("P", p);
     m_rete.executeCommand("(call (fetch P) putMsg \"test message\")");
     
     I'm getting the following exception:
     
     (call (fetch P) putMsg "test message")
     Jess reported an error in routine call while executing (call (fetch P) 
     putMsg "test message").
       Message: Method not accessible putMsg.
       Program text: ( call ( fetch P ) putMsg "test message" )  at line 0.
     
     
     MyClass is defined in the same file as :
     
     class MyClass {
       private Hashtable m_msgs;
       public void putMsg (String msg) {m_msgs.put(msg, msg);}
     }
     
     The only difference is that I substituted Vector class with MyClass. 
     Are there any requirements on callable methods or anything else I 
     overlooked?
     
     Thanks,
     
     Alex

---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to