Author |
Message
|
vijayakranthi |
Posted: Wed Jan 15, 2020 9:35 pm Post subject: HOW DO WE CALL A EXTERNAL WEB SERVICE (JSON INPUT) FROM IIB |
|
|
Newbie
Joined: 13 Nov 2019 Posts: 9
|
Hello,
How do we call a external service (web service input request is json format) from my Rest API in IIB. Thanks.Appreciate your inputs. |
|
Back to top |
|
 |
timber |
Posted: Thu Jan 16, 2020 4:25 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
Have you tried using a SOAPRequest node? |
|
Back to top |
|
 |
joebuckeye |
Posted: Thu Jan 16, 2020 5:38 am Post subject: |
|
|
 Partisan
Joined: 24 Aug 2007 Posts: 365 Location: Columbus, OH
|
As he mentions JSON format I would assume he would need to use the HTTP Request node. |
|
Back to top |
|
 |
vijayakranthi |
Posted: Thu Jan 16, 2020 5:58 am Post subject: |
|
|
Newbie
Joined: 13 Nov 2019 Posts: 9
|
I have tried soap request node but it errors out saying Invalid input when expecting a xml |
|
Back to top |
|
 |
vijayakranthi |
Posted: Thu Jan 16, 2020 6:55 am Post subject: |
|
|
Newbie
Joined: 13 Nov 2019 Posts: 9
|
timber wrote: |
Have you tried using a SOAPRequest node? |
I have tried soap request node but it errors out saying Invalid input |
|
Back to top |
|
 |
timber |
Posted: Thu Jan 16, 2020 7:14 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
Please edit your question and include much more information about your problem, what you have tried, and exactly what happened. Describe your message flow. Quote the entire error message, accurately. Use some of your own time before asking us to help you. |
|
Back to top |
|
 |
mehta10987 |
Posted: Fri Jan 17, 2020 7:52 am Post subject: HOW DO WE CALL A EXTERNAL WEB SERVICE (JSON INPUT) FROM IIB |
|
|
 Novice
Joined: 12 Oct 2019 Posts: 13 Location: USA
|
I agree with timber.. Please provide detailed information what you are looking for...
If your question is to call an external webservice which needs to be called..
Assuming it is POST call with JSON message body, then you would have to make use of HTTPRequest Node and construct the message body of JSON using Compute Node before that. |
|
Back to top |
|
 |
vijayakranthi |
Posted: Sat Jan 18, 2020 8:48 pm Post subject: |
|
|
Newbie
Joined: 13 Nov 2019 Posts: 9
|
timber wrote: |
Please edit your question and include much more information about your problem, what you have tried, and exactly what happened. Describe your message flow. Quote the entire error message, accurately. Use some of your own time before asking us to help you. |
Sorry timber for not adding much details, http node worked out for me.I was trying to call a external endpoint from my restAPI by using post method with JSON Body. |
|
Back to top |
|
 |
|