[CXF-4767] Fixing one more NPE when JAX-RS endpoints register with WS-Discovery service

git-svn-id: https://svn.apache.org/repos/asf/cxf/trunk@1440922 13f79535-47bb-0310-9956-ffa450edef68