From: Wolfgang M. <wol...@ex...> - 2005-02-28 11:24:26
|
Hi Phill, > Could you possibly give an example of what a valid XMLRPC request should > look like? I can't find any in the documentation. I attach a working Java example. > Also, looking at the documentation, the xupdateResource function is as > follows: > > int xupdateResource(String documentName, byte[] xupdate) > > with no mention of user. Is this documentation out of date? Do other > functions require the User attribute? The documentation is correct. I was refering to the method in the Java interface that implements the methods on the server side. If you have doubts about any method signature, check the methods defined in src/org/exist/xmlrpc/RpcAPI. They show what the server expects. All of those methods accept a User object as first argument. But that's just for the internal API. Always skip that parameter. Wolfgang |