Ok, I just copy and pasted your code and it seems to work for me. Is this the response you are expecting?
And here is the Visual Trace. I added $$$LOGINFO("Constructing Reply") in the first line to make sure your method was being called.
The output is being passed by reference. Are you using the correct variable name for your response message? The first argument in my method signature is pReplyDoc so I use pReplyDoc throughout my method.
Then don't forget to restart your component...I just forgot like 3 or 4 times.
Certifications & Credly badges:
Global Masters badges:
Followers:
Shamus has no followers yet.
Following:
Shamus has not followed anybody yet.
You can use the following:
<assign property='target.Source' value='source.Source' action='set'/>
This applies to any body property. Notice the difference between source (lowercase 's') representing the source message and Source (uppercase 'S') representing the body property. The more general syntax would be:
<assign property='target.BodyPropName' value='source.BodyPropName' action='set'/>
If you are using the graphical editor, you add a set action and type in the Property and Value.