In Progress

Unable to cast object of type 'BizAgi.Render.JQuery.Model.Request.RequestInfo' to type 'BizAgi.Render.JQuery.Model.Request.ProcessRequestInfo'

Hi, after upgrading from v9 to v10 one of the service calls we used to make has stopped working.

The service is GetActivityForm under RenderSOA.asmx

The input XML which used to work under v9 is :

<?xml version="1.0" encoding="utf-8"?>

<BizAgiWSParam>

<domain>mydomain</domain>

<userName>myuser</userName>

<Case>

<idCase>1201</idCase>

<idWorkItem>1403</idWorkItem>

</Case>

</BizAgiWSParam>

And calling this raises the following fault :

System.ServiceModel.FaultException was unhandled by user code

Message=System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.InvalidCastException: Unable to cast object of type 'BizAgi.Render.JQuery.Model.Request.RequestInfo' to type 'BizAgi.Render.JQuery.Model.Request.ProcessRequestInfo'.

at BizAgi.Render.JQuery.Model.Response.FormResponseBuilder..ctor(RequestInfo requestInfo)

at BizAgi.Render.JQuery.Model.Response.ResponseBuilderFactory.GetResponseBuilder(RequestInfo requestInfo, List`1 validationMessages)

at BizAgi.Render.JQuery.Facade.JsonModelFacade.GetResponse(RequestInfo requestInfo, List`1 validationMessages)

at BizAgi.Render.JQuery.Facade.JsonModelFacade.ProcessRequest(RequestInfo requestInfo)

at BizAgi.Web.Services.CRenderXML.ProcessRequestInfo(RequestInfo requestInfo, FormType formType)

at BizAgi.Web.Services.CRenderXML.GetActivityForm(String requestInfoData)

--- End of inner exception stack trace ---

Source=mscorlib

StackTrace:

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.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 myorgPortal.BizagiRenderEngine.RenderSOASoap.GetActivityForm(String requestInfoData)

at myorgPortal.BizagiRenderEngine.RenderSOASoapClient.GetActivityForm(String requestInfoData) in C:\Users\myuser\Documents\Visual Studio 2010\Projects\New\myorgPortal\myorgPortal\Service References\BizagiRenderEngine\Reference.vb:line 86

at myorgPortal.BizagiWSCalls.queryForm(Int32 caseID, Int32 workflowID, Int32 taskID, String taskName, Int32 radNumber) in C:\Users\myuser\Documents\Visual Studio 2010\Projects\New\myorgPortal\myorgPortal\BizagiWSCalls.vb:line 294

at myorgPortal.BizagiForm.refreshForm() in C:\Users\myuser\Documents\Visual Studio 2010\Projects\New\myorgPortal\myorgPortal\App_Controls\BizagiForm.ascx.vb:line 84

at myorgPortal.App_Controls_WorkflowOpenTasks.gvBizagiCLRequests_RowCommand(Object sender, GridViewCommandEventArgs e) in C:\Users\myuser\Documents\Visual Studio 2010\Projects\New\myorgPortal\myorgPortal\App_Controls\WorkflowOpenTasks.ascx.vb:line 262

at System.Web.UI.WebControls.GridView.OnRowCommand(GridViewCommandEventArgs e)

at System.Web.UI.WebControls.GridView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup)

at System.Web.UI.WebControls.GridView.RaisePostBackEvent(String eventArgument)

at System.Web.UI.WebControls.GridView.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)

at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)

at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

InnerException:

photo
0

Dear Patrick

A member of our support team will contact you

best regards

Luis EMilio