Getting SOAP request (POST body)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Joshua Morgan

    Getting SOAP request (POST body)

    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.

    Thanks,

    Joshua Morgan

  • Joshua Morgan

    #2
    Re: Getting SOAP request (POST body)

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

    Comment

    • noone

      #3
      Re: Getting SOAP request (POST body)

      Joshua Morgan wrote:[color=blue]
      > 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.
      >
      > Thanks,
      >
      > Joshua Morgan
      >[/color]

      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:


      Comment

      • Joshua Morgan

        #4
        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.

        Comment

        Working...