diff options
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 | 7 | ||||
-rw-r--r-- | pdf-as-web/src/main/webapp/WEB-INF/web.xml | 13 |
2 files changed, 20 insertions, 0 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 new file mode 100644 index 00000000..67648647 --- /dev/null +++ b/pdf-as-web/src/main/webapp/WEB-INF/sun-jaxws.xml @@ -0,0 +1,7 @@ +<?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"/> +</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 4d8a32cb..800c4505 100644 --- a/pdf-as-web/src/main/webapp/WEB-INF/web.xml +++ b/pdf-as-web/src/main/webapp/WEB-INF/web.xml @@ -29,6 +29,15 @@ <url-pattern>/*</url-pattern> </filter-mapping> + <listener> + <listener-class>com.sun.xml.ws.transport.http.servlet.WSServletContextListener</listener-class> + </listener> + + + <servlet> + <servlet-name>SOAPSign</servlet-name> + <servlet-class>com.sun.xml.ws.transport.http.servlet.WSServlet</servlet-class> + </servlet> <servlet> <servlet-name>SignServlet</servlet-name> <description> @@ -78,6 +87,10 @@ mapping for the same servlet, if you wish to. --> <servlet-mapping> + <servlet-name>SOAPSign</servlet-name> + <url-pattern>/wssign</url-pattern> + </servlet-mapping> + <servlet-mapping> <servlet-name>SignServlet</servlet-name> <url-pattern>/Sign</url-pattern> </servlet-mapping> |