Hi all, 
  I have trying out the Xindice server and everyworks quite well except for a 
problem that I am encountering with executing and XMLObject.
I get the following stack trace when I try to invoke it:
[EMAIL PROTECTED] xindice]$ xindice invoke -c /db/testdb -o Hello
null
IDL:org/apache/xindice/client/corba/db/APIException:1.0
org.omg.CORBA.portable.ApplicationException
        at org.openorb.CORBA.Delegate.invoke(Delegate.java:754)
        at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:250)
        at 
org.apache.xindice.client.corba.db._CollectionStub.invokeXMLObject(Unknown 
Source)
        at 
org.apache.xindice.client.xmldb.services.XMLObjectService.invokeXMLObject(Unknown
 Source)
        at org.apache.xindice.tools.command.InvokeXmlObject.execute(Unknown 
Source)
        at org.apache.xindice.tools.XMLTools.execute(Unknown Source)
        at org.apache.xindice.tools.XMLTools.process(Unknown Source)
        at org.apache.xindice.tools.XMLUserTools.main(Unknown Source)
org.apache.xindice.client.corba.db.APIException: 
IDL:org/apache/xindice/client/corba/db/APIException:1.0
        at org.apache.xindice.client.corba.db.APIExceptionHelper.read(Unknown 
Source)
        at 
org.apache.xindice.client.corba.db._CollectionStub.invokeXMLObject(Unknown 
Source)
        at 
org.apache.xindice.client.xmldb.services.XMLObjectService.invokeXMLObject(Unknown
 Source)
        at org.apache.xindice.tools.command.InvokeXmlObject.execute(Unknown 
Source)
        at org.apache.xindice.tools.XMLTools.execute(Unknown Source)
        at org.apache.xindice.tools.XMLTools.process(Unknown Source)
        at org.apache.xindice.tools.XMLUserTools.main(Unknown Source)
org.xmldb.api.base.XMLDBException: XMLObject Not Found
        at org.apache.xindice.core.FaultCodes.createXMLDBException(Unknown 
Source)
        at 
org.apache.xindice.client.xmldb.services.XMLObjectService.invokeXMLObject(Unknown
 Source)
        at org.apache.xindice.tools.command.InvokeXmlObject.execute(Unknown 
Source)
        at org.apache.xindice.tools.XMLTools.execute(Unknown Source)
        at org.apache.xindice.tools.XMLTools.process(Unknown Source)
        at org.apache.xindice.tools.XMLUserTools.main(Unknown Source)
ERROR : XMLObject Not Found
[EMAIL PROTECTED] xindice]$

The XMLObject is exactly the same as the one in the developer doc, the 
HelloWorldXMLObject.java one in fact.
Eventhought the trace mentions that the object is not found, I can still see it 
when I list all objects in the collection.

[EMAIL PROTECTED] xindice]$ xindice lo -c /db/testdb
XMLObjects:

Hello

Total XMLObjects: 1
[EMAIL PROTECTED] xindice]$

Any help would be greatly appreciated. Thanks.
Rick

Reply via email to