Page 1 of 1

Webservices transformer stage error - ServiceInvocationExcep

Posted: Fri Oct 06, 2017 10:47 am
by balu99999
Hi,
I'm facing below issue with the webservices call.
Datastage version is 9.1.2 and APAR JR45664 was covered.
http://www-01.ibm.com/support/docview.w ... wg21647640
http://www-01.ibm.com/support/docview.w ... wg21698557

Any suggestions, please?

Code: Select all

Fatal: 0026`:`com.ascentialsoftware.wsclient.ServiceInvocationException: Service invocation exception: <Fault xmlns="http://schemas.xmlsoap.org/soap/envelope/">
   <faultcode xmlns="">Server.userException</faultcode>
   <faultstring xmlns="">java.net.SocketException: java.lang.ClassNotFoundException: Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory</faultstring>
   <detail xmlns="">
    <stackTrace xmlns="http://xml.apache.org/axis/">java.net.SocketException: java.lang.ClassNotFoundException: Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory
 at javax.net.ssl.DefaultSSLSocketFactory.a(SSLSocketFactory.java:11)
 at javax.net.ssl.DefaultSSLSocketFactory.createSocket(SSLSocketFactory.java:7)
 at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:130)
 at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:157)
 at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:114)
 at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
 at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
 at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
 at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
 at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
 at org.apache.axis.client.Call.invoke(Call.java:2553)
 at org.apache.axis.client.Call.invoke(Call.java:1753)
 at com.ascentialsoftware.wsclient.OperationCall.invoke(OperationCall.java:285)
 at com.ascentialsoftware.wsclient.WebService.callServiceInternal(WebService.java:1685)
 at com.ascentialsoftware.wsclient.WebService.callService(WebService.java:1591)
 at com.ascentialsoftware.wsclient.WebService.callService(WebService.java:1544)
 at com.ascentialsoftware.wspack.Transformer.process(Transformer.java:105)
 at com.ascentialsoftware.jds.StageFactory.runStage(StageFactory.java:544)
 at com.ascentialsoftware.jds.StageFactory.runTransformer(StageFactory.java:361)
Caused by: java.lang.ClassNotFoundException: Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory
 at javax.net.ssl.SSLJsseUtil.b(SSLJsseUtil.java:125)
 at javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:3)
 at org.apache.axis.components.net.JSSESocketFactory.initFactory(JSSESocketFactory.java:99)
 at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:117)
 ... 16 more
</stackTrace>
   </detail>
  </Fault> 
 at com.ascentialsoftware.wsclient.OperationCall.handleRemoteException(OperationCall.java:388) 
 at com.ascentialsoftware.wsclient.OperationCall.invoke(OperationCall.java:293) 
 at com.ascentialsoftware.wsclient.WebService.callServiceInternal(WebService.java:1685) 
 at com.ascentialsoftware.wsclient.WebService.callService(WebService.java:1591) 
 at com.ascentialsoftware.wsclient.WebService.callService(WebService.java:1544) 
 at com.ascentialsoftware.wspack.Transformer.process(Transformer.java:105) 
 at com.ascentialsoftware.jds.StageFactory.runStage(StageFactory.java:544) 
 at com.ascentialsoftware.jds.StageFactory.runTransformer(StageFactory.java:361)

Posted: Thu Oct 12, 2017 8:39 am
by balu99999
Issue is resolved after making below changes.


Webservice Transformer Stage -> Stage (tab) -> Security -> select SSL Encryption Required and select Trust All Servers.


Found this solution on web.

Posted: Thu Oct 12, 2017 12:03 pm
by chulett
Thanks for posting your resolution.