在当今Web领域,Web Services是一个实现SOA架构的新标准,以惊人的速度发展。Axis作为一个SOAP引擎,提供创建服务器端、客户端操作的基本框架。PHP5支持对SOAP的扩展,提供和调用Web Services功能。该文给出了用PHP5来调用在Axis上发布的四则运算Web Services的实例,并给出了客户端和服务器端的SOAP传递消息过程。
In Web field nowadays,although Web Services is a ne w standard of realizing SOA,it has developed quickly. Axis provides a basic framework of creating operation of server-side、client-side and gateway as a SOAP engine. PHP5 supports SOAP extension,namely it can uses to provide and invoke Web Services. This paper gives an instance of invoking published arithmetic Web Services on Axis which uses PHP5,and gives the process of transferring SOAP between server-side and client-side.