LeSCWiki . Internal . WebServiceTutorialJ2EE Web Service TutorialThe tutorial will equip you with the knowledge to start writing web services and client in a J2EE environment. It will guide you through the process of setting up yourdevelopment environment, understanding a WSDL document and its relationship with SOAP and the Java API to use to write a Web Service and client.RequirementsThe following software must be installedJ2EE SDK (a.k.a. Sun Application Server v.8) - Download the "All-in-one" bundle from the Java website. Install the package by following the on-screen instruction.After installation, add J2EE_HOME/bin to your PATH environment to gain instant access to the J2EE tools. Please ensure your CLASSPATH environment is not set. Tocheck your system is setup correctly, run[me@mybox ~]$ wscompile -versionJAX-RPC Standard Implementation (1.1.1, build R5)Apache ANT 1.6 or above - Download the Ant tool from Apache. Please ensure the ANT_HOME points to the right Ant directory, and ANT_HOME/bin is at thebeginning of your PATH to make sure you are not using other one. To check (version must be equal or greater than 1.6+),[wwhl@mybox ~]$ ant -versionApache Ant version 1.6.1 compiled on February 12 2004PreparationIn order to help you packaging up your service, an Ant script has been prepared for you. The Ant script utilises the ICENI build system and the ICENI wsdl-to-java Antplugin, which is used in the Markets Project and WS-JDML. It should take away ...
Voir