Created
July 27, 2018 13:52
-
-
Save superlucky8848/7a177012d38afea3b02a4cf74995a2b8 to your computer and use it in GitHub Desktop.
Simple XCF non spring restful service config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0"> | |
<servlet> | |
<description>Apache CXF REST Endpoint</description> | |
<display-name>cxfREST</display-name> | |
<servlet-name>cxfREST</servlet-name> | |
<servlet-class>org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet</servlet-class> | |
<init-param> | |
<param-name>jaxrs.serviceClasses</param-name> | |
<param-value>com.speechocean.soLexiconWeb.test.RESTWebServiceTest</param-value> | |
</init-param> | |
<init-param> | |
<param-name>jaxrs.address</param-name> | |
<param-value>/rest</param-value> | |
</init-param> | |
</servlet> | |
<servlet-mapping> | |
<servlet-name>cxfREST</servlet-name> | |
<url-pattern>/servicesREST/*</url-pattern> | |
</servlet-mapping> | |
</web-app> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment