modified service port builder to use the new api defined