最简单的webservice调用 折腾半天,还是xfire的最简单
Client client = new Client(new URL( "http://testws.com/testWs?wsdl")); Object[] results = client .invoke("testMethod", new Object[] {"p1","p2","p3"}); System.out.println(results[0]);