#!/usr/bin/perl -w #----------------------------------------------------------------- # Moby # Author: Edward Kawas , # For copyright and disclaimer see below. # # $Id: Moby,v 1.2 2009/04/15 16:54:25 kawas Exp $ # # NOTES: # 1. This script can be used to test whether the various # registry scripts have been installed in their default # locations. The script attempts to read HTTP_HOST from # the web servers' environment. If that fails, it # defaults to localhost:8080 which is probably incorrect, so # edit it below. # #----------------------------------------------------------------- use strict; use CGI qw/:standard/; my $form = new CGI; print $form->header('text/html'); print &PRINT_HTML; sub PRINT_HTML { my $location = ''; # TODO get this from the mobyconfig file if ( $ENV{'HTTP_HOST'} ) { $location .= $ENV{'HTTP_HOST'}; } else { # Set this to the default hostname $location .= 'localhost:8080'; } my $msg =< Registry Scripts Test Page

BioMOBY Registry Scripts

RDF Agent Test - Invoke the RDF agent on the remote location that houses your RDF.

For a form based page, click here.

Generate RDF For Services - Create RDF for any one service or group of services already registered in the registry.

For a form based page, click here.

Ping Registered Services - Invoke the service pinger on any already registered service or group of services from a single service provider.

For a form based page, click here.

CallableServiceScript -Use this to determine whether or not a particular service(s) is reachable.

This servlet takes in the following parameters:

  • service - the name of your service <optional>
  • authority - the service providers authority URI <optional>
  • getStats - Whether or not to show some statistics <optional> - set parameter to true to see stats
  • getDeadServices - When given this parameter, only dead services are shown. <optional>

As an example, click here to see a report for all services.
In addition, to see a report for services by the authority bioinfo.icapture.ubc.ca, click here.
To see a list of unreachable services sorted by service provider, click here.
To see some stats regarding the percent of alive services, click here.
Finally, to see whether the service, getGoTerm, by the authority bioinfo.icapture.ubc.ca is alive, click here.

BioMobyWSDL - RESTful app that returns WSDL for a given service.

For example,

  1. WSDL for getGoTerm, by the authority bioinfo.icapture.ubc.ca

All that you have to do is append authURI/servicename to the path of the script.
The WSDL for that service, if it exists, will be returned!

The Resources 'Scripts' - Servlets that return the RDF representations of the BioMOBY ontologies.

For example,

  1. Object Ontology
  2. Namespace Ontology
  3. Service Type Ontology
  4. Service Instance Ontology
EOF return $msg; } __END__