cxf webservice 客户端(服务端和客户端都在本地的一种测试接口)
public class Clent {
public static void main(String[] args) {
ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[] {"client-beans.xml"});
ISqmService IsqmService= (ISqmService) context.getBean("client");
String response = IsqmService.shareBSSCustInfo("xml格式的字符串");
System.out.println("Response: 测试。。。。。。" + response);
System.exit(0);
}
}
浙公网安备 33010602011771号