[Zoo-discuss] Zoo WPS and urllib

Lauren lllhhh0502 at gmail.com
Tue Nov 5 00:15:18 PST 2013


Hi

I have tried to POST a XML execute request with urllib in Python.  Here is
a sample of the code:
url = "http://localhost/cgi-bin/zoo_loader.cgi"
req = urllib2.Request(url=url, data=xml, headers={'Content-Type':
'text/xml'})

After the Python script was executed, the output returned the following:
 <ows:Exception exceptionCode="MissingParameterValue">
    <ows:ExceptionText>Parameter <request> was not
specified</ows:ExceptionText>
  </ows:Exception>

The XML worked with another WPS that I have used, all of the parameters
were specified in the XML request.  Could you please help?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20131105/74c623dc/attachment.html>


More information about the Zoo-discuss mailing list