Technologies Involved
- Mule
- Apache CXF
Given
A simple POJO (controversial acronym, but let's say a smart POJO):
public class SmartPojo implements SomeBusinessInterface {
public String doSomethingSmart( With something ) {
String result;
result = Irrelevant.process( something )
return result;
}
}
Need to Achieve
Expose SmartPojo
as a Webservice without touching the code ( without: changing SmartPojo
, changing SmartPojoInterface
, adding a new interface, any JAX-WS annotations, etc ). The goal is to use Mule configuration only.
I can easily do it with Spring Integration, and would appreciate any input on how to achieve it with Mule. ( It seems that "cxf:inbound-endpoint" needs to be configured with "method-entry-point-resolver" + providing my WSDL in some way.. or another direction? )
Thank you