sysrep:tp2
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| sysrep:tp2 [2013/12/11 12:28] – orel | sysrep:tp2 [2024/03/18 15:06] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ====== TP2 : Web Services ====== | ====== TP2 : Web Services ====== | ||
| + | On suppose le serveur Apache Tomcat correctement installé (cf. TP1). | ||
| - | Guide utilisateur : http:// | + | __Documentation__ |
| - | On suppose le serveur Apache Tomcat correctement installé (cf. TP1). | + | * Guide utilisateur Axis : http://ws.apache.org/ |
| + | * Un peu d'aide sur WSDL : http:// | ||
| ==== Installation de Axis ==== | ==== Installation de Axis ==== | ||
| Line 54: | Line 56: | ||
| Récupérez la description WSDL du service HelloWorld, puis générez les stubs avec la commande : | Récupérez la description WSDL du service HelloWorld, puis générez les stubs avec la commande : | ||
| - | java -cp / | + | java -cp ${AXIS_HOME}/lib/\* org.apache.axis.wsdl.WSDL2Java HelloWorld.wsdl |
| Compilez les fichiers stubs. | Compilez les fichiers stubs. | ||
| Line 78: | Line 80: | ||
| </ | </ | ||
| + | Pour compiler et exécuter : | ||
| + | |||
| + | <code bash> | ||
| + | $ javac -cp ${AXIS_HOME}/ | ||
| + | $ java -cp ${AXIS_HOME}/ | ||
| + | </ | ||
| + | | ||
| ====Utilisation d'un Web Service sur Internet==== | ====Utilisation d'un Web Service sur Internet==== | ||
sysrep/tp2.1386764918.txt.gz · Last modified: 2024/03/18 15:05 (external edit)
