Ragazzi aiutatemiii!
Sto cercando di creare da una settimana un webservice di prova..sono giunto alla conclusione che al momento vorrei usare axis. Ho installato e visto fungere tomcat. Ho fatto copia incolla anche delle librerie axis ma quando faccio la validation mi spunta:
Needed Components

* Found SAAJ API ( javax.xml.soap.SOAPMessage ) at an unknown location

* Found JAX-RPC API ( javax.xml.rpc.Service ) at /home/lorenzo/apache-tomcat-6.0.14/webapps/axis/WEB-INF/lib/jaxrpc.jar

* Found Apache-Axis ( org.apache.axis.transport.http.AxisServlet ) at /home/lorenzo/apache-tomcat-6.0.14/webapps/axis/WEB-INF/lib/axis.jar

* Found Jakarta-Commons Discovery ( org.apache.commons.discovery.Resource ) at /home/lorenzo/apache-tomcat-6.0.14/webapps/axis/WEB-INF/lib/commons-discovery-0.2.jar

* Found Jakarta-Commons Logging ( org.apache.commons.logging.Log ) at /home/lorenzo/apache-tomcat-6.0.14/webapps/axis/WEB-INF/lib/commons-logging-1.0.4.jar

* Found Log4j ( org.apache.log4j.Layout ) at /home/lorenzo/apache-tomcat-6.0.14/webapps/axis/WEB-INF/lib/log4j-1.2.8.jar

* Found IBM's WSDL4Java ( com.ibm.wsdl.factory.WSDLFactoryImpl ) at /home/lorenzo/apache-tomcat-6.0.14/webapps/axis/WEB-INF/lib/wsdl4j-1.5.1.jar

* Found JAXP implementation ( javax.xml.parsers.SAXParserFactory ) at an unknown location

* Found Activation API ( javax.activation.DataHandler ) at an unknown location

Quando compilo un classe invece mi da:

1. ERROR in TestClient.java (at line 1)
import org.apache.axis.client.Call;
^^^^^^^^^^
The import org.apache cannot be resolved
----------
2. ERROR in TestClient.java (at line 2)
import org.apache.axis.client.Service;
^^^^^^^^^^
The import org.apache cannot be resolved
----------
3. ERROR in TestClient.java (at line 11)
Service service = new Service();
^^^^^^^
Service cannot be resolved to a type
----------
4. ERROR in TestClient.java (at line 11)
Service service = new Service();
^^^^^^^
Service cannot be resolved to a type
----------
5. ERROR in TestClient.java (at line 12)
Call call = (Call) service.createCall();
^^^^
Call cannot be resolved to a type
----------
6. ERROR in TestClient.java (at line 12)
Call call = (Call) service.createCall();
^^^^
Call cannot be resolved to a type
----------
7. ERROR in TestClient.java (at line 17)
String ret = (String) call.invoke( new Object[] { 1,2 } );
^
Type mismatch: cannot convert from int to Object
----------
8. ERROR in TestClient.java (at line 17)
String ret = (String) call.invoke( new Object[] { 1,2 } );
^
Type mismatch: cannot convert from int to Object

Dove sbagliooooo! AIUTOATEMIII! Grazie ciao!