PDA

View Full Version : Check for a servicebs existence


qn2533
07-13-2005, 11:17
Hi All,

Is there a way to check for a service's existent on the server before doing a Service.doInvoke() (provided that the passed-in service's name is well-formed)?

Found WmMonitor.pub.monitor.service.exists method but I guess it's for a different purpose (throw SQLExpception) and PSUtilities.misc.matchServiceName() method name but don't know how to use it or it is what I need

Any help is greatly appreciated,

QN

aniol
07-13-2005, 11:29
Is this what you are looking for?

http://www.wmusers.com/wmusers/messages/117/15310.shtml

qn2533
07-13-2005, 12:13
Thanks Aniol !!!

Looks like it is. Will verify soon.

Thanks again.

QN