Hi there
I am currently using OpenKM 5.0 (build: 4203) and trying to implement a Web Service client on OKMFolder.
I created the client using Eclipse Helios from my
http://office.uit.gr:8888/OpenKM/OKMAuth?wsdl
http://office.uit.gr:8888/OpenKM/OKMFolder?wsdl
and managed to do some operations first utilizing OKMAuth.login(), OKMFolder.create()...
But when it comes on OKMFolder.rename() I get the following error :
Thanks in advance
Mike
I am currently using OpenKM 5.0 (build: 4203) and trying to implement a Web Service client on OKMFolder.
I created the client using Eclipse Helios from my
http://office.uit.gr:8888/OpenKM/OKMAuth?wsdl
http://office.uit.gr:8888/OpenKM/OKMFolder?wsdl
and managed to do some operations first utilizing OKMAuth.login(), OKMFolder.create()...
But when it comes on OKMFolder.rename() I get the following error :
Code: Select all
I also notice, that in any error case the thrown exception does not have an error message. To trap the exception I do something like:
Feb 11, 2011 6:19:22 AM gr.uit.eprotocol.ws.OkmProtocolDispatcherImpl getInstance
INFO: Binding with http://office.uit.gr:8888/OpenKM/OKMFolder
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
faultSubcode:
faultString: CallbackHandler does not support: javax.security.auth.callback.NameCallback@6e580043: CallbackHandler does not support: javax.security.auth.callback.NameCallback@6e580043
faultActor:
faultNode:
faultDetail:
{http://endpoint.ws.openkm.com/}RepositoryException:<message>CallbackHandler does not support: javax.security.auth.callback.NameCallback@6e580043: CallbackHandler does not support: javax.security.auth.callback.NameCallback@6e580043</message>
CallbackHandler does not support: javax.security.auth.callback.NameCallback@6e580043: CallbackHandler does not support: javax.security.auth.callback.NameCallback@6e580043
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
Code: Select all
Any Ideas?try{
OKMFolderProxy folderProxy = new OKMFolderProxy();
Folder nodeFolder = folderProxy.rename( renameRequest.getOkmToken(),
renameRequest.getOldPath(),
renameRequest.getNewPath());
logger.info("Renamed : " + nodeFolder.toString() );
}catch(Throwable e){
logger.severe( e.getMessage() );
...
}
Thanks in advance
Mike