I resolved my problem moving the set header tag before transformation, but now when I try to get the destination uri from the body message it doesn't work:
When I put a different constant value and restart the provider component that receives the header (destination uri) the provider works fine and calls the right service. I restart the provider because of the bug that doesn't dynamically actualize the locationURI and hoping that you will soon fix it in a future release.
But when I try with xpath to get the header from the body message (I checked that the xsd:bolocation element is present and correct), the provider use the default service address established in the wsdl. What I want is actually to get the providers locationURI from a parameter that is included in the request message.
I'm pretty sure that I'm doing someting wrong getting the "xsd:bolocation" value because the routing with "xsd:operation" works fine.
I would appreciate any help, please.
I found out what was wrong... I had to add the resultType attribute as it follows: