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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Get data from secured web service

I am trying to get data from secured  web service.

I did following steps:

1. created JKS file using below cmd

keytool -genkey -alias mydomain -keyalg RSA -keystore xxxxxxxxxx.jks -keysize 2048
keytool -import -trustcacerts -alias xxxxx -file xxxxxxxxxx.cer -keystore  xxxxxxx.jks

2. Used JKS file into tSetKeyStore components

3. Job structure:

0683p000009Lr0Y.png

 

My job is failing with below error message:

Sep 27, 2017 3:07:30 PM com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection post

SEVERE: SAAJ0009: Message send failed

Exception in component tSOAP_1 (test)

com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed

at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:191)

at org.talend.soap.SOAPUtil.extractContentAsDocument(SOAPUtil.java:266)

at local_project.test_0_1.test.tSOAP_1Process(test.java:503)

at local_project.test_0_1.test.runJobInTOS(test.java:875)

at local_project.test_0_1.test.main(test.java:697)

Caused by: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed

at java.security.AccessController.doPrivileged(Native Method)

at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:185)

... 4 more

Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed

at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:389)

at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:214)

... 6 more

Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

at sun.security.ssl.Alerts.getSSLException(Unknown Source)

at sun.security.ssl.Alerts.getSSLException(Unknown Source)

at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)

at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)

at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)

at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)

at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)

at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)

 

Please let me know, if anyone did same kind of work in talend. Thanks

at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)

at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.getOutputStream(Unknown Source)

at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:346)

... 7 more

 

Labels (2)
1 Reply
Anonymous
Not applicable
Author

Hi,

 

What is your current JDK/JRE version ?

 

Eric