Re: XML & HTTP

From: Date: Mon, 21 Mar 2005 12:20:45 +0000
Subject: Re: XML & HTTP
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-211180@lists.php.net to get a copy of this message
I need to use SOAP and I use PHP 5. Do I need to compile PHP with some option? Thanks On Fri, 18 Mar 2005 16:03:20 -0500, Jason Barnett <jason.barnett@telesuite.com> wrote: > Chris Shiflett wrote: > > Jerry Swanson wrote: > > > >> I generated XML file. I need to send the file to another server not > >> through FTP but though HTTP. > > > > > > Yes, I gathered that, but you're not telling us how you're supposed to > > send it. For example, when Google first provided their web API, they > > didn't say, "just send us an XML document." :-) > > > > There are many details you're not giving us (you can leave out the > > details involving the XML document itself, of course), so it's pretty > > much impossible to even guess an answer to your question. > > > > Chris > > > > Seriously... Chris is truly trying to help you. There are many, many > ways to send an XML file. The following are HTTP methods off of the top > of my head: > > SOAP (possibly with WSDL) > Simple HTTP POST (usually through a form) > Simple HTTP GET (possibly through a form, though passing XML documents > through URL parameters is probably not "A Good Thing".) > > It really depends on what the *receiving server* expects. Is there a > documented API? Or perhaps can you just point us to the page (URL) that > is supposed to receive the XML document? > > -- > Teach a man to fish... > > NEW? | http://www.catb.org/~esr/faqs/smart-questions.html > STFA | http://marc.theaimsgroup.com/?l=php-general&w=2 > STFM | http://php.net/manual/en/index.php > STFW | http://www.google.com/search?q=php > LAZY | > > http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins > > >

« previous php.general (#211180) next »