RE: axis2 Could not identify the Annotation

2013-10-12 Thread Martin Gainty
if your intention is to PUBLISH a service you should annotate with @Produces https://jsr311.java.net/nonav/javadoc/javax/ws/rs/Produces.html (the container WILL USE THE VALUE of the Produces when sending a response) If on the other hand the container sees no acceptable value for Produces "If no suc

RE: axis2 Could not identify the Annotation

2013-10-12 Thread Martin Gainty
you are missing @Path(ClassName) Why? Path Identifies the URI path that a resource class or class method will serve requests for. An example: @Path("widgets") public class WidgetsResource { @GET String getList() {...} @GET @Path("{id}") String getWidget(@PathParam("id") String id