In DataStage 8.5 I'm using Web_Services_Transformer to invoke a Web Server. I've loaded the WSDL file and the port address starts with "https".
I checked the WS via soapUI and it does not requires token (user/password) or certification.
But if in Web_Services_Transformer in the Secutiry tab nothing is checked, the job fails with "Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory" error message.
If in the Secutiry tab "SSL Encryption Required" and "Trust all servers" are checked the job fails with "No support for attachments" error message.
Is Secutiry mandatory for "https..." URL?
Should I use a Keystore File?
Please advice.
Web Service invocation fails
-
- Premium Member
- Posts: 87
- Joined: Sat Jul 14, 2007 2:24 pm
To be certain the environment "works" and that it isn't simply something else, find out if the provider of the service has an http edition of it (without any security).
Also try some other services, so that you know it is "this" one that is giving you a problem.
Ernie
Also try some other services, so that you know it is "this" one that is giving you a problem.
Ernie
Ernie Ostic
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The "s" in "https" means "secure" and does require some kind of authentication. As Ernie suggests, find out if the web service can be invoked using http as the protocol.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Premium Member
- Posts: 87
- Joined: Sat Jul 14, 2007 2:24 pm
Thanks for your reply.
Unfortunately there is no http edition.
I've tried http service I found in internet: http://www.restfulwebservices.net/wcf/W ... ervice.svc and it works fine.
According to sysadmin who's responsible for the requred https - there is no need in user/password or certification from my side.
It seems like I need to check
"SSL Encryption Required" and "Trust all servers" in Security tab, but as I mentioned I get the following error:
Job_GetDataWS_Test..Web_Services_Transformer_10: com.ascentialsoftware.wsclient.ServiceInvocationException: Service invocation exception: <ns1:Fault xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>java.lang.RuntimeException: No support for attachments</faultstring>
<detail>
<ns1:stackTrace xmlns:ns1="http://xml.apache.org/axis/">java.lang.RuntimeException: No support for attachments
at org.apache.axis.Message.setup(Message.java:336)
at org.apache.axis.Message.<init>(Message.java:234)
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:664)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:128)
...
Unfortunately there is no http edition.
I've tried http service I found in internet: http://www.restfulwebservices.net/wcf/W ... ervice.svc and it works fine.
According to sysadmin who's responsible for the requred https - there is no need in user/password or certification from my side.
It seems like I need to check
"SSL Encryption Required" and "Trust all servers" in Security tab, but as I mentioned I get the following error:
Job_GetDataWS_Test..Web_Services_Transformer_10: com.ascentialsoftware.wsclient.ServiceInvocationException: Service invocation exception: <ns1:Fault xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>java.lang.RuntimeException: No support for attachments</faultstring>
<detail>
<ns1:stackTrace xmlns:ns1="http://xml.apache.org/axis/">java.lang.RuntimeException: No support for attachments
at org.apache.axis.Message.setup(Message.java:336)
at org.apache.axis.Message.<init>(Message.java:234)
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:664)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:128)
...