Hi,  

In my project I have a couple of external web services with the WSDL files 
specified. I generated client with cxf-codegen-plugin
successfully and invoked the web services from a spring facade. 

What I want to do is to do an integration test on this facade. What's the best 
way to achieve this? I want to stub the external web service and I want to 
return the same soap response each time I call my facade. So I can test the 
actual web service call within my integration tests.

For inbound services (the services that I'm exposing to the outside world) I'm 
using an embedded jetty to get the web app context up and running and 
requesting the actual web services from that embedded jetty. 

Thanks,

Mert. 

Reply via email to