I’m getting input message as xml document to my orchestration. I’m trying to construct a message of different schema type by assigning some values from the input xml document.
I tried this using message assignment shape and I’m getting use of unconstructed message error.
What is the best way to assign values from message of type xml document to message of different type .
1) From your inputted message get the xml in the xmlDocument Variable (you can also take help of helper class to get XML from message), in Expression Shap.
2) Then in construction message assign xmlDocument Variable to your unconstructed message.