diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-10-09 13:40:38 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-10-09 13:40:38 +0200 |
commit | 1c8feb0dd0ee0cf74e60d93853e6f5d57b034bee (patch) | |
tree | 90cbd22aee1b053fcde6ada9725be26a75cde31a /pdf-as-web/src/main/webapp/WEB-INF | |
parent | 11dd7f9d647b1ac8af91dc8aab82743a74a1cbaf (diff) | |
download | pdf-as-4-1c8feb0dd0ee0cf74e60d93853e6f5d57b034bee.tar.gz pdf-as-4-1c8feb0dd0ee0cf74e60d93853e6f5d57b034bee.tar.bz2 pdf-as-4-1c8feb0dd0ee0cf74e60d93853e6f5d57b034bee.zip |
WebServices with CXF, removed DB dependencies to pdf-as-web-db
Diffstat (limited to 'pdf-as-web/src/main/webapp/WEB-INF')
-rw-r--r-- | pdf-as-web/src/main/webapp/WEB-INF/sun-jaxws.xml | 11 | ||||
-rw-r--r-- | pdf-as-web/src/main/webapp/WEB-INF/web.xml | 20 |
2 files changed, 15 insertions, 16 deletions
diff --git a/pdf-as-web/src/main/webapp/WEB-INF/sun-jaxws.xml b/pdf-as-web/src/main/webapp/WEB-INF/sun-jaxws.xml deleted file mode 100644 index f62b8484..00000000 --- a/pdf-as-web/src/main/webapp/WEB-INF/sun-jaxws.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<endpoints xmlns="http://java.sun.com/xml/ns/jax-ws/ri/runtime" - version="2.0"> - <endpoint name="SOAP Sign" - implementation="at.gv.egiz.pdfas.web.ws.PDFASSigningImpl" - url-pattern="/wssign"/> - - <endpoint name="SOAP Verify" - implementation="at.gv.egiz.pdfas.web.ws.PDFASVerificationImpl" - url-pattern="/wsverify"/> -</endpoints>
\ No newline at end of file diff --git a/pdf-as-web/src/main/webapp/WEB-INF/web.xml b/pdf-as-web/src/main/webapp/WEB-INF/web.xml index 82d00fdf..f8b886ca 100644 --- a/pdf-as-web/src/main/webapp/WEB-INF/web.xml +++ b/pdf-as-web/src/main/webapp/WEB-INF/web.xml @@ -29,15 +29,15 @@ <url-pattern>/*</url-pattern> </filter-mapping> - <listener> + <!-- listener> <listener-class>com.sun.xml.ws.transport.http.servlet.WSServletContextListener</listener-class> - </listener> + </listener--> - <servlet> + <!-- servlet> <servlet-name>SOAPSign</servlet-name> <servlet-class>com.sun.xml.ws.transport.http.servlet.WSServlet</servlet-class> - </servlet> + </servlet--> <servlet> <servlet-name>SignServlet</servlet-name> <description> @@ -47,6 +47,12 @@ <load-on-startup>0</load-on-startup> </servlet> <servlet> + <servlet-name>CXFServlet</servlet-name> + <display-name>CXFServlet</display-name> + <description></description> + <servlet-class>at.gv.egiz.pdfas.web.servlets.SoapServiceServlet</servlet-class> + </servlet> + <servlet> <servlet-name>ProvidePDF</servlet-name> <display-name>ProvidePDF</display-name> <description></description> @@ -116,9 +122,13 @@ servlet mappings, including zero. It is also legal to define more than one mapping for the same servlet, if you wish to. --> - <servlet-mapping> + <!-- servlet-mapping> <servlet-name>SOAPSign</servlet-name> <url-pattern>/wssign</url-pattern> + </servlet-mapping --> + <servlet-mapping> + <servlet-name>CXFServlet</servlet-name> + <url-pattern>/services/*</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>SignServlet</servlet-name> |