reformat of soapadapter for pep8 cleaning.