[CXF] Server与Client实现方式二:Simple
??三、Client端的实现
?
然后在java代码里:
ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("/com/liulutu/liugang/cxf/simple/client.xml"); OrderProcess bean = context.getBean("orderClient", OrderProcess.class); String processOrder = bean.processOrder(<order>); System.out.println(processOrder);?