I suppose Jerry was talking about the possibilities, just like the ways you listed. And, perhaps Jerry have his own two servers, and wanna build a whole system in which the servers communicate with ach other via xml doc. In this case, I think SOAP is a better way for Jerry. On Fri, 18 Mar 2005 16:03:20 -0500, Jason Barnett <jason.barnett@xxxxxxxxxxxxx> 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 > > > -- Sincerely, Forest Liu(åäè) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php