Developers, Developers, Developers! Maksim Sorokin IT Blog

27Jul/111

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 (1) Trackbacks (0)
  1. Excellent stuff from you, man. I’ve read your things before and you are just too awesome. I adore what you have got right here. You make it entertaining and you still manage to keep it smart.This is truly a great blog thanks for sharing


Leave a comment


Trackbacks are disabled.