Getting SOAP request (POST body)

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hey all,

I want to write my own SOAP server without using any libraries such as
PEAR::SOAP or nusoap.

My question is how do I get the soap request from the POST body? It
doesn't appear possible to do it via $_POST.


Joshua Morgan

Re: Getting SOAP request (POST body)

nevermind i found out you can use the stream php://input

Re: Getting SOAP request (POST body)

Joshua Morgan wrote:
Quoted text here. Click to load it

I would have to say "if you are asking that question you are not  
anywhere near ready to start coding a "server""!!

To fully understand the SOAP protocol, here is a good place to start:

Re: Getting SOAP request (POST body)

Heh, probrably true but I managed to find it. As noted above its the
phpin:// stream in PHP that provides you with the raw POST data.

Site Timeline