Re: Responding to an XML data post

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 27, 2012 at 1:00 PM, Daniel Brown <danbrown@xxxxxxx> wrote:
> On Thu, Sep 27, 2012 at 1:48 PM, Bastien Koert <phpster@xxxxxxxxx> 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/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

Also, make sure you've set the right content type header.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux