client访问webservice服务
String URL = "xxx";
String namespace = "yyy";
String operation = "Interface";
Object[] objArray = new Object[5];
objArray[0] = "111";
objArray[1] = "222";
objArray[2] = "333";
JaxWsDynamicClientFactory factory = JaxWsDynamicClientFactory.newInstance();
Client client = factory.createClient(URL);
QName opName = new QName(namespace, operation);
Object[] results = client.invoke(opName ,objArray);
网友评论