Treffer: Web Services & Apache Axis.
Weitere Informationen
This article uses Apache Axis, a program designed to simplify the development of web services, to work with web services from both the client and the server side. Developing wen services by manually writing Simple Access Object Protocol (SOAP) messages and Web Services Definition Language (WSDL) is a tedious and error-prone process. Application program interfaces that help construct SOAP messages by assembling all of their components are useful but still require lots of coding. Apache Axis delivers an environment that makes both these approaches unnecessary. To start using Apache Axis, take a look at the WSDL for a web service at http://tremblett.ca/axis/TemperatureConversion.jws. At the outset, users must have a properly configures operational application server. The Axis documentation recommends Jakarta Tomcat. Once the prerequisites have been satisfied, users can develop and deploy a web service by executing three steps. First, download and extract the program Apache Axis, available as both a gzipped tarball and a .zip file. Next, deploy the Axis server, a web application that defines three servlets--AxisServlet, AdminServlet, and SOAPMonitor Service. Finally, write eight lines of Java Code. This is Java class that converts Fahrenheit to Celsius and vice versa. Save it the webapps/axis directory, but instead of using a .javaextension name, name it TemperatureConversion.jws.