tags:

views:

199

answers:

1

Hi Everybody

I am new to mule. Are there any way to call CXF based web services using JaxWsProxyFactoryBean? It will be nice to reuse Java interface instead of wsdl files.

With CXF we can simply reuse our java interface as spring bean for web services client without wsdl2java code generation.

<bean id="{Bean Id}" class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">
<property name="serviceClass" value="{java interface}"/>
<property name="address" value="{Address}"/>
</bean>

Instead of generating client artifacts we can simply use the above bean definition for web service consumer.

Thanks in advance Maska

A: 

If the question is: "what is the way to invoke a remote web service without generating client classes in Mule 2.2.x", the answer is: "use a generic WSDL endpoint".

David Dossot