Artículo

Fecha: 2010-04-20 15:59:06

Execute servlet filter before calling Axis web service

Example of filter which executes before the Axis web service call:

public class AxisFilterServlet extends AxisServlet {

	protected void service(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		
		super.service(req, resp);

        }

}


And modify AxisServlet mapping in the web.xml

	<servlet>
		<display-name>Apache-Axis Servlet</display-name>
		<servlet-name>AxisServlet</servlet-name>
		<servlet-class>pkg.AxisFilterServlet</servlet-class>
	</servlet>




Autor: Jose Miguel Bataller

Buscador

Buscar


Últimas entradas

Preseleccionar un option de un element select html con jQuery »

Testing for Empty elements in XSL »

Convert XML File to String »

Java Keytool Commands for Managing security certificates »

Execute servlet filter before calling Axis web service »

Set trustStore for SSL connection in Java »

Example of a client-wsdd.config »

Convert Axis Java Object to XML »

Validating a String using Regex in Java »

Open browser in Java »