Changes

Workflow Task Type: Web Service - SOAP Message

970 bytes added, 18:29, 23 August 2013
no edit summary
* '''Endpoint''': The URL or IP address of the destination server
* Envelope Template: The content of the Web Service message to be sent to the external service. This can contain variables related to the object the workflow is triggered against.
 
==Important==
If the content from the custom fields being included within the SOAP message contain certain special characters it can disrupt the XML structure, making the message unreadable by the receiving server. The less than symbol (<) and ampersand (&) are two primary special characters to be concerned about. When including fields that may contain those characters you should use a special wrapper so the receiving understands that they are data content and not part of the XML structure:
 
For example, an '''address''' could contain ampersands, so should be included as:
<pre>
<primarycontact>
<firstname>@firstname@</firstname>
<lastname>@lastname@</lastname>
<address><![CDATA[@address@]]></address>
</pre>
 
* It is advisable to use CDATA for any field containing text since the contents are often unpredictable.
* It is also possible to sanitize the field data at the point of entry (i.e. using [[JavaScript Validation]], depending on how it is entered.
===Note===
0
edits