Soap and rest sample implementation