Hello All,
I am using DFS 6.5 workflow service to instantiate a workflow from my .net application.
Below is the code sample:
DFSWSDLConsumer.WorkflowServiceReference.ObjectIdentity objectIdentity = new DFSWSDLConsumer.WorkflowServiceReference.ObjectIdentity();
objectIdentity.Item = "4b0161f1800001a7"; //r_object_id of the process in dm_process object
objectIdentity.repositoryName = "ReDoc"; //repository name
objectIdentity.valueType = DFSWSDLConsumer.WorkflowServiceReference.ObjectIdentityType.OBJECT_ID;
objectIdentity.valueTypeSpecified = true;
ProcessInfo processInfo = workflowService.getProcessInfo(objectIdentity); //this line throws an exception
DFSWSDLConsumer.WorkflowServiceReference.ObjectIdentity identity = workflowService.startProcess(processInfo);
using the object identity when i try to instantiate the method getProcessInfo on the workflow service , I get an exception. The stack trace is as below:
Server stack trace: at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at DFSWSDLConsumer.WorkflowServiceReference.WorkflowServicePort.getProcessInfo(getProcessInfoRequest request) at DFSWSDLConsumer.WorkflowServiceReference.WorkflowServicePortClient.DFSWSDLConsumer.WorkflowServiceReference.WorkflowServicePort.getProcessInfo(getProcessInfoRequest request) in
\Softwares\DFSWSDLConsumer\Service References\WorkflowServiceReference\Reference.cs:line 2582 at DFSWSDLConsumer.WorkflowServiceReference.WorkflowServicePortClient.getProcessInfo(ObjectIdentity process) in
\Softwares\DFSWSDLConsumer\Service References\WorkflowServiceReference\Reference.cs:line 2588 at DfsWsdlConsumer.MainForm.GetWorkflowProcess() in
\Softwares\DFSWSDLConsumer\GetWorkflow.cs:line 101
The error message is "java.lang.String".
Please provide me pointers in resolving the issue.
Thanks,
Megha