Creating a Web Service (Server)

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
User avatar
kendall
Forum Regular
Posts: 852
Joined: Tue Jul 30, 2002 10:21 am
Location: Trinidad, West Indies
Contact:

Creating a Web Service (Server)

Post by kendall »

Hi guys,

now i have read many an article on using Webservices and using SOAP but my these articles usually focus on the "client" side of the service. I am trying to figure out how to create the "server" for recieving the rquest.

The request are recieved as RAW XML Content streamed to me but my my concept of "HOW" to capture the content into a variable is what i can't understand.

The concept isn't obivously one where i can usually do a $_POST or $_GET and i get the information. So what do i do? I have been researching on a PHP defined variable called HTTP_RAW_POST_DATA but there has been "mixed" theories on how to "access" it. However if this does exist is it a "safe" and trusted approach to developing a web service "server"...

Also....can any of you direct me to any articles that explain the approaches in developing a "handler" for a web service because I want to be aware of what ever steps i need to take to ensure a safe environment and proper execution of the process...

thanks

Kendall
Post Reply