Thanks for your answer!
I solved the question with another tutorial:
http://www.personati.com/artigos/web_services.pdf
//===========================================================
package web_service_teste;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
public class web_teste
{
public static void main(String[] args)
{
try
{
String urlWS = "http://localhost:8080/web_service/services/HelloWorld";
Object[] params = { "ooo" };
Service service = new Service();
Call call = (Call) service.createCall();
call.setOperationStyle(org.apache.axis.constants.Style.WRAPPED);
call.setOperationUse(org.apache.axis.constants.Use.LITERAL);
call.setTargetEndpointAddress(urlWS);
call.setOperationName("sayHello");
String ret = (String) call.invoke(params);
System.out.println("Resultado: " + ret);
}
catch (Exception ex)
{
ex.printStackTrace();
}
}
}
//======================================================
We can not forget the jars:
axis.jar
jaxrpc.jar
commons-logging.jar
commons-discovery.jar
saaj.jar
wsdl4j.jar