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$

