要求写个接口连对面的提供的接口 对面返回的是一个list对象集合 目前环境是S2SH 怎么去书写呢?如果写好了 怎么在本机测试呢?求大神解答啊 有例子或什么写出来的最好了 感谢啊
rest接口的话可以使用
RestTemplate
api文档参考http://static.springsource.org/spring/docs/3.1.x/spring-framework-reference/html/remoting.html#rest-client-access