views:

33

answers:

1

I have some back end web services, SOAP web services.

I would like to create an android client to use these. I'm under the impression that SOAP style web services are non trivial to setup on android, and I would prefer to use REST if possible

Is there any utility that can convert REST calls to SOAP and back again? Or will I need to create my own application that listens for REST calls, makes the appropriate SOAP calls, then sends the response back as REST?

A: 

REST and SOAP are two architecturally different technologies and an automatic tool that will work in all situations is impossible to be found. To put it simply, SOAP is like calling methods that run on the server from the client, while REST only works with resources. In order to make the conversion, you need internal knowledge of what the SOAP services return and adapt this to an interface that relies on HTTP POST and GET requests (other request types like PUT and HEAD can also be used).

kgiannakakis