How to use a RESTful Web Service from a Parallel Job
Posted: Fri Apr 04, 2014 11:19 am
Friends-
I am facing a problem on how to invoke a RESTful Web Service from DataStage Parallel canvas. I have done the following analysis on this already, and I believe there are two ways:
Option #1: Get a WSDL (v2.0) for the RESTful Web Service since WADL or XSD is not supported in DataStage Web Service packs
What I did - I have tested SOAP services which had WSDL definitions and it works but I have been unable to get a WSDL description of a RESTful service so far.
Option #2: Use a Java Integration Stage to call a java program which can invoke RESTful Web Service and return JSON/XML responses.
What I did - I do not have Java skills so I will proceed with this option only if the first one does not work out.
I have a question on Option #1 mentioned above. Have anyone of you tried using a WSDL v2.0 for a RESTful service and succeeded. I am asking this because I cannot find any public RESTful web services with WSDL definition for testing.
Thanks!
I am facing a problem on how to invoke a RESTful Web Service from DataStage Parallel canvas. I have done the following analysis on this already, and I believe there are two ways:
Option #1: Get a WSDL (v2.0) for the RESTful Web Service since WADL or XSD is not supported in DataStage Web Service packs
What I did - I have tested SOAP services which had WSDL definitions and it works but I have been unable to get a WSDL description of a RESTful service so far.
Option #2: Use a Java Integration Stage to call a java program which can invoke RESTful Web Service and return JSON/XML responses.
What I did - I do not have Java skills so I will proceed with this option only if the first one does not work out.
I have a question on Option #1 mentioned above. Have anyone of you tried using a WSDL v2.0 for a RESTful service and succeeded. I am asking this because I cannot find any public RESTful web services with WSDL definition for testing.
Thanks!