The Source for Java Technology Collaboration
User: Password:
Register | Login help    

Search

Online Books:
java.net on MarkMail:


Webservice @WebMethod

Posted by mriem on June 22, 2009 at 9:15 AM PDT
How do you tell the JAXWS runtime to expose a given method as a webservice method? Easy, use the @WebMethod annotation, see the Webservice Almanac page for more information.
Related Topics >> Java Enterprise      
Comments
Comments are listed in date ascending order (oldest first)

How do you tell JAXWS not to use the built-in webserver (the one in JDK 6) when you're running your code in another webserver already (Jetty, or Tomcat) ?

Make sure you have the JAXWS servlet listener setup in your web.xml and it will know that you are already running it in a webserver.

how to tell the runtime not to include the method @webMethod(exclude= true) doesn't work it fails in wsgen when generating wsdl