Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Team,
We are getting the below error while executing REST server to SOAP services in talend 8.0.1.
Note: it is working in local testing but after deploying the TAC not working and getting the below error.
Can you please help on this issue.
tSOAP_1 Unable to create SOAP connection factory: Error while searching for service [javax.xml.soap.SOAPConnectionFactory]
javax.xml.soap.SOAPException: Unable to create SOAP connection factory: Error while searching for service [javax.xml.soap.SOAPConnectionFactory]
at javax.xml.soap.SOAPConnectionFactory.newInstance(SOAPConnectionFactory.java:58) ~[jakarta.xml.soap-api-1.4.2.jar:?]
at org.talend.soap.SOAPUtil.init(SOAPUtil.java:76) ~[components-soap-2.3-20221201.jar:?]
at org.talend.soap.SOAPUtil.<init>(SOAPUtil.java:72) ~[components-soap-2.3-20221201.jar:?]
at telma.soap_updatesubaddinfo_0_1.soap_updateSubAddInfo.tFixedFlowInput_1Process(soap_updateSubAddInfo.java:2242) [bundleFile:?]
at telma.soap_updatesubaddinfo_0_1.soap_updateSubAddInfo.runJobInTOS(soap_updateSubAddInfo.java:6106) [bundleFile:?]
at telma.soap_updatesubaddinfo_0_1.soap_updateSubAddInfo.runJob(soap_updateSubAddInfo.java:5856) [bundleFile:?]
at telma.tsrbs11_rest_service2_thbs_0_1.tsRBS11_REST_Service2_thbs.tRESTRequest_1_LoopProcess(tsRBS11_REST_Service2_thbs.java:32288) [bundleFile:?]
at telma.tsrbs11_rest_service2_thbs_0_1.tsRBS11_REST_Service2_thbs$RestServiceProviderImpl4TalendJob.processRequest(tsRBS11_REST_Service2_thbs.java:1134) [bundleFile:?]
at telma.tsrbs11_rest_service2_thbs_0_1.tsRBS11_REST_Service2_thbs$RestServiceProviderImpl4TalendJob.updateSubAddInfo(tsRBS11_REST_Service2_thbs.java:1317) [bundleFile:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:179) [bundleFile:3.4.4]
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96) [bundleFile:3.4.4]
Hi
If you are using the tSOAP component to make a soap call, please note that tSOAP component is not recommended to be deployed in ESB runtime.
See the Note in the following doc stating the same :
https://help.talend.com/r/en-US/8.0/soap/tsoap-standard-properties
To build Jobs that need to be deployed into the Talend Runtime, it is recommended to use the tESBConsumer component which is best suited for the Talend Runtime.
Regards
Shong
@Shicong Hong Thanks for the reply 🙂
I will check and update.