package test;

import org.apache.cxf.endpoint.Client;
import org.apache.cxf.endpoint.dynamic.DynamicClientFactory;
import org.streamlinedsalestax.efile.Send;

public class My_EFileService_Client {


	public static void main(String[] args) {
		
		My_EFileService_Client driver = new My_EFileService_Client();
		try {
			driver.go();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
	
	private void go() throws Exception {
		
		Client client = DynamicClientFactory.newInstance().
			createClient("http://localhost:6980/efile/EFileService?wsdl";, getClass().getClassLoader());
		
//		Send s = new Send();   // fix this
//		Object result = client.invoke("send", s);
//		System.out.println(result.toString());
	}

}

Reply via email to