Allowing multiple shapes of XML as body in message to domain