axis2 Could not identify the Annotation

2013-10-12 Thread hellozengsong@gmail
axis2-1.6.2 Deploy tomcat7.0 console: Could not identify the Annotation Could not identify the Annotation my code: @Service("iMSServiceImpl") public class SimpleServiceImpl implements SimpleService{ @Autowired @Qualifier("iMSServiceFunction") private SimpleDao simpleDao; } out Could no

Re: Axis Fault: Must Understand check failed for header

2013-10-12 Thread Kishanthan Thangarajah
Can you try engaging the "addressing" module on the client side and try again? For example it can be done by the following code segment ServiceClient serviceClient = stub._getServiceClient(); serviceClient.engageModule("addressing"); You need to have addressing module related libraries in your c

Re: [Axis2] Upgrading from Axis2 1.4 to Axis2 1.6.2 version.

2013-10-12 Thread Kishanthan Thangarajah
You should be able to do your upgrade without any issues. AFAIK there were no major API change from 1.4 to 1.6.2. But if you do get into any issues, please let us know so that we could try to help in resolving them. On Fri, Oct 11, 2013 at 5:34 AM, Raghu Upadhyayula < [email protected]>

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

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