简体   繁体   English

使SOAP Web服务与REST API交互?

[英]Having a SOAP web service interact with a REST API?

I am just learning about what a web service is and how to use one, so bear with me if this is a stupid question. 我只是在学习什么是Web服务以及如何使用Web服务,所以如果这是一个愚蠢的问题,请多多包涵。

I am making an Android app and will be trying to use a service account for server-to-server interactions between the Google Play Android Developer API (REST) , and my web service (SOAP) . 我正在制作一个Android应用程序,并且将尝试使用服务帐户在Google Play Android开发人员API(REST)我的Web服务(SOAP)之间进行服务器到服务器的交互。 Is this a problem? 这有问题吗? What do I need to know to get started with this? 我要开始了解什么?

Generally speaking, SOAP and REST are like Chinese and English. 一般来说,SOAP和REST就像中文和英文。 They are so different they can't talk to each other without something to translate between them. 它们是如此不同,以至于没有彼此之间的翻译就无法彼此交谈。 Though they both can do XML, it's just not the same at all. 尽管它们都可以使用XML,但根本不一样。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM