Probably you can programmatically remove service from service registry, so every will get 404. To return 503 http status code you need create web filter which intercept ws call and return 503 instead of passing request to webservice.
On 8/31/07, Veit Guna <[EMAIL PROTECTED]> wrote: > Hi. > > I'm wondering what's the right way to disable a webservice programmatically > with Xfire? The usecase is, that at one time a shutdown should be initiated. > During this shutdown phase, all "user" webservices should be shutdown > programmatically by a admin webservice. The admin webservice should still be > accessible though. Took a look at the Service and Endpoint class, but I > didn't find something like "disable" or something. Would be fine, if a 503 > could be returned then. > > Any hints? > > Regards, > Veit > > -- > GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. > Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > -- ----- When one of our products stops working, we'll blame another vendor within 24 hours. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
