Page 1 of 1

HTTP call out

Posted: Wed May 01, 2013 5:19 am
by rajudx
Hi,

As part of the requirement we need to call one of the HTTP url after loading data into database table.

http://100.266.53.14:1234/QPgetmemberHttp?source=PHX.

Please let me know which stage we need to use to make http call from datastage.

Thanks,
Raju

Posted: Wed May 01, 2013 5:30 am
by eostic
One way that I've seen it done is via JavaPack..(using a small java class that does whatever it needs to with HTTP). letting you do whatever you need/want with whatever you bring back via HTTP, and send content or messages downstream.

Ernie

Posted: Wed May 01, 2013 6:03 am
by rajudx
Thanks Eostic for quick replay.
We need to call java class code through java client stage or is there any other process we need to use.
Another thing is I don't have any idea on java and just want know is there any other approach we can implement with in datastage to make http call.

Thanks,
Raju.

Posted: Wed May 01, 2013 7:55 am
by eostic
I'll let others suggest other possibilities --- there may be some, but java is the only way I've seen it done.

Yes, with java you would implement your class to "talk" with the JavaClient or the Java Transformer Stage (or Java Integration Stage if you are in 9.1).

...and further, yes, it requires that you know enough Java to be dangerous --- probably best if you find a java person on site that can support this part of the development.

Then working with them, you provide the DataStage expertise and you will be able to accomplish a lot. There are lots of threads here in the forum on using java and javapack. I haven't look thru them, but perhaps someone has done HTTP too and can reflect.

Ernie

Posted: Mon May 06, 2013 9:35 am
by rajudx
Hi Ostic,

We have implemented some java code and able to make HTTP call out for above mentioned URL and please let me know the process for using java class code in datastage.


Thanks,
Raju N

Posted: Mon May 06, 2013 10:04 am
by chulett
What version of DataStage are you running?

Posted: Mon May 06, 2013 10:26 am
by rajudx
version 8.5

Posted: Mon May 06, 2013 2:01 pm
by ray.wurlod
Research and experiment with the Java Transformer stage, and read the Java Pack manual.