客户端调用代码
package com.business.test;
import java.net.URL;
import org.codehaus.xfire.client.Client;
public class MyClient {
public static void main(String[] args) {
String endpoint = "http://10.1.0.41/ExportService?wsdl";
try {
Client client = new Client(new URL(endpoint));
Object[] results= client.invoke("getUserInfo", new Object[]{"20081022104032","20161022104032",5,1,2,"JXGL"});
System.out.println(results[0]);
} catch (Exception e) {
e.printStackTrace();
}
}
}
打印出来的值:
[#document: null]
即使用dom解析里面的值也是空的。
用.net webservice studio 能显示出来值 如下:
求大神帮忙解答,。。。。。。。。。。。。。。。。