Many RESTConfig actions return no text if they are successful.  If you look
in the web UI, is your new layergroup available?

You can try adding a "-v" flag to your curl command to get more information
about the HTTP request and response.  If your layergroup wasn't created,
could you include a copy of that output in this thread?

--
David Winslow
OpenGeo - http://opengeo.org/

On Wed, Oct 20, 2010 at 5:44 AM, Arnaud Vandecasteele
<[email protected]>wrote:

> So,
>
> I tried to do that :
>
> ---------
> curl -u user:mdp -XPOST -d @sismarisTestArnaud.xml -H 'Content-Type:
> text/xml' http://myGeoServerPath/geoserver/rest/layergroups
> ---------
>
> But nothing happen. Do you see anything wrong ?
>
> Regards
>
> Arnaud
>
>
> On Wed, Oct 20, 2010 at 11:27 AM, Arnaud Vandecasteele
> <[email protected]> wrote:
> > I think this documentation will help me a lot :
> >>
> http://docs.geoserver.org/2.0.0/user/extensions/rest/rest-config-examples-curl.html#creating-a-layer-group
> >
> > I will try with this solution.
> >
> > Regards
> >
> > Arnaud
> >
> > On Wed, Oct 20, 2010 at 11:11 AM, Arnaud Vandecasteele
> > <[email protected]> wrote:
> >> David,
> >>
> >> Tank you for your quick answer.
> >> But I'm not really familiar with geoserver (but I try to do) :)
> >> Could you just explain me how to use a rest config to do it ?
> >>
> >> Best regards
> >>
> >> Arnaud
> >>
> >> On Mon, Oct 18, 2010 at 8:05 PM, David Winslow <[email protected]>
> wrote:
> >>> The UI doesn't provide a facility for this, but I think it would be
> pretty
> >>> straightforward in RESTConfig; just download the XML for the source,
> change
> >>> the <name> element, and PUT it to the destination.
> >>> --
> >>> David Winslow
> >>> OpenGeo - http://opengeo.org/
> >>>
> >>> On Mon, Oct 18, 2010 at 12:51 PM, Arnaud Vandecasteele
> >>> <[email protected]> wrote:
> >>>>
> >>>> Hi all,
> >>>>
> >>>> I got two layer groups in my geoserver architecture. One for a
> >>>> pre-prod map and another one for the production map.
> >>>> But I have very often to swap between the pre-prod and the producion.
> >>>> And all the change I made in the preo-prod layer groups I have to do
> >>>> it again for the production layer groups.
> >>>> So i would like to know if it's possible to apply/replace all I did
> >>>> before in my layer pre-prod to the production layers group .
> >>>> Do you know how can I do that ?
> >>>>
> >>>> Tanks for your help.
> >>>>
> >>>> Best regards
> >>>>
> >>>> Arnaud
> >>>>
> >>>>
> >>>>
> ------------------------------------------------------------------------------
> >>>> Download new Adobe(R) Flash(R) Builder(TM) 4
> >>>> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> >>>> Flex(R) Builder(TM)) enable the development of rich applications that
> run
> >>>> across multiple browsers and platforms. Download your free trials
> today!
> >>>> http://p.sf.net/sfu/adobe-dev2dev
> >>>> _______________________________________________
> >>>> Geoserver-users mailing list
> >>>> [email protected]
> >>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> >>>
> >>>
> >>
> >>
> >>
> >> --
> >> --------------------------------------------------------------------
> >> Van De Casteele Arnaud
> >> Mines Paris Tech - CRC
> >> Sophia-Antipolis
> >> 0698 24 25 29
> >> SIG - WebMapping - SOLAP - BI - GeoCollaboration
> >>
> >> Web Site
> >> http://geotribu.net/
> >> http://www.sismaris.org/
> >>
> >
> >
> >
> > --
> > --------------------------------------------------------------------
> > Van De Casteele Arnaud
> > Mines Paris Tech - CRC
> > Sophia-Antipolis
> > 0698 24 25 29
> > SIG - WebMapping - SOLAP - BI - GeoCollaboration
> >
> > Web Site
> > http://geotribu.net/
> > http://www.sismaris.org/
> >
>
>
>
> --
> --------------------------------------------------------------------
> Van De Casteele Arnaud
> Mines Paris Tech - CRC
> Sophia-Antipolis
> 0698 24 25 29
> SIG - WebMapping - SOLAP - BI - GeoCollaboration
>
> Web Site
> http://geotribu.net/
> http://www.sismaris.org/
>
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to