fixes and improvements for the interface of the soap2 wrapper