Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Vivi2
Contributor III
Contributor III

[resolved] Salesforce disabling TLS 1.0 - Talend 5.6.2 - Java6

Hi, 
I use Talend 5.6.2 (with java 6) with which twebservice component works. As tls is desabled in salesforce,talend 5.6.2 doesn't work anymore. 
Before I tried with Talend 6.1.0 but twebservice component didn't work. I had error :
Exception in component tWebService_1
java.lang.NullPointerException
at org.apache.cxf.common.util.Compiler.useJava6Compiler(Compiler.java:187)
at org.apache.cxf.common.util.Compiler.compileFiles(Compiler.java:141)
at org.apache.cxf.common.util.Compiler.compileFiles(Compiler.java:136)
at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.compileJavaSrc(DynamicClientFactory.java:611)
at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:370) at org.talend.webservice.helper.ServiceInvokerHelper.createClient(ServiceInvokerHelper.java:144) at org.talend.webservice.helper.ServiceInvokerHelper.getClient(ServiceInvokerHelper.java:135)at or

To see the whole post, download it here
Labels (5)
1 Solution

Accepted Solutions
Vivi2
Contributor III
Contributor III
Author

Hi, 
it works with talend 6.1.2 and add jdk8 in the Java interpreter. 

View solution in original post

2 Replies
Vivi2
Contributor III
Contributor III
Author

Hi, 
With Talend 6.1.1, I have error in twebservice:
Exception in component tWebService_1
java.lang.NullPointerException
at org.apache.cxf.common.util.Compiler.useJava6Compiler(Compiler.java:187)
at org.apache.cxf.common.util.Compiler.compileFiles(Compiler.java:141)
at org.apache.cxf.common.util.Compiler.compileFiles(Compiler.java:136)
at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.compileJavaSrc(DynamicClientFactory.java:611)
at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:370)
at org.talend.webservice.helper.ServiceInvokerHelper.createClient(ServiceInvokerHelper.java:144)
at org.talend.webservice.helper.ServiceInvokerHelper.getClient(ServiceInvokerHelper.java:135)
at org.talend.webservice.helper.ServiceInvokerHelper.invoke(ServiceInvokerHelper.java:236)
at test.flux.tWebService_1Process(Flux23_premep0.java:1084)
at test.flux.runJobInTOS(Flux23_premep0.java:8788)
at test.flux.main(Flux23_premep0.java:8586)
Vivi2
Contributor III
Contributor III
Author

Hi, 
it works with talend 6.1.2 and add jdk8 in the Java interpreter.