-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi
Are you doing it in Java?
http://code.google.com/p/gsrcj/ is a Java client i wrote to configure GS
restfully with no dependencies except Java 1.5.
here is the full sourcecode:
http://code.google.com/p/gsrcj/source/browse/trunk/src/main/java/org/
Hello David,
Yes! Content-type has bitten me again. Using 'application/vnd.ogc.sld+xml'
works like a charm.
It is troubling that when either of those operations returns a 405 or 500,
the style is uploaded anyway. But if I do things The Right Way, I'm willing
to live with it.
Thanks for the qui
As far as I know, XStream should not be involved in updating an SLD file. I
guess you uploaded with a Content-type of text/xml instead of
application/vnd.ogc.sld+xml (or so, I forget the exact mime for SLD). It's
troubling that the previous style would be overwritten in this case,
however.
You c
Just to follow up:
If I POST instead of PUT, I do get an HTTP Status code of 405 (as the
documentation suggests), but the SLD is loaded into the style, with no
errors in the error log.
Please advise,
David
On Thu, Nov 18, 2010 at 11:11 AM, David Zwarg
> wrote:
> Hello,
>
> I am using the REST
Hello,
I am using the REST config to add some layers and styles to geoserver. All
is well when creating layers and styles. I've been following the examples
and using the API reference, which are extremely helpful.
I am running into a problem, though, with uploading SLDs. I am able to POST
to /geo