That’s not a problem. If you already have a field mapped to the BODY field, then here is a way to get both pieces of data in there:
Insert a map step above the call to the SMTP service or anyplace convenient. I usually call it mailBody.
When you set the mailBody field, take the first string that you are mapping currently to the body field of the SMTP service, call it myField, and using large editor (right mouse click on the setValue box and choose large and it opens up a notepad looking box) insert the field:
%myField%
%xmldata%
NOTE: I am using carriage returns so that the data is not clumped together.
Then, once this is complete, step through the service to make sure that the field contains data formatted properly. Don’t forget to map the new mailBody field to the body field of SMTP.
This is simple substitution and really easy to do. But, keep in mind that you need to comment your maps carefully or you will be hunting for this later on when you want to make a change.
HTH
Ray
#Integration-Server-and-ESB#Flow-and-Java-services#webMethods