Hello Everyone,
We have a client that is trying to call DFS. They have consumed the WSDLs rather than using the DFS jars, and here is the code they have so far:
RepositoryIdentity rid=new RepositoryIdentity();rid.setRepositoryName(docbase);rid.setUserName(userID);rid.setPassword(pwd);ContextRegistryService service1=new ContextRegistryService();ContextRegistryServicePort port1=service1.getContextRegistryServicePort();ServiceContext sc=new ServiceContext();sc.getIdentities().add(rid);String token=port1.register(sc, "http://server:8080/services/core/ObjectService");On the lase line, they are geting this error. Does anyone know what might be going on? Once thye are able to get a token for this user the goal is to call the "get" service to get document content.Exception in thread "main"javax.xml.ws.soap.SOAPFaultException: Failed to read a response: javax.xml.bind.UnmarshalException- with linked exception:[javax.xml.bind.UnmarshalException: Unable to create an instance of com.emc.documentum.fs.datamodel.core.context.Identity- with linked exception:[java.lang.InstantiationException]]at com.sun.xml.ws.encoding.soap.ClientEncoderDecoder.toMessageInfo(ClientEncoderDecoder.java:86)at com.sun.xml.ws.encoding.soap.client.SOAPXMLDecoder.toMessageInfo(SOAPXMLDecoder.java:211)at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:540)at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.doSend(SOAPMessageDispatcher.java:260)at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.send(SOAPMessageDispatcher.java:139)at com.sun.xml.ws.encoding.soap.internal.DelegateBase.send(DelegateBase.java:86)at com.sun.xml.ws.client.EndpointIFInvocationHandler.implementSEIMethod(EndpointIFInvocationHandler.java:174)at com.sun.xml.ws.client.EndpointIFInvocationHandler.invoke(EndpointIFInvocationHandler.java:108)at $Proxy17.register(Unknown Source)at clientContextRegistry.TestContextRegistryService.main(TestContextRegistryService.java:18)