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 Index » WebSphere Message Broker (ACE) Support » Calling REST API on Cloud from IIB Flow using RestReqNode

Post new topic  Reply to topic
 Calling REST API on Cloud from IIB Flow using RestReqNode « View previous topic :: View next topic » 
Author Message
MD
PostPosted: Thu May 31, 2018 3:15 am    Post subject: Calling REST API on Cloud from IIB Flow using RestReqNode Reply with quote

Novice

Joined: 19 Apr 2017
Posts: 15

Hello All,

I have implemented REST API flow in IBM App connect which fetches data from sales force. This is working fine.

Now I want to call this REST API from IIB flow which is running in my local Integration node in my laptop.
My flow is like below..

HttpInputNode -> RestReqNode -> HttpReplyNode

On Rest request node I have given my API json file, SecurityIdentityKey, Base URL of my API.
I have also given proxy details in Rest req node.

Now I'm getting below error..

Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:6373
Text:CHARACTER:Unsuccessfully invoked an operation in a REST API
Type:INTEGER:5
Text:CHARACTER:RestReq.Customer.create
Type:INTEGER:5
Text:CHARACTER:Customer.create
Type:INTEGER:2
Text:CHARACTER:404
Type:INTEGER:2
Text:CHARACTER:507
Type:INTEGER:2
Text:CHARACTER:125
Type:INTEGER:2
Text:CHARACTER:235

Please let me know what it means and how to resolve this.

Thanks,
MAnoj
Back to top
View user's profile Send private message
timber
PostPosted: Thu May 31, 2018 3:39 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

Happy to help, but you need to do the basics first. Please read https://www.ibm.com/support/knowledgecenter/SSMKHH_10.0.0/com.ibm.etools.mft.doc/au09090_.htm and make sure you understand how to do troubleshooting on an IIB message flow.

Then post the _full_ exception list, or (even better) the relevant part of a user trace. User trace is a really good tool for debugging message flows, btw.
Back to top
View user's profile Send private message
MD
PostPosted: Fri Jun 01, 2018 1:30 am    Post subject: Reply with quote

Novice

Joined: 19 Apr 2017
Posts: 15

its working now.
The mistake is I'm passing duplicate data and the API not accepting it

Few links for your info:
Debug REST-API on Cloud: https://console.bluemix.net/docs/services/AppConnect/troubleshooting.html#troubleshooting

To check App Connect logs: https://logging.eu-gb.bluemix.net/app/#/kibana4/discover/aa0908f1-2690-415b-9bdc-80851af5dce6_hyp1iyqag
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Calling REST API on Cloud from IIB Flow using RestReqNode
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.