Does anyone have an example of how to configure the PublishWorkflow action of /Nintexworkflow/workflow.asmx?
So far, I've configured it like below, but keep getting this error message:
Server was unable to process request. ---> There is an error in XML document (0, 0). ---> Root element is missing.
<?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>
<PublishWorkflow xmlns="http://nintex.com">
<wfName>New Workflow</wfName>
<activityConfigs></activityConfigs>
<listId>{447D712E-647E-470A-BF71-7B04538FB526}</listId>
<contentTypeId></contentTypeId>
<changeNotes></changeNotes>
</PublishWorkflow>
</soap:Body>
</soap:Envelope>
It seems the issue is in the activityConfigs node, where an xml node may be expected, but I can’t find documentation on the webservice method anywhere.
… as for alternatives, what I’m trying to do is this:
1) Create new site from template with Nintex workflows in it using Nintex Workflow Create Site
2) Workflows are created as draft in the new site
3) Use Call Webservice to publish said workflows.
Any help would be appreciated.
Thanks,
Christoffer