I need to create a service that has a service name string as input and returns true if the service exists. I checked the webMethods API javadoc and was not able to find any usable approach.
If there is no other solution, I could check on a file system level if the corresponding files exist, but I would prefer to have a clean solution based on webMethods APIs.
I would really appreciate to know if anyone else needed to solve this one.
WmRoot/wm.server.services.serviceInfo (checked it on version 8.2, not sure about the earlier versions)
Accepts a fully qualified name of the service and return the information about that service…also returns a message “Unknown service …” if it doesn’t find it…
please make a note …this service is in WmRoot package…SAG discourages the use of services in this package…
Ok, I can instantiate a NSName Object using e.g. a service name.
But besides invoking that service, I did not find any other use for that object using the API.