hi all,
I have a question and a problem.
How to make a data request xml (gml file) forn javascript (ajax) to
geoserver?

I developed a web client to my site where users upload urls geoserver to use
the service wps of the page, but I can not save any form data geoserver
always returns "null" in all, this what I'm doing.

get url from user:

new Ext.form.TextField({
                disabled: false,
                        fieldLabel: "URL GML",
                        value:'',
            id:"Ugml"

save url of user:

var Ugml = Ext.getCmp('Ugml').getValue()

request data(1):

xmlhttp = new XMLHttpRequest();
xmlhttp.open("POST", Ext.getCmp('Ugml').getValue(),true,
User="admin",Password="geoserver");
         xmlhttp.send(null);
         alert(xmlhttp.responseXML.xml);

request data(2):
$.post()

please someone to past examples of code are templates for making these
requests, someone could help me is urgent.

thanks for your answers and help

Ricardo Rodríguez
Univalle
------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to