Hi Everyone,
I write you because I have a serious problem with GetNodesInContainer method.
I try to retrieve the Nodes array by GetNodesInContainer:
DocumentManagement.GetNodesInContainerOptions myOpt= new DocumentManagement.GetNodesInContainerOptions();
myOpt.MaxDepth=1;
myOpt.MaxResults=100;
DocumentManagement.Node[] myNodesArr = dm.GetNodesInContainer(ref dmOTAuth, 111111, myOpt);
When I try to execute the "GetNodesInContainer" istruction I get this error:
com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl cannot be cast to com.sun.xml.bind.api.JAXBRIContext
and the error detail is:
Server stack trace:
in System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
in System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan tim
eout)
in System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
in System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
in System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
in System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
in TestImportFiles.DocumentManagement.DocumentManagement.GetNodesInContainer(GetNodesInContainerRequest request)
in TestImportFiles.DocumentManagement.DocumentManagementClient.TestImportFiles.
DocumentManagement.DocumentManagement.GetNodesInContainer(GetNodesInContainerRequest request) in U:\TestImportFiles\TestImportFiles\Service References\DocumentMan
agement\Reference.cs:riga 8769
in TestImportFiles.DocumentManagement.DocumentManagementClient.GetNodesInContainer(OTAuthentication& OTAuthentication, Int32 containerID, GetNodesInContainerO
ptions options) in U:\TestImportFiles\TestImportFiles\Service References\DocumentManagement\Reference.cs:riga 8777
in TestImportFiles.DocumentoOpenTextImport.checkFolder(DocumentManagementClient docManClientTest, Int32 idFolder, String nomeFolder) in U:\TestImportFiles\Impo
rtSARASNew\DocumentoOpenTextImport.cs:riga 220
Someone could help me to resolve this problem? In the first version the procedure worked very well... but now I have this problem.
Thanks,
Marco