How to create SOAP demo?

I'm trying to follow the instructions at http://mywheel.net/blog/index.php/2007/03/28/web-services-in-java-6/

Are these wrong or obsolete? Below are my results.

Thanks,

Siegfried

-

bash-3.2$ apt -d example example/Hello.java

example/Hello.java:3:package javax.jws does not exist

import javax.jws.WebService;

^

example/Hello.java:4:package javax.xml.ws does not exist

import javax.xml.ws.Endpoint;

^

example/Hello.java:6: cannot find symbol

symbol:class WebService

@WebService

^

example/Hello.java:9: cannot find symbol

symbol :class WebMethod

location:class example.Hello

@WebMethod

^

warning: No annotation processors found but annotations present.

1 warning

example/Hello.java:3:package javax.jws does not exist

import javax.jws.WebService;

^

example/Hello.java:4:package javax.xml.ws does not exist

import javax.xml.ws.Endpoint;

^

example/Hello.java:6: cannot find symbol

symbol:class WebService

@WebService

^

example/Hello.java:9: cannot find symbol

symbol :class WebMethod

location:class example.Hello

@WebMethod

^

example/Hello.java:16: cannot find symbol

symbol :class Endpoint

location:class example.Hello

Endpoint endpoint = Endpoint.publish("http://localhost:8080/hell

o",

^

example/Hello.java:16: cannot find symbol

symbol : variable Endpoint

location:class example.Hello

Endpoint endpoint = Endpoint.publish("http://localhost:8080/hell

o",

^

6 errors

bash-3.2$

[2365 byte] By [siega] at [2007-11-27 0:24:10]
# 1

I have also tried to follow the instructions at http://www.apress.com/ApressCorporate/supplement/1/10109/1590596609-3642.pdf .

I don't get any errors when I

bash-3.2$ /c/Program\ Files/Java/jdk1.6.0/bin/javac.exe net/zukowski/revealed/

HelloService.java

bash-3.2$ /c/Program\ Files/Java/jdk1.6.0/bin/wsgen.exe -cp . net.zukowski.rev

ealed.HelloService

bash-3.2$

Now what do I do? How do I deploy the web service? What web server do I use?

Thanks,

Siegfried

siega at 2007-7-11 22:20:34 > top of Java-index,Core,Core APIs...
# 2
OK, figured out hot to make net.zukowski.reveled.HelloService to work thanks to http://java.sun.com/developer/technicalArticles/J2SE/jax_ws_2/.Now how would I deploy this soap service to tomcat or some other web server? Is that possible?Thanks,Siegfried
siega at 2007-7-11 22:20:34 > top of Java-index,Core,Core APIs...