It depends on the client you are using, for example with CURL something
like this should work (-u admin:geoserver):
curl -v -u admin:geoserver -XGET -H "Accept: text/xml"
  http://localhost:8080/geoserver/rest/about/version.xml
On Mon, 2020-01-13 at 16:51 +0700, Muhammad Iqnaul Haq wrote:
> Hi Nuno,
> 
> Thank you for your reply, yes it turns out the issue was caused by
> authentication for the workspace. Any suggestions on put basic https
> auth in the header request?
> 
> On Mon, Jan 13, 2020, 4:23 PM Nuno Oliveira 
> ons.it> wrote:
> > Hi,
> > yes could be authentication related, it could also be that you are
> > targeting a virtual service, without more details is hard to say.
> > 
> > On Sun, 2020-01-12 at 21:35 +0700, Muhammad Iqnaul Haq wrote:
> > > Dear all,
> > >  
> > > I have issue when try to access layers from Remote Geoserver WFS
> > > using geoext and openlayers. It gave me  an error message :
> > > ows:Exception exceptionCode="InvalidParameterValue"
> > > locator="namespace">
> > >     Unknown namespace
> > > [MapTab_helge]
> > >  
> > > I can assure that I the workspace name and layers is correct. The
> > > geoserver(2.14) was setup by different person, then I try to
> > > access layers in my local geoserver using the same script and
> > > it’s working normal. Is there any configuration or authentication
> > > method which I should take a look?
> > >  
> > > --
> > > Thank You
> > > Regards
> > > 
> > > Muhammad Iqnaul
> > > GIS, WebGIS, and Remote Sensing Specialist based in Indonesia
> > > 
> > > Sent from Mail for Windows 10
> > >  
> > > _______________________________________________
> > > Geoserver-users mailing list
> > > 
> > > Please make sure you read the following two resources before
> > > posting to this list:
> > > - Earning your support instead of buying it, but Ian Turton: http
> > > ://www.ianturton.com/talks/foss4g.html#/
> > > - The GeoServer user list posting guidelines: http://geoserver.or
> > > g/comm/userlist-guidelines.html
> > > 
> > > If you want to request a feature or an improvement, also see
> > > this: https://github.com/geoserver/geoserver/wiki/Successfully-re
> > > questing-and-integrating-new-features-and-improvements-in-
> > > GeoServer
> > > 
> > > 
> > > Geoserver-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/geoserver-users
> > -- 
> > Regards,
> > Nuno Oliveira
> > ==
> > GeoServer Professional Services from the
> > experts! 
> > Visit http://goo.gl/it488V for more information.
> > ==
> > 
> > Nuno Miguel Carvalho Oliveira
> > @nmcoliveira
> > Software Engineer
> > 
> > GeoSolutions S.A.S.
> > Via di Montramito 3/A
> > 55054  Massarosa (LU)
> > Italy
> > phone: +39 0584 962313
> > fax:      +39 0584 1660272
> > 
> > http://www.geo-solutions.it
> > http://twitter.com/geosolutions_it
> > 
> > -------------------------------------------------------
> > 
> > Con riferimento alla normativa sul trattamento dei dati 
> > personali (Reg. UE 2016/679 - Regolamento generale sulla 
> > protezione dei dati “GDPR”), si precisa che ogni 
> > circostanza inerente alla presente email (il suo contenuto, 
> > gli eventuali allegati, etc.) è un dato la cui conoscenza 
> > è riservata al/i solo/i destinatario/i indicati dallo 
> > scrivente. Se il messaggio Le è giunto per errore, è 
> > tenuta/o a cancellarlo, ogni altra operazione è illecita. 
> > Le sarei comunque grato se potesse darmene notizia.
> > 
> > This email is intended only for the person or entity to 
> > which it is addressed and may contain information that 
> > is privileged, confidential or otherwise protected from 
> > disclosure. We remind that - as provided by European 
> > Regulation 2016/679 “GDPR” - copying, dissemination or 
> > use of this e-mail or the information herein by anyone 
> > other than the intended recipient is prohibited. If you 
> > have received this email by mistake, please notify 
> > us immediately by telephone or e-mail.
> > 
-- 
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:      +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to