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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]