[java/javaNode] pretty ugly fix for service port calls: but it works for now