- public WSClient()
- {
- }
- /**
- * initialise WSClient service information attributes from the service handle
- * @param sh
- * @return the service instance information GUI for this client and job.
- */
- protected WebserviceInfo setWebService(ServiceHandle sh)
- {
- return setWebService(sh, false);
- }
- /**
- * original service handle that this client was derived from
- */
- ServiceHandle serviceHandle=null;
- /**
- * initialise WSClient service information attributes from the service handle
- * @param sh
- * @param headless true implies no GUI objects will be created.
- * @return the service instance information GUI for this client and job.
- */
- protected WebserviceInfo setWebService(ServiceHandle sh, boolean headless)
- {
- WebServiceName = sh.getName();
- if (ServiceActions.containsKey(sh.getAbstractName()))
- {
- WebServiceJobTitle = sh.getName(); // TODO: control sh.Name specification properly
- // add this for short names. +(String) ServiceActions.get(sh.getAbstractName());
- }
- else
- {
- WebServiceJobTitle = sh.getAbstractName() + " using " + sh.getName();