Page 1 of 1

How to use a RESTful Web Service from a Parallel Job

Posted: Fri Apr 04, 2014 11:19 am
by mehimadri
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!

Posted: Fri Apr 04, 2014 3:01 pm
by eostic
Java Integration Stage or Java Transformer Stage, depending on your release.....

Ernie

Posted: Fri Apr 04, 2014 6:16 pm
by ray.wurlod
One of the attractions of REST for the more laissez-faire is that it does not require WSDL or any other form of metadata definition.

Posted: Fri Apr 04, 2014 7:49 pm
by mehimadri
Thanks Ray & Ernie.