import org.apache.axis.client.Call; import org.apache.axis.client.Service; import javax.xml.namespace.QName; public class Client { public static void main(String [] args) { try { String endpointURL = "http://localhost:8080/axis/services/SilverService"; Integer in = new Integer(10); Service service = new Service(); Call call = (Call) service.createCall(); call.setTargetEndpointAddress( new java.net.URL(endpointURL) ); call.setOperationName( new QName("SilverService", "getIncrement") ); Object ret = call.invoke( new Object[] { in } ); System.out.println("Object = " + ret.getClass().getName()); System.out.println("Number Returned : " + ret.toString()); } catch (Exception e) { System.err.println(e.toString()); } } }