Hi all,
We have a requirement where in we need to upload, retrieve, version and search a documentum in Documentum 6.5 using DFS. We have chosen to consume the DFS web services by generating clients using Axis2-1.4. i have written to code to create a folder (TestFolder2) within an existing folder(TestFolder). I have used an object of ObjectPath class to set the path of the folder to be created. When i run the code, i get a serializable exception. the stack trace is given below.
com.emc.documentum.fs.services.core.SerializableException
: SerializableException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(
Native Method )
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.emc.documentum.fs.services.core.ObjectServiceStub.create(
ObjectServiceStub.java:2053 )
at com.db.client.GetService.callSchemaService(
GetService.java:110 )
at com.db.client.GetService.main(
GetService.java:174 )
When i remove the part of code for setting the object path, the code runs fine and the folder is created in the default folder for the user.
I would like to know how i can get rid of the exception and also need pointers on how to set the path of a new object.
Thanks in advance.
P.S: Find the code attached in a file