Hi Mohammed Amine
XPaths doesn't need the @Value part. So just use
/loginResponse/result/serverUrl
/loginResponse/result/sessionId
Check out a similar approach that I've covered in my following blog. The XPath stuff is in step 2.
HCI: Developing custom OAuth 2.0 authentication in iFlows
Regards
Eng Swee