/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  org.apache.axis.client.Call
 *  org.apache.axis.client.Service
 */
package com.hst.webService.service;

import java.net.URL;
import javax.xml.namespace.QName;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;

public class Test {
    public static void main(String[] args) {
        try {
            String endpoint = "http://192.168.10.249:9999/taxService/services/server?wsdl";
            Service service = new Service();
            Call call = null;
            call = (Call)service.createCall();
            call.setOperationName(new QName("server", "doService"));
            call.setTargetEndpointAddress(new URL(endpoint));
            String ywid = "wxfwh.WycxZxzcZxwjMx";
            String parmJson = "{\"uid\":\"ea16224e51\",\"bid\":\"wxfwh.WycxZxzcZxwjMx\",\"swjgDm\":\"13301000000\",\"openId\":\"1234567890\",\"zcwjDjxh\":\"1000000200\",\"sid\":\"\",\"kz\":\"\",\"ver\":\"1.0\"}";
            String Str = (String)call.invoke(new Object[]{ywid, parmJson});
            System.out.println("return value is ---" + new String(Str));
        }
        catch (Exception ex) {
            ex.printStackTrace();
        }
    }
}
