I'm trying to build an XML for a soap request. cannot assign variable

Ok, I can create an template file. But I don’t know the way to use it and afterward give the necessary values.
Remember I do not want to use Windows-Legacy!