Skip to main content

I am seeing below error when K2 smartobject calls a wcf service from an activity event in the workflow. One of the error data field is updated with below error. But, didnt see any of the other data fields being updated. I want to know why workflow activity got completed. And as the response was not received from the wcf service - none of the data fields got updated. Due to which none of the paths were followed.Since, this error didnt error out the acitivity,, we couldnt see this in error profiles. Workflow got completed as activity was showing completed (without following any line rules). Instead, it should have been in error status.

Can someone please help to understand this?

 

Message: An error occurred while receiving the HTTP response to http:// Service URL.. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details., StackTrace:
Server stack trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Objectt] ins, Objectt] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

 

 

Hi,


 


It sounds like you would need to enable Process level Exception Handler "Log exception to the server" and "Log exception to the error log" so you can capture the failed request.


http://help.k2.com/onlinehelp/k2blackpearl/userguide/4.7/default.htm#thick_client_wizards/default_act_wizard/exception_rule.htm


Reply