It looks like from the code snippet that a WFSException is thrown with the
details of the failed action. So the exception returned should provide some
information...

Are you able to run in a debugger and use a breakpoint to inspect those
variables?

--
Jody Garnett

On 12 December 2014 at 04:12, David Alda Fernandez de Lezea <[email protected]>
wrote:
>
> Hi,
>
> More tests.... I've managed to delete some features, so the comunication
> is OK, but the insertion of data still fails....
>
> I've been thinking about the possible problems. How about workspace and
> namespaces? I've recently created two new workspaces with their own
> datastores(shapefiles) . Could there be some misunderstanding in Geoserver?
>
> Thanks.
>
> Agur bero bat,
>
>
> David Alda Fernández de Lezea
> Área de Sistemas de Información Geográfica, Planificación Territorial y
> Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren
> Arloa.
> [email protected] | www.hazi.eus
> T 945 003 240 - M 627 923 170 - F 945 003 290
> Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba
>
> *********************  LEGE OHARRA   *******************   AVISOLEGAL
> *******************   DISCLAIMER   *****************************
> Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera
> debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta
> kontserbatu gabe.
> Este mensaje es personal y confidencial y su uso no autorizado está
> prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo,
> sin reenviarlo ni conservarlo.
> This message is personal and confidential, unauthorised use is legally
> prohibited. If you are not the intended recipient, delete it without
> resending or backing it.
>
>
> -----Mensaje original-----
> De: David Alda Fernandez de Lezea [mailto:[email protected]]
> Enviado el: viernes, 12 de diciembre de 2014 11:23
> Para: [email protected]
> Asunto: Re: [Geoserver-users] Problem regarding WFS-T
>
> Hi again,
>
> According to the source code, the block of code in which it fails is:
>
> if (!response.getTransactionResults().getAction().isEmpty()) {
>             //since we do atomic transactions, an action failure means all
> we rolled back
>             // spec says to throw exception
>             ActionType action = (ActionType)
> response.getTransactionResults().getAction().iterator()
>                                                      .next();
>             throw new WFSException(action.getMessage(), action.getCode(),
> action.getLocator());
>         }
>
> So I assume the reason why is throwing the exception is because
> response.getTransactionResults().getAction() is not empty. What's exactly
> returning? What are the possible values? What implications have each on?
>
> I've been looking at some logs in DB but it looks like if the request is
> not reaching to the server.
>
> Any ideas?
>
> Agur bero bat,
>
>
> David Alda Fernández de Lezea
> Área de Sistemas de Información Geográfica, Planificación Territorial y
> Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren
> Arloa.
> [email protected] | www.hazi.eus
> T 945 003 240 - M 627 923 170 - F 945 003 290 Hazi | Granja Modelo de
> Arkaute s/n | 01192 Arkaute - Araba
>
> *********************  LEGE OHARRA   *******************   AVISOLEGAL
> *******************   DISCLAIMER   ***************************** Mezu hau
> pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago
> legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
> Este mensaje es personal y confidencial y su uso no autorizado está
> prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo,
> sin reenviarlo ni conservarlo.
> This message is personal and confidential, unauthorised use is legally
> prohibited. If you are not the intended recipient, delete it without
> resending or backing it.
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to