p***p 发帖数: 559 | 1 以前写WS都是AXIS上手就做,然后再检查SOAP信息。但是现在做一个项目,对方要求在
文档里面写出什么是JAX WS,哪些优点等等,一下子就有点晕菜了。我一直以为AXIS直
接到SOAP啊,顶多内置了一下XML的Parser之类的,查查结果还要RPC和MSG模式
哪位能深入浅出生动地说说到底是怎么回事情?
http://www.ibm.com/developerworks/cn/webservices/ws-tip-jaxwsrpc.html
http://baike.baidu.com/view/1865210.htm |
s******e 发帖数: 493 | 2 The first article pretty much summarize the differences between two and when
you should select one over another one.
I do not know what else you expect. jax-rpc is before jax-ws, and quite
heavy weight, and it also doesn't have the native support to asynchronous
model (it is basically built on top of request-response model).
jax-rpc is infamous for its difficulty to use(well aix kind of helping a lot
on this), but the api itself is still hard to use, this is another reason
they want to improve i |
t*******e 发帖数: 684 | 3 RESTful ws is not SOAP based. There is no contract (WSDL) defined and
published for RESful interfaces. It is simple and easy to use but with
limitations.
JAX-RPC is the deprecated specification for JAVA SOAP technologies. JAX-WS
is the successor and the current specification, which is more portable and
light-weight.
There are two different WS architectures developers may choose from.
Contract-first (XML document-centric) approach, and RPC (object-centric)
approach. The first begins with WSDL and |
p***p 发帖数: 559 | 4 谢谢两位,我更迷糊了
以前只用过AXIS1,我以为web service就是基于SOAP的,所有的都应该兼容,就像HTTP
一样,不管是IE FF Tomcat jetty等等,都可以互操作。
我可以说JAX RPC和JAX WS是Java Webservice的API,那么AXIS和JbossWS是他们的实现
吧。另外两者的XML又有什么区别呢?
看来RPC和WS之间就不兼容,另外Contract-first (XML document-centric) approach,
and RPC (object-centric) approach.似乎WS都是用WSDL开始的啊?
彻底糊涂了
这次对方规定要用JbossWS,请问应该是支持JAXWS吧,那么和AXIS兼容么 |
F****n 发帖数: 3271 | 5 WS == Web Protocols + Standardized (Method Call) Data Formats
Web Protocols: HTTP, etc.
Standard Data Formats: SOAP, etc.
JAX_RPC / JAX_WS == tools that MAP Java objects / method call to standard
data formats / HTTP.
HTTP
approach,
【在 p***p 的大作中提到】 : 谢谢两位,我更迷糊了 : 以前只用过AXIS1,我以为web service就是基于SOAP的,所有的都应该兼容,就像HTTP : 一样,不管是IE FF Tomcat jetty等等,都可以互操作。 : 我可以说JAX RPC和JAX WS是Java Webservice的API,那么AXIS和JbossWS是他们的实现 : 吧。另外两者的XML又有什么区别呢? : 看来RPC和WS之间就不兼容,另外Contract-first (XML document-centric) approach, : and RPC (object-centric) approach.似乎WS都是用WSDL开始的啊? : 彻底糊涂了 : 这次对方规定要用JbossWS,请问应该是支持JAXWS吧,那么和AXIS兼容么
|
g*****g 发帖数: 34805 | 6 Web service means XML based protocol over http, it's language neutral.
SOAP is like a function call while restful is more light-weight but
there's no standard. JAX-WS is the successor of JAX-RPC
HTTP
approach,
【在 p***p 的大作中提到】 : 谢谢两位,我更迷糊了 : 以前只用过AXIS1,我以为web service就是基于SOAP的,所有的都应该兼容,就像HTTP : 一样,不管是IE FF Tomcat jetty等等,都可以互操作。 : 我可以说JAX RPC和JAX WS是Java Webservice的API,那么AXIS和JbossWS是他们的实现 : 吧。另外两者的XML又有什么区别呢? : 看来RPC和WS之间就不兼容,另外Contract-first (XML document-centric) approach, : and RPC (object-centric) approach.似乎WS都是用WSDL开始的啊? : 彻底糊涂了 : 这次对方规定要用JbossWS,请问应该是支持JAXWS吧,那么和AXIS兼容么
|