7.0 Update 1 Technology Preview + JAX-WS problem

Hi,

Have anybody deployed sucessfully war file with jax-ws webservices to the Web Server (7.0 U1 TP) yet?

I tried it (deployed a war file) but I can't acces my webservice. Is there any place in admin console where I can get a list of available web services (as in Glassfish console)?

I wrote my simple webservice with NetBeans and it works with Glassfish(=reference implementation). It is only a simple class with @WebService annotation, and nothing special in the web.xml.

Any idea?

Thx.

e.

[536 byte] By [einstanda] at [2007-11-26 23:38:24]
# 1

> Have anybody deployed sucessfully war file with

> jax-ws webservices to the Web Server (7.0 U1 TP)

> yet?

Yes. I was able to run the web services security sample (without setting security constraints, i.e., as a normal jaxws sample) bundled with the Web Server.

> I tried it (deployed a war file) but I can't acces my

> webservice.

What exactly is the error ? You may want to check the following link

http://developers.sun.com/webserver/reference/techart/websvcs_nb.html

> Is there any place in admin console where

> I can get a list of available web services (as in

> Glassfish console)?

No. At this point, Web Server treats a web services application as any other web application and you can only see the deployed applications list but not the list of services exposed by a web service app.

seemaAa at 2007-7-11 15:02:41 > top of Java-index,Web & Directory Servers,Web Servers...
# 2

Thx, I tried tutorial on the suggested link, and it works well.

But I would like to deploy a javaee 5 application, so my web.xml containts the servlet 2.5 DTD (in the tutorial this is 2.4) and I didn't put any special jax-ws thing to the web.xml (in the tutorial I must add the com.sun.xml.ws.transport.http.servlet.WSServlet servlet to it).

As I read in jsr-109:

"Servlet based web service endpoints using JAX-WS are not required to provide the web.xml

deployment descriptor file (see section 5.3.2.1)."

And it works in Glassfish well (without special notation in web.xml) but don't with SJSWS 7.0 U1 TP.

einstanda at 2007-7-11 15:02:41 > top of Java-index,Web & Directory Servers,Web Servers...
# 3
SJSWS 7.0 U1 does not support JSR 109.
seemaAa at 2007-7-11 15:02:41 > top of Java-index,Web & Directory Servers,Web Servers...