【发布时间】:2014-12-01 11:02:43
【问题描述】:
根据文档,您可以使用http://docs.spring.io/spring-ws/site/apidocs/org/springframework/ws/test/client/MockWebServiceServer.html 服务器很好地测试您的WS 客户端。
但是您的客户必须满足一个先决条件
// MyWebServiceClient extends WebServiceGatewaySupport, and is configured in applicationContext.xml
@Autowired
private MyWebServiceClient client;
扩展 WebServiceGatewaySupport。
我的问题是如果我使用另一个实现,例如 CXF。是否有任何支持 CXF 客户端的现有模拟服务器实现?
【问题讨论】:
标签: java web-services cxf spring-ws