Did anybody at all manage to use (create, invoke) XMLObjects
succesfully? I've been trying the examples in the manual on several
machines and they don't work. I either add an object and I can't
invoke it, or can't add an object because it's "duplicate", even if
it's the first time I'm adding it.

Either I don't grasp the fine art of XMLObjects usage, or there's
something wrong with Xindice. I'd like to know which one it is, if
anyone can enlighten me.


Tuesday, July 16, 2002, 16:22:51, Ciprian Popovici <[EMAIL PROTECTED]> wrote:

> How is it possible to see an XMLObject in the list for
> 'list_xmlobjects' and still receive "XMLObject Not Found" upon invoke?

> Here's what I run:

>> xindiceadmin add_xmlobject -c /db/test -i 
>> org.apache.xindice.examples.HelloWorldXMLObject -n MyObj
> CREATED : XMLObject MyObj
>> xindice lo -c /db/test
> XMLObjects:
> MyObj
> Total XMLObjects: 1
>> xindice invoke -c /db/test -o MyObj/crush?rock=boulder -v
> Collectionstring = xmldb:xindice:///db/test
> XMLObject URI = xindice://db/test/MyObj/
> ERROR : XMLObject Not Found
DEBUG>> 
> org.xmldb.api.base.XMLDBException: XMLObject Not Found
>         at 
> org.apache.xindice.core.FaultCodes.createXMLDBException(FaultCodes.java:239)
>         at 
> org.apache.xindice.client.xmldb.services.XMLObjectService.invokeXMLObject(XMLObjectService.java:128)
>         at 
> org.apache.xindice.tools.command.InvokeXmlObject.execute(InvokeXmlObject.java:113)
>         at org.apache.xindice.tools.XMLTools.execute(XMLTools.java:331)
>         at org.apache.xindice.tools.XMLTools.process(XMLTools.java:257)
>         at org.apache.xindice.tools.XMLUserTools.main(XMLUserTools.java:98)

> --Ciprian Popovici



--Ciprian 

Reply via email to