News for hackers. Stuff that matters.
Re:Amazon API Gateway – Build and Run Scalable Application B... by junto on Thursday July 09, 2015 @01:05PM (#9859199)
Out of interest SOAP services tend to be message/operation based, while REST is deliberately not this.

How do you go about proxying REST style requests to a SOAP backend?

Re:Amazon API Gateway – Build and Run Scalable Application B... by femto113 on Thursday July 09, 2015 @01:39PM (#9859444)
Can't speak for the parent but having tackled similar efforts before I find that almost all APIs regardless of the implementation flavor (including SOAP and RPC) are readily understood as CRUD systems creating/reading/updating/deleting things), and the mapping from CRUD to REST is straightforward. In practice this generally means mapping from a SOAP call like `SetPostAuthor` to a REST call like `PUT /post/:post_id/author`. There are always some gnarly bits along the way, but the basic structure usually comes together pretty easily.
Re:Amazon API Gateway – Build and Run Scalable Application B... by WaxProlix on Thursday July 09, 2015 @02:20PM (#9859733)
Yup, petty much. If you're willing to be a little flexible in your application of RESTful concepts and are okay with your abstractions leaking a bit, it's not especially tough.
Re:Amazon API Gateway – Build and Run Scalable Application B... by jacques_chester on Friday July 10, 2015 @01:09AM (#9862407)
That's the easy case.

A harder case is when you have a "service" layer which also has a large collection of queries at various levels of abstraction.

These map poorly into resources, where you want a single level of abstraction per resource. And they map badly to legacy consumers, who've grown comfortable to having a collection of special knobs and dials perfectly shaped for their exact needs.