Re: Responding to an XML data post

From: Date: Thu, 27 Sep 2012 18:00:56 +0000
Subject: Re: Responding to an XML data post
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-319284@lists.php.net to get a copy of this message
On Thu, Sep 27, 2012 at 1:48 PM, Bastien Koert <phpster@gmail.com> wrote: > Hi All, > > I am stuck in something where a 3rd party app pushes an XML post to my > site. They need me to respond to that push with a synchronous XML post > back confirming that the data was received / had issues etc. Those > XMLs are defined, but I am not sure how to push that XML back. A > simple > > echo $xml; > > is not making back to their system. Not sure how I can post back to their site If it's an actual postback, they should've given you an API endpoint for you to do a cURL post back to their side. If not, and they're just expecting an XML response, it could be that your XML is improperly formatted. -- </Daniel P. Brown> Network Infrastructure Manager http://www.php.net/

« previous php.general (#319284) next »