AnsweredAssumed Answered

Error Using Call Web Service - Startworkflow

Question asked by martinc on Dec 17, 2015
Latest reply on Dec 17, 2015 by martinc

Hi all,

 

I have Nintex workflows that I use Call Web Service functions to start other workflows.

I use Web Services to start new workflows so I can use a system account to run the workflows.

 

All of a sudden these are getting errors like "An error occurred while parsing EntityName. Line 2, position 429." but they aren't causing the workflow to error.  I only know about the error because I am logging errors in the Call Web Service function.

 

I have been using this same process for years and not had this problem.

A search on the internet has talked a lot about having special characters in the EntityName but I do not have these.  I have dashes - and underscores _ but those aren't special characters and I have been using those for years for file names.

 

Here is a screenshot of the web service call that is having a problem. This was imported from a SP2007 environment into my SP2013 environment and has worked fine for months.

I recreated the call web service from scratch and it still fails.  It looks a little different but doesn't work.

 

Current SOAP:

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

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

    <soap:Body>

        <StartWorkflow xmlns="http://nintex.com">

            <fileUrl>{Common:ItemUrl}</fileUrl>

            <workflowName>1 Start</workflowName>

        </StartWorkflow>

    </soap:Body>

</soap:Envelope>

 

Rebuilt SOAP:

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

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:m="http://nintex.com">

  <soap:Header>

  </soap:Header>

  <soap:Body>

    <m:StartWorkflow>

      <m:fileUrl>{Common:ItemUrl}</m:fileUrl>

      <m:workflowName>1 Start</m:workflowName>

      <m:associationData>

      </m:associationData>

    </m:StartWorkflow>

  </soap:Body>

</soap:Envelope>

Outcomes