为了突显P2P和Web服务的优势,基于JXTA平台的核心协议和Web服务的体系架构,建立了P2P网络中的Web服务发布模型,该模型通过利用管道、通告等JXTA协议机制实现了Web服务的SOAP消息的打包,完成了P2P网络中的Web服务的发布和请求及其协同工作.本模型通过JXTA协议的二次开发实现了将Web服务发布到P2P网络中的各对等点上,在一定程度上实现了P2P和Web的融合.
In order to highlight the advantage of P2P and Web services, based on the core protocols of JXTA platform and Web services architecture, the publishing model of Web services in P2P network was established. This model packed the SOAP message of Web services, and implement the request and publish of Web services in P2P network and their collaboration by means of pipes, advertisements and other JXTA protocols. This research achieve the integration of P2P and the Web Services to a certain extent, and publish the Web Services on peers of P2P network via secondary development on JXTA protocol.