Changed replace => replaceFirst for path

Better separation of CXF endpoints.

i.e. if there is a domain "test" registering paths as /test/Service/Version1 provides more clarity and better separation than /testServiceVersion1