简体   繁体   English

当我们使用SOAP Web服务时?

[英]when we use SOAP web-services?

我是Web服务的初学者,我知道一些Web服务的概念,基于SOAP,在移动应用程序开发中,如iphone和android,但我无法理解我们使用soap的哪种特殊情况?

SOAP can be a real pain. SOAP可能是一个真正的痛苦。 I really recommend using something like JSON if possible. 如果可能的话,我真的建议使用类似JSON的东西。 If you can't and you are stuck using SOAP then this might help you. 如果你不能和你一直使用SOAP,那么可能对你有所帮助。 Its a handy code generator that allows you to import the SOAP service's WSDL file (the file that describes the service) and it generates objective-c classes. 它是一个方便的代码生成器,允许您导入SOAP服务的WSDL文件(描述服务的文件),并生成objective-c类。

But be aware it does not handle WSDL's well that import XSD's :( 但要注意它不能很好地处理导入XSD的WSDL :(

根据您的平台,您可以使用SOAP进行远程过程调用(例如)。

you should use SOAP, when u are exposing services from server. 当你从服务器公开服务时,你应该使用SOAP。 These service will server the request. 这些服务将服务于请求。 You will define the rule(protocol/service) using SOAP. 您将使用SOAP定义规则(协议/服务)。 Later any client and follow the rules to use the services.. to give a simple example-- You can provide service which provide time and publish schema. 以后任何客户端都遵循规则来使用服务..给出一个简单的例子 - 您可以提供提供时间和发布模式的服务。 Later anyone who want to use this service will adhere to the rule (schema) and invoke. 之后,任何想要使用此服务的人都将遵守规则(架构)并进行调用。

It can be involve from client which can be mobile, any embedded device or browser 它可以涉及来自客户端,可以是移动的,任何嵌入式设备或浏览器

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

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