Products | Versions |
---|---|
TIBCO EMS Transport Channel for WCF | - |
Not Applicable | - |
Resolution:
Description:
===================
The jndi:context and jms:connectionFactory elements are not generated within the WSDL file generated from TEMS project.
Resolution:
====================
The content of the <jndi:context> element depends on the value set for the TemsTransportBindingElement ContextJNDI property. If the property is null, the element is omitted.
The content of the <jms:connectionFactory> element depends on the value set for the TemsTransportBindingElement ConnectionFactory property. If the property is null the element is omitted.
If you have ContextJNDI and ConnectionFactory property defined, those elements are still not included. Make sure you have done the following in the TEMS project:
1). The Web.config TemsTransport messageProtocol must be set to TIBCOSoapOverJMS2004 to have these three WSDL elements exported:
- jndi:context
- jms:connectionFactory
- jms:targetAddress
2) The connectionFactory must be an Administrated type:
- TIBCO.EMS.FederatedConnectionFactory
- TIBCO.EMS.FederatedQueueConnectionFactory
- TIBCO.EMS. FederatedTopicConnectionFactory
obtained via a JNDI lookup to be included in the WSDL element:
- jms:connectionFactory
With the above changed the WSDL will output something like this:
================================================
<wsdl:service name="TemsTest">
<wsdl:port name="TemsWSDLExport.TemsTest_EMS" binding="tns:TemsWSDLExport.TemsTest_EMS">
<soap12:address location="net.tems://localhost:7222/queue/TemsWSDLExportTest"/>
<jndi:context>
<jndi:property name="java.naming.provider.url">tibjmsnaming://localhost:7222</jndi:property>
<jndi:property name="java.naming.security.credentials"/>
<jndi:property name="java.naming.security.principal"/>
<jndi:property name="TIBCO.EMS.provider.url">tibjmsnaming://localhost:7222</jndi:property>
<jndi:property name="TIBCO.EMS.security.credentials"/>
<jndi:property name="TIBCO.EMS.security.principal"/>
</jndi:context>
<jms:connectionFactory>FTQueueConnectionFactory</jms:connectionFactory>
<jms:targetAddress destination="queue">TemsWSDLExportTest</jms:targetAddress>
</wsdl:port>
</wsdl:service>
================================================