简体   繁体   English

不同平台之间的异步Web服务

[英]asynchronous web services between different platforms

I am writing web services with VB.NET (2.0). 我正在使用VB.NET(2.0)编写Web服务。 The client side will use different technologies such as Java and Siebel. 客户端将使用不同的技术,例如Java和Siebel。 So, if I write asynchronous web services, is it possible for different platforms to consume them? 因此,如果我编写异步Web服务,那么不同平台是否有可能使用它们? I know it is quite easy with a consumer having .NET platform, but not sure for different platforms. 我知道使用.NET平台的用户很容易,但是不确定使用不同的平台。 Is it enough for them to have asynchronous ability, or should it be a similar platform? 他们具有异步能力是否足够,还是应该是一个类似的平台?

ASMX web services (what you are writing with .NET 2.0) do not support any concept of asynchronous services. ASMX Web服务(使用.NET 2.0编写的内容)不支持异步服务的任何概念。 You'll have to be more specific about what you're talking about. 您必须对所讲的内容更加具体。

In fact, SOAP web services, in general, do not support the concept of an asynchrous service. 实际上,SOAP Web服务通常不支持异步服务的概念。

Web service are not dependent on platform Web服务不依赖平台

Click Here 点击这里

I don't know that you are ever writing an asynchronous web service. 我不知道您是否在编写异步Web服务。 Your call to a web service is asynchronous. 您对Web服务的调用是异步的。 So in that case it's more of what can the caller consume. 因此,在这种情况下,更多的是呼叫者可以消耗的东西。 If you create a web service that returns a type that your caller cannot consume except a certain platform, then you have created a web service that is platform dependent in it's payload response, while not in it's mechanism. 如果创建的Web服务返回的调用者只能在特定平台之外使用的类型,则您创建的Web服务依赖于平台的有效负载响应,而不依赖于其机制。 Yes, you can call a web service with anything, say, Java, but can you consume everything being send back? 是的,您可以使用任何东西(例如Java)调用Web服务,但是您可以使用正在发送回的所有东西吗? No you cannot. 你不能。

So again, you're not creating async web services. 同样,您不会创建异步Web服务。 You're making async calls to those services and hopefully you're sending something that everyone that calls that service can use (xml, json, etc.) 您正在对这些服务进行异步调用,并希望发送给每个调用该服务的人都可以使用的东西(xml,json等)

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

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