Mit - Posted January 19, 2011 Share Posted January 19, 2011 Is it possible to build REST services using TIBCO BW Cheers Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted January 19, 2011 Share Posted January 19, 2011 If you have any exmple please let me know. cheers Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted January 19, 2011 Share Posted January 19, 2011 My Twitter example no longer works due to their changes in Authentication and Authorization (OAuth). That said, here are two screen shots of the HTTP activity that "GETS" member info (see the URI in the first picture, then the "get" in the second): Please refer to the attached screenshot: [RestConfig.PNG"] Please refer to the attached screenshot: [RestAction.PNG"] If you had to implement a RESTful service in BW, build a set of trasitions based on the HTTP Method to do the CRUD work. Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted January 21, 2011 Share Posted January 21, 2011 Thanks for the example. As per my understanding you are not hosting the REST service and consuming the REST service. Is there any way to host REST service using TIBCO BW Also can we implement the same thing using TIBCO EMS Cheers. Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted January 21, 2011 Share Posted January 21, 2011 Yes, BW can host RESTful services. You need to detail your APIs - do you need authentication (what kind), session management (cookies), are there any special HTTP headers, and so on...look at any of the Web 2.0 social networking specifications and they all have these sort of constraints. What is/are your data models JSON ATOM RSS What version When there is a DELETE, what are you going to do Upon what sources are you going against What is your client/server architecture (browsers don't generally understand PUT or DELETE, so how would you mediate that). REST is basically just an approach that leverages HTTP semantics for CRUD operations: POST/Create, GET/Retrieve, PUT/Update, DELETE/Delete. You also need to architect your convention for RESTful URLs, perhaps documenting a taxonomy. Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted January 21, 2011 Share Posted January 21, 2011 I am not trying to implement anything at this point but trying to understand REST and whether it is possible to implement it using TIBCO BW or not. And the impression is that you need to do work around using HTTP pallettes instead of SOAP or Service Pallattes. Thanks Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted January 21, 2011 Share Posted January 21, 2011 Exactly so. REST was (partially) a reaction to the 'bloat' of SOAP and is really based around HTTP semantics. Instead of a WSDL, you can have a WADL (not directly supported by BW, and not broadly supported, but useful as 'documentation'). Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted June 1, 2011 Share Posted June 1, 2011 If you don't mind can you please share Twitter example . I want see the configuration and API's for my understanding. Link to comment Share on other sites More sharing options...
Carlo Milono 2 Posted October 23, 2015 Share Posted October 23, 2015 Yes, just use the proper "verbs" with the HTTP resources - I integrated with an early version of Twitter using REST. You need to understand any particular behavior (aka "API") with the service. Link to comment Share on other sites More sharing options...
Carlo Milono 2 Posted October 23, 2015 Share Posted October 23, 2015 O.K., I built one that doesn't require a login (OAuth or otherwise). This is a GET operation against Google's Data API, in this case, it is fetching itemtypes in English - http://www.google.com/base/feeds/itemtypes/en_US - and the API is based on ATOM. I'm being a bit sloppy as I didn't want to spend too much time on it, so I'm only using the base ATOM XSD, and turning Validation off in the Render XML activity. Link to comment Share on other sites More sharing options...
Shruti Jaiswal Posted June 7, 2019 Share Posted June 7, 2019 Yes it is possible to build rest services using Tibco BW, You need to install rest plugins for it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now