ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexWebSphere Message Broker SupportHOW DO WE CALL A EXTERNAL WEB SERVICE (JSON INPUT) FROM IIB

Post new topicReply to topic
HOW DO WE CALL A EXTERNAL WEB SERVICE (JSON INPUT) FROM IIB View previous topic :: View next topic
Author Message
vijayakranthi
PostPosted: Wed Jan 15, 2020 9:35 pm Post subject: HOW DO WE CALL A EXTERNAL WEB SERVICE (JSON INPUT) FROM IIB Reply with quote

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
View user's profile Send private message
timber
PostPosted: Thu Jan 16, 2020 4:25 am Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1094

Have you tried using a SOAPRequest node?
Back to top
View user's profile Send private message
joebuckeye
PostPosted: Thu Jan 16, 2020 5:38 am Post subject: Reply with quote

Partisan

Joined: 24 Aug 2007
Posts: 351
Location: Columbus, OH

As he mentions JSON format I would assume he would need to use the HTTP Request node.
Back to top
View user's profile Send private message
vijayakranthi
PostPosted: Thu Jan 16, 2020 5:58 am Post subject: Reply with quote

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
View user's profile Send private message
vijayakranthi
PostPosted: Thu Jan 16, 2020 6:55 am Post subject: Reply with quote

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
View user's profile Send private message
timber
PostPosted: Thu Jan 16, 2020 7:14 am Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1094

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
View user's profile Send private message
mehta10987
PostPosted: Fri Jan 17, 2020 7:52 am Post subject: HOW DO WE CALL A EXTERNAL WEB SERVICE (JSON INPUT) FROM IIB Reply with quote

Novice

Joined: 12 Oct 2019
Posts: 12
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
View user's profile Send private message
vijayakranthi
PostPosted: Sat Jan 18, 2020 8:48 pm Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportHOW DO WE CALL A EXTERNAL WEB SERVICE (JSON INPUT) FROM IIB
Jump to:



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.