« Return to Thread: GeoServer 1.5.4 error in Demo Request.

Re: GeoServer 1.5.4 error in Demo Request.

by David Winslow-5 :: Rate this Message:

Reply to Author | View in Thread

Justin Deoliveira wrote:

> Hi Toan,
>
> Sounds strange indeed. To humor me can you try the following GET request:
>
> http://localhost:8080/geoserver/wfs?request=getcapabilities
>
> And then the following POST request:
>
> <wfs:GetCapabilities service="wfs" xmlns:wfs="http://www.opengis.net/wfs"/>
>
> I suggest using 'curl' as to factor out any issues with the demo request
> form itself. If you save that to a file 'foo', you can do:
>
> curl -H 'Content-type: text/xml' -d @foo http://localhost:8080/geoserver/wfs
>
> (There is a more concise command for POST requests but I cant remember
> it at the moment :) )
>  
I usually use 'curl -Tfoo -XPOST http://localhost:8080/geoserver/wfs' 
for POST requests.

> If indeed the POST request fails but the GET requests proceeds then I
> agree with you, something is blocking POST request... but i have no idea
> of what it may be... I have never seen this issue before.
>
> -Justin
>
> Toan Nguyen wrote:
>  
>> I have found something, but I dont know why, I hope someone can help me.
>> Geoserver Demo Request use POST method, when we choose a request, the
>> info will apply to the form in Response Frame, and POST to Geoserver
>> then result will return in Response frame.
>> But, with a request without post info. I copy URL of request, and paste
>> in AddressBar, enter then result appear.
>> I think, Geoserver or Tomcat or something dont accept POST method.
>>
>> --
>>    Nguyễn Đình Toán
>>
>> -------------------------
>> Neu khong doc duoc tieng Viet, vui long vao menu View --> chon Encoding
>> --> chon Unicode (UTF-8). Cam on.
>>
>>
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Geoserver-users mailing list
>> Geoserver-users@...
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>    
>
>
>  

-d

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users

 « Return to Thread: GeoServer 1.5.4 error in Demo Request.