Spring config - 7.3

Talend ESB Service Developer Guide

Version
7.3
Language
English
Product
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
Module
Talend ESB
Talend Runtime
Content
Design and Development
Installation and Upgrade
Last publication date
2023-04-17

For the server side, your spring configuration would contain something like:

<jaxws:server serviceClass="demo.hw.server.HelloWorld" 
   address="/hello_world">
   <jaxws:dataBinding>
      <bean class="org.apache.cxf.xmlbeans.XmlBeansDataBinding" />
   </jaxws:dataBinding>
</jaxws:server>

or

<jaxws:endpoint
   id="helloWorld"
   implementor="demo.spring.HelloWorldImpl"
   address="http://localhost/HelloWorld">
   <jaxws:dataBinding>
      <bean class="org.apache.cxf.xmlbeans.XmlBeansDataBinding" />
   </jaxws:dataBinding>
</jaxws:endpoint>

The client side is very similar:

<jaxws:client id="helloClient"
   serviceClass="demo.spring.HelloWorld"
   address="http://localhost:9002/HelloWorld">
   <jaxws:dataBinding>
      <bean class="org.apache.cxf.xmlbeans.XmlBeansDataBinding" />
   </jaxws:dataBinding>
<jaxws:client>