WSDL Usage - 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 this example:

Greeter Service with JMS transaport

<wsdl:definitions name="JMSGreeterService"
  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
  xmlns:tns="http://cxf.apache.org/jms_greeter" 
  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
  xmlns:x1="http://cxf.apache.org/jms_greeter/types" 
  xmlns:soapjms="http://www.w3.org/2010/soapjms/" 
  name="JMSGreeterService"
  targetNamespace="http://cxf.apache.org/jms_greeter">
    ...
   <wsdl:binding name="JMSGreeterPortBinding" 
      type="tns:JMSGreeterPortType">
      <soap:binding style="document"
         transport="http://www.w3.org/2010/soapjms/" />
      <soapjms:jndiContextParameter name="name"
         value="value" />
      <soapjms:jndiConnectionFactoryName>
         ConnectionFactory
      </soapjms:jndiConnectionFactoryName>
      <soapjms:jndiInitialContextFactory>
         org.apache.activemq.jndi.ActiveMQInitialContextFactory
      </soapjms:jndiInitialContextFactory>
      <soapjms:jndiURL>tcp://localhost:61616</soapjms:jndiURL>
      <soapjms:deliveryMode>PERSISTENT</soapjms:deliveryMode>
      <soapjms:priority>5</soapjms:priority>
      <soapjms:timeToLive>1000</soapjms:timeToLive>
      <wsdl:operation name="greetMe">
         <soap:operation soapAction="test" style="document" />
         <wsdl:input name="greetMeRequest">
            <soap:body use="literal" />
         </wsdl:input>
         <wsdl:output name="greetMeResponse">
            <soap:body use="literal" />
         </wsdl:output>
      </wsdl:operation>
   </wsdl:binding>
   <wsdl:service name="JMSGreeterService">
      <soapjms:jndiConnectionFactoryName>
         ConnectionFactory
      </soapjms:jndiConnectionFactoryName>
      <soapjms:jndiInitialContextFactory>
         org.apache.activemq.jndi.ActiveMQInitialContextFactory
      </soapjms:jndiInitialContextFactory>
      <wsdl:port binding="tns:JMSGreeterPortBinding" name="GreeterPort">
         <soap:address location=
            "jms:jndi:dynamicQueues/test.cxf.jmstransport.queue"/>
      </wsdl:port>
   </wsdl:service>
</wsdl:definitions>
  • The transport URI (http://www.w3.org/2010/soapjms/) is defined in the <soap:binding>.

  • The jms: URI is defined in the <soap:address>

  • The extension properties are in the <soap:binding>