Download presentation
Presentation is loading. Please wait.
Published byDiana Lynch Modified over 9 years ago
1
Lab: 1. Deployment with AXIS 2. Observe SOAP messages Dr. Yuhong YAN NRC-IIT
2
Installation Follow the installation guide
3
Deployment for AXIS Instant Deployment and Deployment using WSDD are two methods specific to AXIS engine If you use other server, the deployment can be different Deployment is about how to put the code on the server You need authorization to operate server
4
How to load code on the server Server-client functions –ftp –ssh –webDev (a web interface for navigating and managing remote file system from web interface) If you can operate the file system on the server (that is what we do)
5
JWS (Java Web Services) Files: Instant Deployment Copy the *.jws to /axis/ The server uses the JDK to compile it, the class file is in WEB-INF/jwsClasses The service is not listed in server_config.wsdd Straight forward way for simple web services, almost no overhead to work as a web service. No package structure Not for production quality web services
6
Try the two examples HelloWorld –No package –Download helloWorld.zip –Put HelloWorldService.jws in %CATALINA_HOME%/webapps/axis –Run TestClient from a command window Java –cp %classpath% TestClient Calculator –The code is in %AXIS_HOME%/samples/userguide/example2 –Rename Calculator.java to Calculator.jws –Put Calculator.jws in %CATALINA_HOME%/webapps/axis –Run TestClient from a command window Java –cp %classpath% CalcClient
7
Deploy Web Services Using WSDD <deployment name="test" xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
8
Add a service into the services list Java org.apach.axis.client.AdminClient deploy.wsdd The command adds the service in deploy.wsdd into server-config.wsdd in %axis_home%/webapps/axis/WEB-INF
9
Observe SOAP messages Use the SOAPMonitor Open the log function in Tomcat
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.