Created Porttoservice function (simple) and test file