dcsimg
NetBeans Web Services and web.xml
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Madeleine_Wright
Posted On:   Wednesday, February 28, 2007 05:30 PM

As far as I understand JAXWS 2.0, Web Services that don't use servlets or EJBs don't require a web.xml file. But NetBeans 5.5 generates one anyway along with a sun-web.xml - and the app won't run if you remove the latter. WHY? The JEE is set to 1.5 and the Sun AppServer 9.1 is being used. The documentation actually says: "The IDE automatically creates the deployment descriptors required for the server, if any. For the Sun Java System Application Server, no deployment descriptor is needed." (See: http://www.netbeans.org/kb/55/websvc-jax-ws.html) So why do we need the sun-web.xml? And is there a way of getting NetBeans NOT to generate a jsp page when a web service is created?    More>>

As far as I understand JAXWS 2.0, Web Services that don't use servlets or EJBs don't require a web.xml file. But NetBeans 5.5 generates one anyway along with a sun-web.xml - and the app won't run if you remove the latter. WHY?


The JEE is set to 1.5 and the Sun AppServer 9.1 is being used.


The documentation actually says: "The IDE automatically creates the deployment descriptors required for the server, if any. For the Sun Java System Application Server, no deployment descriptor is needed." (See: http://www.netbeans.org/kb/55/websvc-jax-ws.html) So why do we need the sun-web.xml?


And is there a way of getting NetBeans NOT to generate a jsp page when a web service is created?


Thanks.

   <<Less
About | Sitemap | Contact