Developers, Developers, Developers! Maksim Sorokin IT Blog

27Jul/11Off

CXF RESTful Webservices: Running on a Different Port

This is a short post in Maven + Apache Felix + CXF + DOSGi Series

If you want webservices to be published on a different port, add the following to your config.properties:

org.osgi.service.http.port=8081

And also change the publishing line in the Activator:

restProps.put("org.apache.cxf.rs.address", "http://localhost:8081/");
Comments (0) Trackbacks (0)

Sorry, the comment form is closed at this time.

Trackbacks are disabled.