on 06-11-2015 10:31 AM
Hi,
I have requirements in such a way that, I need to to make call to one solution provide to fetch their data. I am briefing how I have to do this so your expert opinion can help me to design PI objects.
1. To my fetch our organization specific data, I need to make a REST call (URL) you one solution provider by passing company key and service account. This will return a Token in response.
2. I need to append this Token into another REST call (many function has been provided for different set of data) to same provider to fetch desired data in XML format.
3. Finally this XML pass has to pass to SQL server DB.
Please help to provide to right approach to design and execute this PI project.
Thanks in Advance!!
~Vikas
Hello Vikas,
Please upgrade your system to PI 7.31 SP16 (dual stack)very latest (or) go to P0 7.4 SP10.
It contains latest features of Standard REST adapter.
Thanks,
Sateesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Hareesh, Vila for your reply.
We don't have REST adaptor in our landscape so not able to go with this approach, so apart from this approach can you please suggest me something else? Thanks!!
~Vikas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vikas,
If you can't use Rest adapter (it's free without extra license, depending your PI, it will be supporterd or not), You have this options:
1. If you work with XML, you can try with http adapter and to construct the URL dynamically.
2. If you work with XML, to use AXIS adapter.
3. If you work with JSON you can develop you own module adapter. In this option you have a wonderful module deleveloped by Eng Swee Yeoh,
Regards.
Hi Murthi,
1. If you work with XML, you can try with http adapter and to construct the URL dynamically.
In Rest architecture the URL paths change like you navigate in a web. You can change dynamically as this example shows:
2. If you work with XML, to use AXIS adapter.
AXIS adapter support rest communication, but i think not all features are supported. Check Michal's blog:
Also, Can you please tell me whether this scenario can support >30MB data as response either in JSON or XML format.
It depends about your PI hardware. By defect, there are not limitations.
Regards.
Hi Vikas,
What is your PI version?, not all PI releases support Rest adapter and the SOAP AXIS adapter has limitations with Rest connections. Do you go to work with JSON or only with XML?
If you can develop the sender code you can divide Hareesh suggestion in three scenarios, if for example you can use the same token to do several requests with the second Rest call, or you need to know the JDBC insert response. If you don't have this circunstances, no doubt Hareesh suggestion is the best choice in my opinion.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.