Download Data from http source
Moderators: chulett, rschirm, roy
Download Data from http source
Hi ,
I have a scenario where i need to download the data from http server(www.abc.com) into a flat file. Can anyone tell me what are the stages that i need to use in order to get the data into a file.As i tried using with xml stages and i couldn't able to succeed.
Any help is really appreciated.
Thanks in adance
I have a scenario where i need to download the data from http server(www.abc.com) into a flat file. Can anyone tell me what are the stages that i need to use in order to get the data into a file.As i tried using with xml stages and i couldn't able to succeed.
Any help is really appreciated.
Thanks in adance
Hi ,
Can any one tell me how to get the data or is it not possible to get the data from http to file. Is thee any specific format that datastage is going to accept. I herd that we can get it through Java stages but other than that is there any other option available.
Any help is really appreciated
Thanks in advance
Can any one tell me how to get the data or is it not possible to get the data from http to file. Is thee any specific format that datastage is going to accept. I herd that we can get it through Java stages but other than that is there any other option available.
Any help is really appreciated
Thanks in advance
I haven't tried it in awhile, but assuming that the data is a stand-alone xml document, the xmlInput Stage could take a url for retrieval of the document. I can't promise it will work, but it's worth a try.
If it's not xml, then it will have to be data that is delivered via a formal Web Service, with WSDL, and then you would use Web Services Pack.....
or.... use JavaPack and write your own http call. I did one years ago --- it wasn't that difficult, but you do need to have at least a little bit of java experience to understand how to build and compile your java code and do to the http bits inside of it.
...years ago people used the Perl Stage, but that no longer exists.....
Ernie
If it's not xml, then it will have to be data that is delivered via a formal Web Service, with WSDL, and then you would use Web Services Pack.....
or.... use JavaPack and write your own http call. I did one years ago --- it wasn't that difficult, but you do need to have at least a little bit of java experience to understand how to build and compile your java code and do to the http bits inside of it.
...years ago people used the Perl Stage, but that no longer exists.....
Ernie
Ernie Ostic
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
Hi Ernie,
i tried with xml stages but for xml input stage we have two options either xml document or URL/FIle path. But if we check the option URL/FIle path where can we give the url path as the input doent have anything to specify the url path and so i couldnt able to work out wih that.
And Do we need to purchase Webservices pack seperately ?Can you explain me how we can deliver the data via web sevice using WSDL.
Thanks craig and ernie for your replies
Any help is really appreciated
Thanks in adance
i tried with xml stages but for xml input stage we have two options either xml document or URL/FIle path. But if we check the option URL/FIle path where can we give the url path as the input doent have anything to specify the url path and so i couldnt able to work out wih that.
And Do we need to purchase Webservices pack seperately ?Can you explain me how we can deliver the data via web sevice using WSDL.
Thanks craig and ernie for your replies
Any help is really appreciated
Thanks in adance
-
- Premium Member
- Posts: 28
- Joined: Mon Apr 20, 2009 11:27 pm
- Location: san antonio
The best solution for "some data" (not xml) is to use JavaPack. Code your own HTTP retrieval and then parse it as you wish and write it to an output link.
Ernie
Ernie
Ernie Ostic
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>