Sun Java System Web Server 7.0 Update 3 Developer's Guide to Java Web Applications

ProcedureTo Create Web Services from Java Classes

  1. Use wsgen to generate portable artifacts.

  2. Package the web.xml, sun-jaxws.xml, service endpoint interface and implementation class, value types, and generated classes, if any, into a WAR file.

  3. Deploy the WAR file to Web Server.