GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  ASTRO::CATALOG::TRANSPORT::WEBSERVICE (3)

.ds Aq ’

NAME

Astro::Catalog::Transport::WebService - A base class for WebService querys

CONTENTS

SYNOPSIS



  use base qw/ Astro::Catalog::Transport::WebService /;



DESCRIPTION

This class forms a base class for all the WebService based query classes in the Astro::Catalog distribution (eg Astro::Catalog::Query::Sesame).

REVISION

$Id: WebService.pm,v 1.4 2003/08/03 06:18:35 timj Exp $

METHODS

    Constructor

<B>newB> Create a new instance from a hash of options



  $q = new Astro::Catalog::Transport::WebService(
                                            Coords    => new Astro::Coords(),
                                            Radius    => $radius,
                                            Bright    => $magbright,
                                            Faint     => $magfaint,
                                            Sort      => $sort_type,
                                            Number    => $number_out );



returns a reference to an query object. Must only called from sub-classed constructors.

RA and Dec are also allowed but are deprecated (since with only RA/Dec the coordinates must always be supplied as J2000 space-separated sexagesimal format).

<B>querydbB> Unlike Astro::Transport::REST a default querydb() method is not provided by this base class, each sub-class must provide its own implemetation.
<B>proxyB> Return (or set) the current proxy for the catalog request.



   $usno->proxy( http://wwwcache.ex.ac.uk:8080/ );
   $proxy_url = $usno->proxy();



<B>urnB> Return the current remote urn for the query



   $host = $q->urn();



Can also be used to set the urn.

<B>endpointB> Return the current endpoint for the query



   $host = $q->endpoint();
   $q->endpoint( http://www.blah.org:8080 ););



Can also be used to set the endpoint. If the endpoint is a wsdl file the SOAP::Lite object will automagically be configured to use the correct URN, e.g.



   $q->endpoint( http://cdsws.u-strasbg.fr/axis/Sesame.jws?wsdl );



    General Methods

<B>configureB> Configures the object, takes an options hash as an argument



  $q->configure( %options );



Does nothing if the array is not supplied.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 ASTRO::CATALOG::TRANSPORT::WEBSERVICE (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.