Hello Andrea.
Thanks for your answer!
Maybe emtpy feature collection one?
If so it means there are no features in the bbox you've
requested. Try running the same request without
the bbox filter.
Yes, it's an empty fetaure collection tag. If I try to run it without bbox then I get the result that I expected. But I'm 100% sure that I'm using the same BBOX as in the "Map Preview" application and it should return some fetaures that I know is within the BBOX and that is shows in the "Map Prebiew" application.
The demo example (Sample Request->WFS_getFeatureBBOX.url) that comes with the installation of geoserver also returns an empty feature collection, I don't know if is should do that but my guess is that it supposed to return something..
Hmm... really really sure? 
Yepp, I'm realy realy realy sure.. Almost.. =)
Ah, which version of geoserver are you using?
We are using geoserver 1.6.0-RC3
Thanks again!
Regards: Mårten
************************************************************************
Mvh:
Mårten Swärd
Systemutvecklare/Webbutvecklare, ITs
SMHI, Sveriges Meteorologiska och Hydrologiska Institut
Tel: +46 11 495 8469
-----Ursprungligt meddelande-----
Från: Andrea Aime [mailto:aaime@anonymised.com]
Skickat: den 7 februari 2008 12:11
Till: Swärd Mårten
Kopia: geoserver-users@lists.sourceforge.net
Ämne: Re: [Geoserver-users] getFeatures by BBOX
Swärd Mårten ha scritto:
Hello!
I want to get all fetaures in a layer that is within a BBOX, this is the
url I'm using:
_http://webmap.smhi.se:58080/geoserver/wfs?request=GetFeature&version=1.1.0&typeName=smhi:halka_time1&propertyName=typ,skapad&BBOX=650909.1813958837,5427024.1381324865,2305434.503697643,7918123.2622701675_
<http://webmap.smhi.se:58080/geoserver/wfs?request=GetFeature&version=1.1.0&typeName=smhi:halka_time1&propertyName=typ,skapad&BBOX=650909.1813958837,5427024.1381324865,2305434.503697643,7918123.2622701675>
If I put this url directly in the browser it only returns a empty
featuretype-tag,
Emtpy feature type tag? Maybe emtpy feature collection one?
If so it means there are no features in the bbox you've
requested. Try running the same request without
the bbox filter.
no errors. But if I run the same url in Geoservers
demo-request I get this error:
*org.xmlpull.v1.XmlPullParserException: only whitespace content allowed
before start tag and not h (position: START_DOCUMENT seen h... @1:1)
only whitespace content allowed before start tag and not h (position:
START_DOCUMENT seen h... @1:1)*****
That's because you pasted it in the box reserved for the POST
content, instead of pasting it into the the url field.
None of the behaviors is the result I want to get back.. There are
features within this bounding-box, if I open the same layer in "Map
preview" the features is shown correctly and the bounding box is the
same as I use in the url above.
Hmm... really really sure? 
Ah, which version of geoserver are you using?
Cheers
Andrea