Creating a Web Service (Server)
Posted: Mon Apr 21, 2008 9:25 am
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
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