[Zoo-discuss] Zoo WPS and urllib
Fenoy Gerald
gerald.fenoy at geolabs.fr
Tue Nov 5 05:20:10 PST 2013
Hi Lauren,
sorry for late reply.
It is strange that the request was not recognized by the ZOO-Kernel as it should be.
Can you please provide the XML request you gave (should be named xml in your source code) ?
I’m pretty sure that the issue come from the XML provided.
Hope you can give more details soon,
Best regards,
Gérald Fenoy
gerald.fenoy at geolabs.fr
Le 5 nov. 2013 à 09:15, Lauren <lllhhh0502 at gmail.com> a écrit :
> 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?
>
> _______________________________________________
> Zoo-discuss mailing list
> Zoo-discuss at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20131105/15a67898/attachment.pgp>
More information about the Zoo-discuss
mailing list