looking for documentation

Shui Kwok skwok at keck.hawaii.edu
Tue Nov 14 11:45:48 PST 2006


Hi Nicholas,

I believe, these names 
>  - QueryResourceResult
>  - QueryRegistryResult
>  - QueryVOResourceResult
>  - KeywordSearchResult
>  - DumpVOResourcesResult
>  - DumpRegistryResult

are tags of the XML that is returned from the web services.
The PHP SOAP package, nusoap, converts the returned XML into
a PHP associative array. To access the actual result of
the web service request, we built a key, which names is
   name of web service method + "Result".

If you look at the WS example for QueryResource:
http://nvo.stsci.edu/VORegistry/registry.asmx?op=QueryResource

you will see that QueryResourceResult is the inside of the soap body,
as Body/QueryResourceResponse/QueryResourceResult.

This is a feature of the web service and not of the PHP VO library.
As Ray mentioned, a change in the implementation on the web service provider
side can break the PHP VO library.

Hope this helped,

Shui





-----Original Message-----
From: Ray Plante [mailto:rplante at poplar.ncsa.uiuc.edu]
Sent: Tue 11/14/2006 4:24 AM
To: moreau nicolas
Cc: registry at ivoa.net; Shui Kwok
Subject: Re: looking for documentation
 
Hi Nicholas,

I take it you got this from the NVO Summer School distribution, so you've 
probably looked at the README.  You might also check out a 2005 tutorial
(http://us-vo.org/summer-school/2005/proceedings/presentations/phptutorial.html),
which is probably not too out of date.

For further information, like class-level documentation, you might check 
with the library's author, Shui Kwok (skwok at keck.hawaii.edu).

Note, however, that this library is built against the proprietary 
interface of the registry at STScI.  This has been widely used while the 
standard interface, described in the Registry Interface spec document you 
mention, has been under development.  Implementations of standard 
interface to all our VO registries is now underway.  Watch this list for 
updates and information about software.

cheers,
Ray Plante

On Tue, 14 Nov 2006, moreau nicolas wrote:

> Hi,
>
> I took a look at the php "VORegistry" class available on the NVO website. I 
> saw that it calls the following method from a registry :
>
>  - QueryResourceResult
>  - QueryRegistryResult
>  - QueryVOResourceResult
>  - KeywordSearchResult
>  - DumpVOResourcesResult
>  - DumpRegistryResult
>
> However, I'm unable to find some documention about those methods ( I thought 
> that I could find them in the "Registry Interface" document but it is not in 
> there).
>
> So where could I find something about them ?
>
> Best regards
>
> -- 
> -------------------------------------------------------------------------------------------------------------------
> Nicolas Moreau,  Observatoire de Paris-Meudon-Nancay
> LERMA 01 45 07 79 76 mail:nicolas.moreau at obspm.fr
> -------------------------------------------------------------------------------------------------------------------



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ivoa.net/pipermail/registry/attachments/20061114/7785c300/attachment-0001.html>


More information about the registry mailing list