GoIllini
Scholar

Unable to Complete Flexi Task via Web Service

I am on Sharepoint 2010 and trying to complete a flexi task via web service. My configurations are as follows, but I'm unable to get it to run without error. What am I doing wrong?

 

flexi task.PNG

 

web service.PNG

 

Error from ULS log:

 

Nintex.Workflow.NWActionExecutionException: Error returned from server: <soap:Fault xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>soap:Client</faultcode><faultstring>Server was unable to read request. ---&gt; There is an error in XML document (1, 339). ---&gt; Input string was not in a correct format.</faultstring><detail /></soap:Fault> ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.GetResponse()
at phM=.uxM=.vhM=(yhM= vxM=, String wBM=, SoapVersion wRM=, String whM=, String wxM=, Security xBM=, HttpWebRequest xRM=)
at phM=.uxM=.vBM=(yhM= vRM=)
at Nintex.Workflow.Activities.CallWebServiceActivity.Execute(ActivityExecutionContext executionContext)
at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)
at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext)
at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
at System.Workflow.Runtime.Scheduler.Run() -
-- End of inner exception stack trace --- (Build:2570)

0 Kudos
Reply
1 Reply
SimonMuntz
Nintex How-To Center Expert
Nintex How-To Center Expert

Re: Unable to Complete Flexi Task via Web Service

Hi,

You are using a inserted token for the task ID.
If you tick the "Encode inserted tokens" check box does it work then.
0 Kudos
Reply