Hello
I tried Tomcat7 and GraniteDS
3.1.0.GA without Spring4 and it worked.
But Tomcat7, Spring4.1 and GraniteDS
3.1.0.GA does not work.
It just said
(mx.rpc::Fault)#0
content = (null)
errorID = 0
faultCode = "Destination not found: myTestService"
faultDetail = "null"
faultString = ""
message = "faultCode:Destination not found: myTestService faultString:'null' faultDetail:'null'"
name = "Error"
rootCause = (null)
And I noticed "META-INF/services-config.properties" is still zero byte after Tomcat was launched.
What did I miss? And what should I check?
I read "Integration with Spring" and I put "META-INF/services-config.properties"
and I configured
applicationContext.xml
<graniteds:server-filter url-pattern="/*"/>
services-config.xml
granite-service and a channel named "graniteamf"
granite-config.xml
<granite-config scan="true"/>
dispatcher-servlet.xml
(only a bean)
web.xml
context-param
ContextLoaderListener
RequestContextListener
DispatcherServlet
servlet-mapping
and a test service is just like bellow
@Service("myTestService")
@RemoteDestination(id = "myTestService", source = "myTestService")
public class MyTestService {
Why does not Spring pick up "MyTestService" as a service??
thanks