Moving older soap api code