当前位置: 技术问答>php的webservice的wsdl的XML无法显示问题的解决方法
iis7站长之家
webservices除了用SOAP实现之外,还可以用什么实现?
来源: 互联网 发布时间:2017-03-20
本文导语: JMS能实现吗?用JNDI之类的技术能实现吗? 如果用SOAP实现,业界一般都用哪个中间件?APACHE的soap是不是占据绝对优势? | Always I will say yes for your question. But there is still some exceptions. ...
JMS能实现吗?用JNDI之类的技术能实现吗?
如果用SOAP实现,业界一般都用哪个中间件?APACHE的soap是不是占据绝对优势?
如果用SOAP实现,业界一般都用哪个中间件?APACHE的soap是不是占据绝对优势?
|
Always I will say yes for your question. But there is still some exceptions. Let me tell you an example.
If you are a xinjiang guy and could speak both xinjiang language and chinese, then which language will you choose to talk to me, a jiangsu man only can speak chinese? Of course chinese. SOAP is equals to Chinese in the example as in the web services world. Consider two applications wants to talk about the same thing, one is powered by Java and the other is implemented by C++. But they can be invoked each other by web services. But which language they will talk to the other part? They should use the same language thet both agree and know. That's SOAP. In fact it is an agreement on web service invocation, for the world-wide area.
But consider another situation, if you also meet a xinjiang man after talking to me, which language will you both use? Of course xinjiang language. That's very like that you have a controlable environment in which you can make your own agreement on invocation detail of two parts. You can design a new language like Marese to let the Java apps and C++ apps to use. That's all right.
So you will catch why I said 'always'. The web services often means you can use those services all over the web. But if you speak a dialect, no one will be forced by you to speak the same to you. Contratrily, you should learn to speak a gloabl language, SOAP.
By the way, JMS is for messaging services and can only be used in sytemes which implements JMS spec.
If you are a xinjiang guy and could speak both xinjiang language and chinese, then which language will you choose to talk to me, a jiangsu man only can speak chinese? Of course chinese. SOAP is equals to Chinese in the example as in the web services world. Consider two applications wants to talk about the same thing, one is powered by Java and the other is implemented by C++. But they can be invoked each other by web services. But which language they will talk to the other part? They should use the same language thet both agree and know. That's SOAP. In fact it is an agreement on web service invocation, for the world-wide area.
But consider another situation, if you also meet a xinjiang man after talking to me, which language will you both use? Of course xinjiang language. That's very like that you have a controlable environment in which you can make your own agreement on invocation detail of two parts. You can design a new language like Marese to let the Java apps and C++ apps to use. That's all right.
So you will catch why I said 'always'. The web services often means you can use those services all over the web. But if you speak a dialect, no one will be forced by you to speak the same to you. Contratrily, you should learn to speak a gloabl language, SOAP.
By the way, JMS is for messaging services and can only be used in sytemes which implements JMS spec.
|
SOAP是webservices必需的协议,跟实现技术无关!!