Re: [PHP] XML & HTTP

From: Forest Liu (oxware_at_gmail.com)
Date: 03/19/05


Date: Sat, 19 Mar 2005 08:33:27 +0800
To: Jason Barnett <jason.barnett@telesuite.com>

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@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
>
>
>

-- 
           Sincerely,
                     Forest Liu(刘云赟)


Relevant Pages

  • Re: write with cURL
    ... I wonder how your customers would feel if they knew you ... Even if you have the most secure servers on the ... What didn't you *get* what I said that I told Jerry that if he didn't ... He then said it would take too long to set up an account, ...
    (alt.php)
  • Re: SMTP queue
    ... Hi Jerry, Thanks for the links. ... Those virtual servers are still showing. ... those queues are still there. ... Are you using DNS or smart host? ...
    (microsoft.public.windows.server.sbs)
  • RE: Critical Alert = Process (store.exe)
    ... "Jerry" wrote: ... > SBS 2003 SP1 group of service packs to both servers. ... > restart the Microsoft Exchange Information Store service. ...
    (microsoft.public.windows.server.sbs)
  • Re: Unable to send email
    ... your ISP will only let you send mail when dialled into their servers. ... > need the smtp server address of your cellphone's network before you'll be ...
    (microsoft.public.pocketpc)