JAX-WS Providers - 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

JAX-WS Providers allow you to create services which work at the message level - as opposed to the operation level as with annotated classes. The have a single operation "invoke" which receives either the message payload (i.e. the SOAP Body) or the whole message itself (i.e. the SOAP Envelope).

Here's a simple example:

@WebServiceProvider
public class HelloProvider {
   public Source invoke(Source request) {
      return ....;
   }
}

Services are publish via one of two means:

  • The JAX-WS standard Endpoint APIs

  • CXF's XML configuration format - i.e. <jaxws:endpoint ... />