The ability to provide data and functionality to other Internet-based Web applications via Web services is quickly becoming a requirement for serious development. While Oracle does provide a number of ways to host Web services, doing so is not always the most effective approach if you are already using PHP to develop your Web application. In this recipe, Ill take you step-by-step through the development of a SOAP client and server in PHP using Oracle as a backend for your data.
To really understand the answer to this question, you need to understand the lifecycle of PHP script execution and how your Web server affects that lifecycleand that's exactly where I'll begin this recipe.
The article continues at