code: public Vector<Object> getSpecification(Vector<Object> specificationParams)
      {
          try
          {
              Specification specification = Specification.newInstance((String)specificationParams.get(DOCUMENT_NAME_IDX));
              
              Vector<?> repositoryParams = (Vector<?>)specificationParams.get(DOCUMENT_REPOSITORY_IDX);
              Repository repository = Repository.newInstance((String)repositoryParams.get(REPOSITORY_UID_IDX));
              repository.setName((String)repositoryParams.get(REPOSITORY_NAME_IDX));
              
              specification.setRepository(repository);
  
  			specification = service.getSpecification(specification);
  
  			if (specification == null)
  			{
  				return XmlRpcDataMarshaller.errorAsVector(SPECIFICATION_NOT_FOUND);
  			}
  			else
  			{
  				log.debug( "Specification found: " + specification.getName() );
  				return specification.marshallize();
  			}
  		}
          catch (Exception e)
          {
              return errorAsVector( e, SPECIFICATION_NOT_FOUND );
          }
      }
docs: {@inheritDoc}