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

Re: [xmlblaster] Newbie question: xlmblaster and php: how to get updates?



Marcel Ruff a écrit :
Eduard Martinez wrote:
Hello

I'm trying to implement an application wich sends messages asynchrolously
betwen a java application an several php clients. I took a look to the php
demo, but I can't figure how to suscribe on a topic and specify something to
get updates when there is a new message of the topic, like the java client.
Is it possible? How can I do it?


Cheers,

Edu
1. Extend Cyrilles XmlRpc example with a XmlRpc-callback server,
there are many such implementations, see
http://www.xmlrpc.com/directory/1568/implementations
Hi guys,

I'm not using all that stuffs for a while, but I remember that it is easy to implement a xml-rpc server (listener) with a php web page,
just have a look at
the php scenario could be something like :
- something (php,Java,email, ...) subscribe to xmlBlaster and give to it a Callback Url.
- that Callback Url is poiting to your XmlRpc listener (server) Php WebPage.
- then when a xmlBlaster message is available for the subscribtion, it will be send to that url.


I hope my sample is not wrong, it is coming directly from my memory perforated like a Gruyere ;o)

Cheers, Cyrille.


PS: When you've done with that, you could contribute to xmlBlaster by publishing you work or documentation, to complete the http://www.xmlblaster.org/xmlBlaster/doc/requirements/client.php.html
;o)



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature