Hello all,

I'm running Geoserver 2.0.2 and experimenting with the REST config 
examples and have been trying out the php rest config examples at:
http://docs.geoserver.org/stable/en/user/extensions/rest/rest-config-examples-php.html

I submit:  POST /geoserver/rest/workspaces HTTP/1.1
The GeoserverPHP.log that is created says .................... HTTP/1.1 
405 Method Not Allowed .................

My Geoserver does get the request, and the Geoserver log says:

2010-12-07 10:26:01,797 DEBUG [geoserver.filters] - filtering 
http://map.paq.com/geoserver/rest/workspaces
2010-12-07 10:26:01,797 DEBUG 
[security.RESTfulPathBasedFilterInvocationDefinitionMap] - Converted URL 
to lowercase, from: '/rest/workspaces'; to: '/rest/workspaces'  and 
httpMethod= POST
2010-12-07 10:26:01,797 DEBUG 
[security.RESTfulPathBasedFilterInvocationDefinitionMap] - ~~~~~~~~~~ 
antPath= /** methodList= [Ljava.lang.String;@1d0eb0b
2010-12-07 10:26:01,797 DEBUG 
[security.RESTfulPathBasedFilterInvocationDefinitionMap] - method[0]: GET
2010-12-07 10:26:01,797 DEBUG 
[security.RESTfulPathBasedFilterInvocationDefinitionMap] - method[1]: POST
2010-12-07 10:26:01,797 DEBUG 
[security.RESTfulPathBasedFilterInvocationDefinitionMap] - method[2]: PUT
2010-12-07 10:26:01,797 DEBUG 
[security.RESTfulPathBasedFilterInvocationDefinitionMap] - method[3]: DELETE
2010-12-07 10:26:01,797 DEBUG 
[security.RESTfulPathBasedFilterInvocationDefinitionMap] - Candidate is: 
'/rest/workspaces'; antPath is /**; matchedPath=true; matchedMethods=true


So, can anyone give me an idea where the error is? Does Same Origin 
Policy apply with REST?

Thanks,
Ryan

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to