[Registry-dev] Using our Registry as a PURL server (and also making it work with non-Registry aware clients)

Glen Daniels glen at wso2.com
Thu Mar 13 12:08:50 PDT 2008


Hi Paul:

Paul Fremantle wrote:
> If we store URLs in the Registry, it would be nice to be able to point 
> to the Registry entry and get back a redirect to the stored URL.

+1, although it might also be good to just proxy it and serve it up. 
Maybe that should be configurable?

> So, what this means is that a client could direct their SOAP client to 
> the registry URL: e.g.
> 
> new 
> Stub("http://reg/wso2registry/resource/services/finance/accounting?redirect"); 
> 
> The client library will then auto redirect to the real URL stored at
> http://reg/wso2registry/resource/services/finance/accounting

Hm, I don't think we'd need the "?redirect" at all.  We'd basically 
invent a media-type (I think we discussed this before too) for URLs, let 
you install those into the registry, and then we'd serve them up as a 
redirect.  So http://.../accounting would just redirect to wherever the 
"real" URL was.

--Glen



More information about the Registry-dev mailing list