为了实现BPEL流程在运行过程中对Web服务的动态调用,提出了一种通过服务代理为BPEL流程分配Web服务的方法。对传统的Web服务模型进行分析,指出其不足之处,将服务代理引入传统的Web服务模型,提出了基于代理的Web服务模型,描述了服务代理的功能和结构,以此为基础构建了基于代理的BPEL业务流程框架,实现了Web服务的动态调用,最后通过实例说明了该方法的可行性。
To implement the dynamic call of web service when the BPEL process is running,a method to distribute web services is presented by the service agent.Firstly,the traditional model of web service is analyzed,and the shortage is pointed out.The traditional model of web service is transformed to the agent-based model by the introduction of the service agent,the function and structure of the service agent are described in detail,and the agent-based framework for BPEL process is built according to the extended model.Finally,the feasibility of the method is illustrated by a case.