Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!

Qlik Talend tESBConsumer component failed to call a web service with: Unable to create message factory for SOAP error

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
wei_guo
Support
Support

Qlik Talend tESBConsumer component failed to call a web service with: Unable to create message factory for SOAP error

Last Update:

Oct 8, 2025 7:07:44 AM

Updated By:

Sonja_Bauernfeind

Created date:

Oct 8, 2025 7:07:44 AM

The Qlik Talend tESBConsumer component fails to call a web service with the error:

Unable to create message factory for SOAP: Error while searching for service

This may occur after recently upgrading Qlik Talend and moving from JDK 11 to JDK 17. Post upgrade, the following error is encountered when calling a web service using tESBConsumer:

##Log##
tESBConsumer:Failed webservice call- Problem writing SAAJ model to stream
[WARN ] 13:14:53 org.apache.cxf.phase.PhaseInterceptorChain- Interceptor for {http://xmlns.oracle.com/Enterprise/Tools/services}PROCESSREQUEST#{http://xmlns.oracle.com/Enterprise... has thrown exception, unwinding now
org.apache.cxf.binding.soap.SoapFault: Problem writing SAAJ model to stream: Unable to create message factory for SOAP: Error while searching for service [jakarta.xml.soap.MessageFactory]
Caused by: jakarta.xml.soap.SOAPException: Unable to create message factory for SOAP: Error while searching for service [jakarta.xml.soap.MessageFactory]
    at jakarta.xml.soap.MessageFactory.newInstance(MessageFactory.java:96) ~[jakarta.xml.soap-api-3.0.2.jar:3.0.2]
    at org.apache.cxf.binding.soap.saaj.SAAJFactoryResolver.createMessageFactory(SAAJFactoryResolver.java:57) ~[cxf-rt-bindings-soap-4.1.0.jar:4.1.0]
    at org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor.getFactory(SAAJOutInterceptor.java:86) ~[cxf-rt-bindings-soap-4.1.0.jar:4.1.0]
    at org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor.handleMessage(SAAJOutInterceptor.java:122) ~[cxf-rt-bindings-soap-4.1.0.jar:4.1.0]
    ... 16 more

 

 

Resolution

To resolve this, the necessary SAAJ implementation and its dependencies must be explicitly provided as separate libraries in the application's classpath. This typically involves including the following:

 

Cause

The jakarta.xml.soap.SOAPException 'Unable to create message factory for SOAP error', specifically mentions an error while searching for the service [jakarta.xml.soap.MessageFactory]. This indicates a problem with the availability or configuration of the SAAJ (SOAP with Attachments API for Java) implementation.

This issue commonly arises in environments using Java 11 or later, as JAX-WS and its related technologies, such as SAAJ, were removed from the standard Java Development Kit (JDK) in these versions.

 

Environment

  • Qlik Talend Studio
Labels (1)
Version history
Last update:
a week ago
Updated by: