I have not done #2, but I think you just need to break out the problem step-by-step: 1.) hardcode *any* XML/JSON notification to a hardcoded HTTP endpoint. 2.) write web service to collect the HTTP endpoints, and send hardcoded notification to those endpoints. (Your Step #1 below) 3.) add the business logic to send out the notifications only from an event handler. Hardcode an activation of the event. 4.) modify the business logic to activate the event handlers only when an actual activating event occurs.
Then, post back for precisely where your problems are occurring. Glen chetan wrote: > > Hi, > I'm trying to implement a few WS using CXF. > I was successful in implementing a few services. > However, I'm not sure how can I use CXF to deliver HTTP based > notifications to the clients. > > My scenario is: > 1. client invokes RESTful WS (implemented using CXF) and registers itself > for event notifications giving its http endpoint. > 2. when an event occurs, I need to send out XML / JSON notification on > HTTP. > > Can some point me to any resource to implement #2? > Or any pointers... > > Thanks in advance, > Chetan > -- View this message in context: http://cxf.547215.n5.nabble.com/Web-services-notification-tp2847945p2849915.html Sent from the cxf-user mailing list archive at Nabble.com.
