axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: axis2 Could not identify the Annotation
Date Sat, 12 Oct 2013 23:16:26 GMT
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 such method is available the container must respond with a HTTP "406 Not Acceptable"
as specified by RFC 2616"

HTH,
Martin


  





Date: Sat, 12 Oct 2013 16:08:26 +0800
From: hellozengsong@gmail.com
To: java-user@axis.apache.org
Subject: axis2 Could not identify the Annotation




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 not identify the Annotation Tips for how to solve this 


hellozengsong@gmail 		 	   		  
Mime
View raw message