users@jax-rpc.java.net

RE: jax-rpc web.xml getting overwritten?

From: Kevin Jones <kevinj_at_develop.com>
Date: Mon, 16 May 2005 19:04:24 +0100

Create a web.xml file and make sure it is in the WEB-INF directory of the
'raw' war file. When you cook the file (using wsdeploy) then the bits in
your web.xml will get transferred to the final web.xml,

Kevin Jones
http://kevinj.develop.com/weblog

> -----Original Message-----
> From: Rune Science [mailto:runescience_at_yahoo.com]
> Sent: 16 May 2005 18:56
> To: users_at_jax-rpc.dev.java.net
> Subject: jax-rpc web.xml getting overwritten?
>
> Hi. I have written a full fledged webservice, based on
> the simple hello sample.
>
> The thing is that I need to add to the servlet section
> of the web.xml the following lines.
>
> <init-param>
> <param-name>user</param-name>
> <param-value>me</param-value>
> <param-name>password</param-name>
> <param-value>pw</param-value>
> <param-name>database</param-name>
> <param-value>someconnection</param-value>
> </init-param>
>
> I noticed that there is a before web.xml and after the
> wscompile and deploy run, there is an updated web.xml
> file.
>
> The before web.xml has no servlet in it. This makes
> sense, because its a skeleton, but of course there is
> no servlet section yet.
>
> So I edit the lines to put the servlet name in there
> and the init param section.
>
> How do I get those lines into the web.xml, and get
> them to stay there? I tried to find some properties in
> the wscompile and the wsdeploy, and the config.xml,
> and the -ri.xml file. But there is no indication on
> how to do that.
>
> Can some one give me some advice???
>
>
>
> Yahoo! Mail
> Stay connected, organized, and protected. Take the tour:
> http://tour.mail.yahoo.com/mailtour.html
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
> For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net