A good start - so that is the response code, which seems to indicate that whatever you are requesting is working - so can you send over the request code? <div>It should have a <span class="whitespace" style="font-family:monospace;font-size:12px;white-space:nowrap"> </span><span class="xml-punctuation" style="font-family:monospace;font-size:12px;white-space:nowrap"><</span><span class="xml-tagname" style="color:rgb(170,0,187);font-family:monospace;font-size:12px;white-space:nowrap">wfs:Insert</span><span class="xml-punctuation" style="font-family:monospace;font-size:12px;white-space:nowrap">> tag </span>in there somewhere.<br>
<br><div class="gmail_quote">On 25 October 2012 10:40, aaliya <span dir="ltr"><<a href="mailto:goyaladiti10@gmail.com" target="_blank">goyaladiti10@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
here it is. <br><br><div class="gmail_quote"><div class="im">On Thu, Oct 25, 2012 at 1:59 PM, ramotswa [via OSGeo.org] <span dir="ltr"><<a href="http://user/SendEmail.jtp?type=node&node=5011131&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>></span> wrote:<br>

</div><blockquote style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><div class="im"><div>

        A pit painful to have to go through your code.<div><br></div><div>Can you look at your firebug / chrome dev tools requests.</div><div>Check that:</div><div>a: when you click "save" a wfst request is being sent? (Show us a copy of that request)</div>


<div>b: what sort of response you are getting back from that request (again, lets see it).</div><div><br></div><div>Also, make sure that the table you are writing to has been set up to be the right geometry type. </div><div>


<br></div></div></div><div>Toby<br><br><div class="gmail_quote"><div><div class="h5"><div>On 25 October 2012 10:26, aaliya <span dir="ltr"><<a href="http://user/SendEmail.jtp?type=node&node=5011125&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>></span> wrote:<br>

</div></div></div><blockquote style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><div><div class="h5"><div>
I had a look to both of them but it is still not working. here is my code do have a look. <br>Problem is that whatever line, polygon and point i draw I do get a alert msg saying saved but as soon as I relod the application all the polygons, line or points vanishes. <br>



<br></div><div><div><div class="gmail_quote">On Thu, Oct 25, 2012 at 1:51 PM, Imran Rajjad [via OSGeo.org] <span dir="ltr"><<a href="http://user/SendEmail.jtp?type=node&node=5011122&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>></span> wrote:<br>



<blockquote style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><div>

        Hi,
<br><br>Take a look at following
<br><br><a href="http://openlayers.org/dev/examples/wfs-protocol-transactions.html" rel="nofollow" link="external" target="_blank">http://openlayers.org/dev/examples/wfs-protocol-transactions.html</a><br><a href="http://www.gistutor.com/openlayers/22-advanced-openlayers-tutorials/47-openlayers-wfs-t-using-a-geoserver-hosted-postgis-layer.html" rel="nofollow" link="external" target="_blank">http://www.gistutor.com/openlayers/22-advanced-openlayers-tutorials/47-openlayers-wfs-t-using-a-geoserver-hosted-postgis-layer.html</a><br>



<br>regards,
<br>Imran
<br><br></div><div>On Thu, Oct 25, 2012 at 9:41 AM, aaliya <<a href="http://user/SendEmail.jtp?type=node&node=5011121&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>> wrote:
</div><div><div><div><div><div><br>> hi,
<br>> I m newbie to open layers I have developed an application and in that I have
<br>> added WFS layers and options to draw point, polygon and line. Now I want to
<br>> save this polygon in database which is postgresql 9.0. i used save
<br>> strategy() but it doesn't save polygon to database. I am using openlayers
<br>> 2.12, geoserver and postgis 2.0.
<br>>
<br>> Basically I want to do WFS-T please guide how can I do this.
<br>>
<br>>
<br>>
<br>> --
<br>> View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/What-is-the-featurePrefix-tp5010713p5011044.html" rel="nofollow" link="external" target="_blank">http://osgeo-org.1560.n6.nabble.com/What-is-the-featurePrefix-tp5010713p5011044.html</a></div>



> Sent from the OpenLayers Users mailing list archive at Nabble.com.
<br>> _______________________________________________
<br>> Users mailing list
</div></div>> <a href="http://user/SendEmail.jtp?type=node&node=5011121&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br>> <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a></div></div><br><br>-- 
<br>I.R
<br>_______________________________________________
<br>Users mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=5011121&i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>

        
        
        
        <br>
        <br>
        <hr color="#cccccc" noshade size="1">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://osgeo-org.1560.n6.nabble.com/how-to-save-polygon-in-database-postgresql-tp5011044p5011121.html" rel="nofollow" link="external" target="_blank">http://osgeo-org.1560.n6.nabble.com/how-to-save-polygon-in-database-postgresql-tp5011044p5011121.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from how to save polygon in database (postgresql), <a rel="nofollow" link="external">click here</a>.<br>

                <a href="http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" link="external" target="_blank">NAML</a>
        </div></blockquote></div><br><br clear="all"><br>-- <br>Thanks and Regards<br><br>Aditi Goyal<br>B.tech (EC) IV Year<br>Banasthali University<br><br>
</div></div><div><br><div><img> <b>Aditi.js</b> (51K) <a href="http://osgeo-org.1560.n6.nabble.com/attachment/5011122/0/Aditi.js" rel="nofollow" link="external" target="_blank">Download Attachment</a></div>
</div>


        
        
        
<br><hr align="left" width="300">
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/how-to-save-polygon-in-database-postgresql-tp5011044p5011122.html" rel="nofollow" link="external" target="_blank">Re: how to save polygon in database (postgresql)</a></div>
</div><div><div><div class="h5">
<br>
Sent from the <a href="http://osgeo-org.1560.n6.nabble.com/OpenLayers-Users-f3910695.html" rel="nofollow" link="external" target="_blank">OpenLayers Users mailing list archive</a> at Nabble.com.<br><br>_______________________________________________<br>



Users mailing list<br>
</div></div><a href="http://user/SendEmail.jtp?type=node&node=5011125&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
<br></div></blockquote></div><br></div><div class="im"><div>
<br>_______________________________________________
<br>Users mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=5011125&i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>

        
        
        
        <br>
        <br>
        <hr color="#cccccc" noshade size="1">
        </div></div><div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div class="im"><div>
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div></div><a href="http://osgeo-org.1560.n6.nabble.com/how-to-save-polygon-in-database-postgresql-tp5011044p5011125.html" rel="nofollow" link="external" target="_blank">http://osgeo-org.1560.n6.nabble.com/how-to-save-polygon-in-database-postgresql-tp5011044p5011125.html</a>
        </div><div class="im"><div><div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from how to save polygon in database (postgresql), <a rel="nofollow" link="external">click here</a>.<br>

                <a href="http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" link="external" target="_blank">NAML</a>
        </div></div></div></div></blockquote></div><div class="im"><br><br clear="all"><br>-- <br>Thanks and Regards<br><br>Aditi Goyal<br>B.tech (EC) IV Year<br>Banasthali University<br><br>
</div><div><br><img> <strong>XML_RESPONSE.docx</strong> (21K) <a href="http://osgeo-org.1560.n6.nabble.com/attachment/5011131/0/XML_RESPONSE.docx" rel="nofollow" link="external" target="_blank">Download Attachment</a></div>
<div class="HOEnZb"><div class="h5">

        
        
        
<br><hr align="left" width="300">
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/how-to-save-polygon-in-database-postgresql-tp5011044p5011131.html" target="_blank">Re: how to save polygon in database (postgresql)</a><br>
Sent from the <a href="http://osgeo-org.1560.n6.nabble.com/OpenLayers-Users-f3910695.html" target="_blank">OpenLayers Users mailing list archive</a> at Nabble.com.<br></div></div><br>_______________________________________________<br>

Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
<br></blockquote></div><br></div>