Can i send an attachment in a Soap request?

I am sending a soap request with a txt attachment, Can i add this as a variable?