You are here: Home > WebServices with Java, Axis, XDoclet and Eclipse > Create web services | deutsch | ||||
WebServices with Java, Axis, XDoclet and EclipseEffective WebServices Development |
Here is the easiest way to create a web service with Axis: Take a simple java class, which has one or more public methods and rename the *.java file in *.jws.
Like JSP compiled to servlets, Axis will compile these jws files at the first access into a complete web service. An explicit deployment is not necessary.
The file EchoHeaders.jws which is included in the Axis distrubution, is a sample for such a web service. The compiled class file is located in WEB-INF/jwsClasses. If you want to debug such web services some dodges are nessesary. In addition, the control via a deployment descriptor is not intended here.
Use web services |
| 1 | 2 | 3 | 4 | 5 | 6 | |
Web services as normal java classes |