How to Use REST in Datastage

Dedicated to DataStage and DataStage TX editions featuring IBM<sup>®</sup> Service-Oriented Architectures.

Moderators: chulett, rschirm

Post Reply
kogads
Premium Member
Premium Member
Posts: 74
Joined: Fri Jun 05, 2009 5:36 pm

How to Use REST in Datastage

Post by kogads »

How can i use REST with Datastage , i can use wsdl which is SOAP bound in the webservices transformer stage , but how about REST ???
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

I haven't had a chance to try it, but it's possible that you can use the xmlOutput Stage or the new xml Stage to pick up the url for your REST service and then process the document that you receive.

Maybe someone else on the forum has tested this as a source.

Get either Stage working first against a disk based xml document that has the same format as your REST request...and then try it via URL.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

For different reasons I had to test a URL scenario today...it still works (I was using 8.5.1 with xmlOutput Stage for this particular test).

This was for a fixed xml document that was sitting up at a web site, but it's a good sign that it will probably be transparent whether it's a REST service delivering the xml response or an actual document.

...authentication might be an issue though, unless you are able to send credentials within the URL.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
Post Reply