Web Service Connector Tool is Unable to Generate the XML Document

Summary

When using the Web Service Connector tool, you see “An exception was raised” errors in the Event Log for the task step.

This article describes the symptoms and how to resolve the problem

Cause

The types of errors you see are:

and:

with the task step failing to generate.

This is typically caused by a build-up of Windows temporary files. Such files should be removed once they are no longer needed, however, from time-to-time some remain:

Resolution

  1. From the BPA Platform machine that runs the Web Service Connector tasks, open File Explorer as the Administrator.
  2. Browse to C:\Windows\Temp\.
  3. Delete all files that have the structure tmp<random_characters>.tmp.

The Web Service Connector task step should now complete successfully.