Package org.apache.axis.client.async

Examples of org.apache.axis.client.async.IAsyncCallback


        final Call call = new Call(new URL("http://live.capescience.com:80/ccx/GlobalWeather"));
        call.setUseSOAPAction(true);
        call.setSOAPActionURI("capeconnect:GlobalWeather:StationInfo#listCountries");
        call.setTimeout(new Integer(15 * 1000));
        call.setOperationName(new javax.xml.namespace.QName("capeconnect:GlobalWeather:StationInfo", "listCountries"));
        final AsyncCall ac = new AsyncCall(call, new IAsyncCallback() {
            public void onCompletion(IAsyncResult result) {
                Status status = result.getStatus();
                System.out.println(".....FINISHED");
                if (status == Status.COMPLETED) {
                    String[] c = (String[]) result.getResponse();
View Full Code Here

TOP

Related Classes of org.apache.axis.client.async.IAsyncCallback

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.