Modified to use XML builder rather than hardcoded SOAP strings