Added code for delegating a task and processing JaxbCommandsResponse