Re: Passing XML Doc's
| From: | Manuel Lemos | Date: | Thu, 28 Jun 2001 12:57:08 +0000 |
| Subject: | Re: Passing XML Doc's | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55486@lists.php.net to get a copy of this message | ||
Hello,
Niel Zeeman wrote:
>
> Hi there
>
> Is there anyway of passing a xml document to a php page as raw data.
>
> What I want to do is eg.
> send a page a xml document and recieve a response ( in xml ) from that page.
>
> I could eg get the result using fopen(
> 'http://url.com/xml.php' , 'r' )
>
> but how do i send it any data without using for eg.
> fopen( " http://url.com/xml.php?xml=xml_string_document
> ", 'r' )
Aren't you trying to implement Web services using SOAP?
You may want to look into this PHP class that is a base for
implementation of of SOAP services via Web or not:
http://phpclasses.UpperDesign.com/browse.html/package/251
and also this HTTP client request class that even includes an example of
how to make a SOAP remote request that is basically passing a XML
request message like what you want:
http://phpclasses.UpperDesign.com/browse.html/package/3
Manuel Lemos