« Return to Thread: SLD SERVICE RESTLET PROPOSAL!

Re: SLD SERVICE RESTLET PROPOSAL!

by aaime :: Rate this Message:

Reply to Author | View in Thread

Andrea Cappugi ha scritto:
...
>> * the idea of having services generate resources server side
>>    seems fine, thought the url does not look right to me. Given
>>    that you're calling an algorithm, the url should be something
>>    like:
>> http://domain:8080/geoserver/sldservice/{featureType}/{UserStyleID}/{FeatureTypeStyleID}?quantileclassification&property={property}&classNum={num}
>>    I'm also not sure about the type of method, but since it's
>>    creating resources I guess it should be a POST
>  As before, I'm not a great expert of Rest but I think that in a Rest
> architecture we have to avoid the use of parameters, but I'm not sure. :-)

That's not my understanding, you have to avoid them to
refer to resources, but you have to use them when calling algorithms
server side. Someone suggest its usage for format specification
too:
http://groups.google.com/group/geo-web-rest/browse_frm/thread/b75e831aaaedc7a3

Cheers
Andrea

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@...
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

 « Return to Thread: SLD SERVICE RESTLET PROPOSAL!