To add a restful service that will be used by the AssertionManager, you have to :
<!-- REST web service --> <context-param> <param-name>resteasy.jndi.resources</param-name> <param-value>${yourProjectContextName}/AssertionWSProvider/local</param-value> </context-param> <context-param> <param-name>resteasy.servlet.mapping.prefix</param-name> <param-value>/rest</param-value> </context-param> <context-param> <param-name>resteasy.use.builtin.providers</param-name> <param-value>true</param-value> </context-param> <!-- resteasy --> <listener> <listener-class>org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap</listener-class> </listener> <servlet> <servlet-name>Resteasy</servlet-name> <servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class> </servlet> <servlet-mapping> <servlet-name>Resteasy</servlet-name> <url-pattern>/rest/*</url-pattern> </servlet-mapping>
Example of use :
http://k-project.ihe-europe.net/XDStarClient/rest/testAssertion/coverage/all
http://k-project.ihe-europe.net/XDStarClient/rest/testAssertion/coverage/idScheme?idScheme=CLO