views:

110

answers:

1

How can i make a SOAP call using TouchJson? it just work fine with REST call.

+2  A: 

You're missing some fundamentals here. SOAP is XML based. JSON is an alternative markup to XML that's more compact. Making a "REST call" simply means you are requesting a resource. If the resource is returned in a JSON format, it makes sense that it works for you using TouchJSON. If you are calling out to a SOAP web service, however, it is not going to return JSON but rather XML that needs to be made into an object using a SOAP library.

Best regards.

Matt Long