Page 1 of 1

How to Use REST in Datastage

Posted: Wed Sep 21, 2011 12:06 pm
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 ???

Posted: Wed Sep 21, 2011 6:50 pm
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

Posted: Thu Sep 22, 2011 7:49 am
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