See the docs for how it works, for instance this and this. You published the service succesfully? Download the swagger.json by rightclicking the Service in the ProjectExplorer. Import that in Swaggerui and test the service. Then try to do the same in your consuming app. Where do you run into problems?