“Failed to invoke web service. Error returned from server: The remote server returned an error: (400) Bad Request.”
I am pretty sure you must have received this error when you tried calling web service using Nintex workflow.
Well, I did encounter this!!
I configured the call web service action like below
Here, I am starting the workflow SW_Restrict Permission using this web service and passing the parameters in the variable associationData. Association data is the xml that is generated.
Now, on triggering this workflow, it error-ed at this very step to call web service.
Hence, some trial and errors, and bingo… i got my solution.
All that is needed here is to check the check box for Encode Inserted Tokens.
Actually, the data that is passed to the web service in the form of parameters or association data needs to confirm to the SOAP packet definition. And as expected, my association data contains xml that breaks it…!
Hence, check the check box and the rest is done.
Happy Nintexing!!! 🙂