Hi,

Sorry for delay I was out of my office.

Please find bellow the request and response from Server.

DB is oracle spatial 10g

Regards

Balazs


Request : --------->

8715237 [FINE] org.vfny.geoserver.servlets.AbstractService - ------------XML 
POST START-----------
<?xml version="1.0" encoding="UTF-8"?>
<Transaction xmlns:wisa="http://www.lfrz.at"; xmlns="http://www.opengis.net/wfs"; 
xmlns:gml="http://www.opengis.net/gml"; xmlns:ogc="http://www.opengis.net/ogc"; ve
rsion="1.0.0" service="WFS" lockAction="ALL"><Insert><wisa:STATION_W 
fid="newwisa:STATION_W.9223372036854775807"><wisa:ID>12.0</wisa:ID>
<wisa:USER_ID>12.0</wisa:USER_ID>
<wisa:CLICK_X>400000.0</wisa:CLICK_X>
<wisa:CLICK_Y>400000.0</wisa:CLICK_Y>
<wisa:CLICK_POINT><gml:Point><gml:coordinates decimal="." cs="," ts=" 
">400000.0,400000.0</gml:coordinates>
</gml:Point>
</wisa:CLICK_POINT>
<wisa:URL_WMS>http://tsvie01chatt:8080/geoserver/wms?bbox=600000,470000,640000,500000&amp;styles=line,polygon&amp;Format=image/png&amp;request=GetMap&amp;layers
=wisa:V_S_GEWSEG_TEST,wisa:V_S_EZG_TEST&amp;width=550&amp;height=250&amp;srs=EPSG:31287</wisa:URL_WMS>
<wisa:LABEL>LABEL</wisa:LABEL>
<wisa:ROUTEID>ROUTEID</wisa:ROUTEID>
<wisa:LAENGE_PUNKT_MUENDUNG>1.0</wisa:LAENGE_PUNKT_MUENDUNG>
</wisa:STATION_W>
</Insert>
</Transaction>


------------XML POST END-----------




And the response from SERVER:   ------------------------------------->

8716058 [FINE] org.vfny.geoserver.wfs.responses.TransactionResponse - Locating 
FeatureSource uri:'' name:'STATION_W'
 8716058 [FINE] org.vfny.geoserver.wfs.responses.TransactionResponse - located 
FeatureType w/ typeRef 'ora_sp_oci:STATION_W' and elementName 'wisa:STATION_W'
 8716058 [FINE] org.vfny.geoserver.ServiceException - > [null STATION_W 1]:
  wisa:STATION_W is read-only                        
 8716068 [WARNING] org.vfny.geoserver.servlets.AbstractService - service 
exception while executing request: Lock Id: null
releaseAction: ALL
handle: null
Handle: null STATION_W 1
ReleaseAll: false
TypeName: wisa:STATION_W
Feature[ id=fid-_1f795073_1118f199da2__7f69 , ID=12.0 , USER_ID=12.0 , 
CLICK_X=400000.0 , CLICK_Y=400000.0 , CLICK_POINT=POINT (400000 400000) , 
URL_WMS=http:/
tsvie01chatt:8080/geoserver/wms?bbox=600000,470000,640000,500000&styles=line,polygon&Format=image/png&request=GetMap&layers=wisa:V_S_GEWSEG_TEST,wisa:V_S_EZG_T
ST&width=550&height=250&srs=EPSG:31287 , LABEL=LABEL , ROUTEID=ROUTEID , 
LAENGE_PUNKT_MUENDUNG=1.0 ]


cause: wisa:STATION_W is read-only
 8716088 [SEVERE] org.vfny.geoserver.servlets.AbstractService - Service 
exception occurred
org.vfny.geoserver.wfs.responses.WfsTransactionException: wisa:STATION_W is 
read-only
        at 
org.vfny.geoserver.wfs.responses.TransactionResponse.execute(TransactionResponse.java:247)
        at 
org.vfny.geoserver.wfs.responses.TransactionResponse.execute(TransactionResponse.java:115)
        at 
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:516)
        at 
org.vfny.geoserver.servlets.AbstractService.doPost(AbstractService.java:447)
        at org.geoserver.request.Dispatcher.post(Dispatcher.java:295)
        at org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:181)
        at 
org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:52)
        at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
        at 
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
        at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684)
        at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
        at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392)
        at 
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:357)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445)
        at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1050)
        at 
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:103)
        at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:354)
        at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627)
        at 
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)
        at 
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)
        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
        at org.mortbay.jetty.Server.handle(Server.java:269)
        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
        at 
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:701)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:617)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:199)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
        at 
org.mortbay.jetty.nio.HttpChannelEndPoint.run(HttpChannelEndPoint.java:270)

Thanks for your support

Balazs



> -----Ursprüngliche Nachricht-----
> Von: Justin Deoliveira [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 20. März 2007 16:40
> An: Szakacs, Balazs
> Cc: geoserver users
> Betreff: [SPAM] Re: [Geotools-gt2-users] wfs write access and GeoServer
> 1.5.x
> 
> Moving to geoserver-users.
> 
> Can you include the exact request you are making? Thanks.
> 
> -Justin
> 
> Szakacs, Balazs wrote:
> > Hi Group,
> >
> >
> >
> > I have changed my GeoServer from 1.3.3 to 1.5-RC2.
> >
> > If I try to insert feature via WFS-T, I get a exception:
> >
> >  "........WfsTransactionException: <TypeName> is read-only"
> >
> > The same client with GS 1.3.3 is working without any problem.
> >
> > Please let me known, how can I set the WFS access right with GS 1.5?
> >
> > Thanks
> >
> > Balazs Szakacs
> >
> >
> >
> > !DSPAM:4007,45ff9327237569771116852!
> >
> >
> > ------------------------------------------------------------------------
> >
> > ------------------------------------------------------------------------
> -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > opinions on IT & business topics through brief surveys-and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >
> > !DSPAM:4007,45ff9327237569771116852!
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Geotools-gt2-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> >
> >
> > !DSPAM:4007,45ff9327237569771116852!
> 
> 
> --
> Justin Deoliveira
> The Open Planning Project
> http://topp.openplans.org

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to