users@glassfish.java.net

Re: JAX-WS and Servlet2.4 web.xml

From: <glassfish_at_javadesktop.org>
Date: Wed, 23 Jan 2008 22:46:42 PST

Hi bhaktimehta ,

Thanks very much for your reply.
I used the information in your reply to search for more information and found this <a href="http://java.sun.com/developer/EJTechTips/2006/tt0429.html">"PORTING JAVA WSDP 2.0-BASED WEB SERVICES TO JAVA EE 5"</a> article.

<blockquote>
Also, you no longer need to package a web.xml file. If you don't provide the file, the platform will define a default one. However if you do provide it for packaging with the web service, you need to ensure that:

    * The web.xml file points to the latest servlet schema:

           <web-app xmlns="http://java.sun.com/xml/ns/javaee"
           xmlns:j2ee="http://java.sun.com/xml/ns/javaee"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           version="2.5" xsi:schemaLocation=
           "http://java.sun.com/xml/ns/javaee
           http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">

      This is important because annotation processing will happen only for applications that use Java EE5-based descriptors.
</blockquote>
[Message sent by forum member 'devguli' (devguli)]

http://forums.java.net/jive/thread.jspa?messageID=255526