CXF jaxws endpoint relative publish address CXF jaxws endpoint relative publish address spring spring

CXF jaxws endpoint relative publish address


The answer was, of course, simple (banging-head-on-desk simple, that is). In my cxf bean definitions, i was not importing the "cxf-servlet.xml" file as seen here http://cxf.apache.org/docs/servlet-transport.html. If this file is not imported, cxf assumes it should use the embedded jetty instance instead of my CXF servlet. My guess is the jetty instance only works with endpoints specifying an absolute publish address.


Shouldn't it be

address="/HelloWorldService"

?