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 » rest api as an integration project

Post new topic  Reply to topic
 rest api as an integration project « View previous topic :: View next topic » 
Author Message
paustin_ours
PostPosted: Wed Oct 12, 2016 3:15 pm    Post subject: rest api as an integration project Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 667
Location: columbus,oh

trying to create a rest api flow without using integration service or restapi node. I dont even have a swagger doc. Can someone point me to a sample or notes on how to create a rest api without swagger?

mqinput--->compute-->httprequest

Please point me to any documentation if you can. thanks.
Back to top
View user's profile Send private message Yahoo Messenger
mqjeff
PostPosted: Thu Oct 13, 2016 3:48 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

REST is an HTTP concept.

Not an MQ one.

You can use an HTTPInput with the JSON parser.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Oct 13, 2016 4:24 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
You can use an HTTPInput with the JSON parser.


Or with an HTTPRequest one as shown in your post.

paustin_ours wrote:
Can someone point me to a sample or notes on how to create a rest api without swagger?


Same as creating a web service without a WSDL. Both WSDL and Swagger are just descriptions of data layouts in machine readable form. It's perfectly possible to create payloads that look like that long hand.

Swagger is a relatively new format; people were creating REST APIs long before it was developed. Also while Swagger is the most popular (and IBM preferred) documentation, it's not the only one so you could find this problem in future when someone hands you YAML and tells you to call the API.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Oct 13, 2016 4:27 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Vitor wrote:
mqjeff wrote:
You can use an HTTPInput with the JSON parser.


Or with an HTTPRequest one as shown in your post.

I need to get different coffee.

I'm happy to pretend I was confused by the lack of anything to process the result of the HTTPRequest.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Oct 13, 2016 4:44 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
I need to get different coffee.


Or more coffee.

mqjeff wrote:
I'm happy to pretend I was confused by the lack of anything to process the result of the HTTPRequest.


We can go with that.

I'm prepared to assume that, inexplicably, this is a one way API. The OP has posted stranger designs in the past. Though not many.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Oct 13, 2016 4:55 am    Post subject: Re: rest api as an integration project Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

paustin_ours wrote:
Can someone point me to a sample or notes on how to create a rest api without swagger?

Hopefully you should have at least a YAML doc.
Go to the website http://editor.swagger.io/#/ and ingest the YAML file.
Look at the menus and output the swagger file.
You can now load the swagger file in IIB.

If you have to start from scratch there is a good wizard in IIB 10.0.0.5.
Or start with building a YAML file...

Hope this helps
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » rest api as an integration project
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.