Yes, it's our server that show's the wrong namespace - it was initially developed quite a while ago now and it is probably not fully compliant in other ways (I can't recall offhand if WPS was even finalised when we developed it).<div>
<br></div><div>I like Jorge's idea of looking for any WPS namespace.</div><div><br></div><div>Regards,</div><div>Dom<br><br><div class="gmail_quote">On 10 November 2011 10:11, <span dir="ltr"><<a href="mailto:jmdj@pml.ac.uk">jmdj@pml.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> Hi to all<br>
<br>
The namespace "<a href="http://www.openspatial.net/wps" target="_blank">http://www.openspatial.net/wps</a>" is an old namespace and<br>
has been dropped (if you look at the WPS1.0.0 document you have it in<br>
the SOAP example in page 69).<br>
<br>
In the OGC world the schema structure takes precedence over<br>
documentation, meaning if it is in the schema then is an "absolute<br>
truth", and the WPS using that namespace should be updated.<br>
<br>
Luca, maybe you should use an "open mind" approach, using what ever<br>
namespace is assigned to wps. See the example below on how to get the<br>
namespace:<br>
<br>
<br>
import urllib, stringIO<br>
from lxml import etree<br>
xmlIO=urllib.read("<a href="http://schemas.opengis.net/wps/1.0.0/examples/53_wpsExecute_request_ComplexValue.xml" target="_blank">http://schemas.opengis.net/wps/1.0.0/examples/53_wpsExecute_request_ComplexValue.xml</a>")<br>
wpsXML=etree.parse(xmlIO)<br>
wpsXML.getroot().nsmap["wps"]<br>
>>'<a href="http://www.opengis.net/wps/1.0.0" target="_blank">http://www.opengis.net/wps/1.0.0</a>'<br>
<br>
<br>
Jorge<br>
<div class="im"><br>
<br>
<br>
<br>
On 09/11/11 20:56, Cinquini, Luca (3880) wrote:<br>
> Hi Dom,<br>
><br>
> thanks for the additional example... I noticed that your service uses the namespace "<a href="http://www.opengeospatial.net/wps" target="_blank">http://www.opengeospatial.net/wps</a>", while the other two WPS services I have tested against use "<a href="http://www.opengis.net/wps/1.0.0" target="_blank">http://www.opengis.net/wps/1.0.0</a>".<br>
> >From the OGC web site it looks like the second namespace should be the correct one (see for example: <a href="http://schemas.opengis.net/wps/1.0.0/wpsGetCapabilities_request.xsd" target="_blank">http://schemas.opengis.net/wps/1.0.0/wpsGetCapabilities_request.xsd</a>),<br>
> but maybe I am wrong and we need to support both ? Would you know what is the correct way to go ?<br>
><br>
> thanks, Luca<br>
><br>
> On Nov 9, 2011, at 6:56 AM, Dominic Lowe wrote:<br>
><br>
</div><div><div class="h5">>> Luca,<br>
>><br>
>> Many thanks for your contributions.<br>
>><br>
>> We also have a WPS server (implemented in Python) that you could test<br>
>> against:<br>
>> <a href="http://ceda-wps2.badc.rl.ac.uk/wps?Service=WPS&Request=GetCapabilities&Format=text/xml" target="_blank">http://ceda-wps2.badc.rl.ac.uk/wps?Service=WPS&Request=GetCapabilities&Format=text/xml</a><br>
>><br>
>> The following "DoubleIt" process can be called without security<br>
>> (DescribeProcess):<br>
>><br>
>> <a href="http://ceda-wps2.badc.rl.ac.uk/wps?Service=WPS&Request=DescribeProcess&Version=1.0.0&Identifier=DoubleIt" target="_blank">http://ceda-wps2.badc.rl.ac.uk/wps?Service=WPS&Request=DescribeProcess&Version=1.0.0&Identifier=DoubleIt</a><br>
>><br>
>> Regards,<br>
>><br>
>> Dom<br>
>><br>
>> On 08/11/11 23:10, <a href="mailto:Luca.Cinquini@jpl.nasa.gov">Luca.Cinquini@jpl.nasa.gov</a> wrote:<br>
>>> Hi Jorge,<br>
>>> these are great examples... if you give me one day (at most two) I will expand the code to support them, and provide some tests and examples... I'll let you know when you can start giving it a try...<br>
>>> thanks, Luca<br>
>>><br>
>>> On Nov 8, 2011, at 3:18 AM, Jorge de Jesus wrote:<br>
>>><br>
>>>> Ciao Luca<br>
>>>><br>
>>>> Excellent job, we should all buy you some beer :)<br>
>>>><br>
>>>> It's really nice that you are using the USGS WPS since it is a 52North<br>
>>>> WPS instance, the owslib should be tested against the major WPS<br>
>>>> implementations (Zoo, degree etc), maybe you could make an introduction<br>
>>>> of owslib in other mailing list and get their support.<br>
>>>><br>
>>>> Anyway if you need you can use the PML WPS instances (vector and raster<br>
>>>> instances are mainly WPS-Grass-Bridge processes)<br>
>>>> Support page:<br>
>>>> <a href="http://rsg.pml.ac.uk/wps/index.html" target="_blank">http://rsg.pml.ac.uk/wps/index.html</a><br>
>>>> Test data page:<br>
>>>> <a href="http://rsg.pml.ac.uk/wps/testdata/index.html" target="_blank">http://rsg.pml.ac.uk/wps/testdata/index.html</a><br>
>>>><br>
>>>> Examples:<br>
>>>> <a href="http://rsg.pml.ac.uk/wps/generic.cgi?request=Execute&service=wps&version=1.0.0&identifier=reprojectImage&datainputs=[inputImage=http://rsg.pml.ac.uk/wps/testdata/elev_srtm_30m.img;outputSRS=EPSG:4326]&responsedocument=outputImage=@asreference=true" target="_blank">http://rsg.pml.ac.uk/wps/generic.cgi?request=Execute&service=wps&version=1.0.0&identifier=reprojectImage&datainputs=[inputImage=http://rsg.pml.ac.uk/wps/testdata/elev_srtm_30m.img;outputSRS=EPSG:4326]&responsedocument=outputImage=@asreference=true</a><br>
>>>><br>
>>>> <a href="http://rsg.pml.ac.uk/wps/generic.cgi?request=Execute&service=WPS&version=1.0.0&identifier=reprojectCoords&datainputs=[coords=http://rsg.pml.ac.uk/wps/testdata/coords.txt;outputSRS=EPSG:32630;inputSRS=EPSG:4326]" target="_blank">http://rsg.pml.ac.uk/wps/generic.cgi?request=Execute&service=WPS&version=1.0.0&identifier=reprojectCoords&datainputs=[coords=http://rsg.pml.ac.uk/wps/testdata/coords.txt;outputSRS=EPSG:32630;inputSRS=EPSG:4326]</a><br>
>>>><br>
>>>> <a href="http://rsg.pml.ac.uk/wps/vector.cgi?request=execute&service=WPS&version=1.0.0&identifier=v.net.path&datainputs=[input=http://rsg.pml.ac.uk/wps/example/graph.gml;file=1%20-960123.1421801624%204665723.56559387%20-101288.65106088226%205108200.011823481]" target="_blank">http://rsg.pml.ac.uk/wps/vector.cgi?request=execute&service=WPS&version=1.0.0&identifier=v.net.path&datainputs=[input=http://rsg.pml.ac.uk/wps/example/graph.gml;file=1%20-960123.1421801624%204665723.56559387%20-101288.65106088226%205108200.011823481]</a><br>
>>>><br>
>>>> I'll give a look at the code and test it<br>
>>>><br>
>>>> Jorge<br>
>>>><br>
>>>> On 07/11/11 14:42, Cinquini, Luca (3880) wrote:<br>
>>>>> Hi all,<br>
>>>>> I have created a wps branch of owslib that contains a first draft support for WPS.<br>
>>>>><br>
>>>>> The branch is available here: <a href="https://owslib.svn.sourceforge.net/svnroot/owslib/branches/wps" target="_blank">https://owslib.svn.sourceforge.net/svnroot/owslib/branches/wps</a><br>
>>>>><br>
>>>>> The module has been tested against the USGS WPS service - does anybody know of another service to test against ?<br>
>>>>><br>
>>>>> A good starting point to test functionality is the file README_WPS.txt<br>
>>>>><br>
>>>>> All WPS functionality is included in separate files, except for a small addition to util.py to set the 'text/xml' header for a POST request.<br>
>>>>><br>
>>>>> All feedback appreciated,<br>
>>>>><br>
>>>>> thanks, Luca<br>
>>>>> ------------------------------------------------------------------------------<br>
>>>>> RSA(R) Conference 2012<br>
>>>>> Save $700 by Nov 18<br>
>>>>> Register now<br>
>>>>> <a href="http://p.sf.net/sfu/rsa-sfdev2dev1" target="_blank">http://p.sf.net/sfu/rsa-sfdev2dev1</a><br>
>>>>> _______________________________________________<br>
>>>>> owslib-devel mailing list<br>
>>>>> <a href="mailto:owslib-devel@lists.sourceforge.net">owslib-devel@lists.sourceforge.net</a><br>
>>>>> <a href="https://lists.sourceforge.net/lists/listinfo/owslib-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/owslib-devel</a><br>
>>>> --------------------------------------------------------------------------------<br>
>>>> Plymouth Marine Laboratory<br>
>>>><br>
>>>> Registered Office:<br>
>>>> Prospect Place<br>
>>>> The Hoe<br>
>>>> Plymouth PL1 3DH<br>
>>>><br>
>>>> Website: <a href="http://www.pml.ac.uk" target="_blank">www.pml.ac.uk</a><br>
>>>> Click here for PML Annual Review<br>
>>>> Registered Charity No. 1091222<br>
>>>> PML is a company limited by guarantee<br>
>>>> registered in England& Wales<br>
>>>> company number 4178503<br>
>>>><br>
>>>> Please think before you print<br>
>>>><br>
>>>> --------------------------------------------------------------------------------<br>
>>>> This e-mail, its content and any file attachments are confidential.<br>
>>>><br>
>>>> If you have received this e-mail in error please do not copy, disclose it to any third party or use the contents or attachments in any way. Please notify the sender by replying to this e-mail or e-mail <a href="mailto:forinfo@pml.ac.uk">forinfo@pml.ac.uk</a> and then delete the email without making any copies or using it in any other way.<br>
>>>><br>
>>>> The content of this message may contain personal views which are not the views of Plymouth Marine Laboratory unless specifically stated.<br>
>>>><br>
>>>> You are reminded that e-mail communications are not secure and may contain viruses. Plymouth Marine Laboratory accepts no liability for any loss or damage which may be caused by viruses.<br>
>>>> --------------------------------------------------------------------------------<br>
>>>> <0x595FF9D3.asc><br>
>>> ------------------------------------------------------------------------------<br>
>>> RSA(R) Conference 2012<br>
>>> Save $700 by Nov 18<br>
>>> Register now<br>
>>> <a href="http://p.sf.net/sfu/rsa-sfdev2dev1" target="_blank">http://p.sf.net/sfu/rsa-sfdev2dev1</a><br>
>>> _______________________________________________<br>
>>> owslib-devel mailing list<br>
>>> <a href="mailto:owslib-devel@lists.sourceforge.net">owslib-devel@lists.sourceforge.net</a><br>
>>> <a href="https://lists.sourceforge.net/lists/listinfo/owslib-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/owslib-devel</a><br>
</div></div>>> --<br>
>> Scanned by iCritical.<br>
<div><div class="h5">>><br>
>> ------------------------------------------------------------------------------<br>
>> RSA(R) Conference 2012<br>
>> Save $700 by Nov 18<br>
>> Register now<br>
>> <a href="http://p.sf.net/sfu/rsa-sfdev2dev1" target="_blank">http://p.sf.net/sfu/rsa-sfdev2dev1</a><br>
>> _______________________________________________<br>
>> owslib-devel mailing list<br>
>> <a href="mailto:owslib-devel@lists.sourceforge.net">owslib-devel@lists.sourceforge.net</a><br>
>> <a href="https://lists.sourceforge.net/lists/listinfo/owslib-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/owslib-devel</a><br>
><br>
> ------------------------------------------------------------------------------<br>
> RSA(R) Conference 2012<br>
> Save $700 by Nov 18<br>
> Register now<br>
> <a href="http://p.sf.net/sfu/rsa-sfdev2dev1" target="_blank">http://p.sf.net/sfu/rsa-sfdev2dev1</a><br>
> _______________________________________________<br>
> owslib-devel mailing list<br>
> <a href="mailto:owslib-devel@lists.sourceforge.net">owslib-devel@lists.sourceforge.net</a><br>
> <a href="https://lists.sourceforge.net/lists/listinfo/owslib-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/owslib-devel</a><br>
<br>
<br>
--------------------------------------------------------------------------------<br>
Plymouth Marine Laboratory<br>
<br>
Registered Office:<br>
Prospect Place<br>
The Hoe<br>
Plymouth PL1 3DH<br>
<br>
Website: <a href="http://www.pml.ac.uk" target="_blank">www.pml.ac.uk</a><br>
Click here for PML Annual Review<br>
Registered Charity No. 1091222<br>
PML is a company limited by guarantee<br>
</div></div>registered in England & Wales<br>
<div class="HOEnZb"><div class="h5">company number 4178503<br>
<br>
Please think before you print<br>
<br>
--------------------------------------------------------------------------------<br>
This e-mail, its content and any file attachments are confidential.<br>
<br>
If you have received this e-mail in error please do not copy, disclose it to any third party or use the contents or attachments in any way. Please notify the sender by replying to this e-mail or e-mail <a href="mailto:forinfo@pml.ac.uk">forinfo@pml.ac.uk</a> and then delete the email without making any copies or using it in any other way.<br>
<br>
The content of this message may contain personal views which are not the views of Plymouth Marine Laboratory unless specifically stated.<br>
<br>
You are reminded that e-mail communications are not secure and may contain viruses. Plymouth Marine Laboratory accepts no liability for any loss or damage which may be caused by viruses.<br>
--------------------------------------------------------------------------------<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Scanned by iCritical.<br>
<br>
</font></span></blockquote></div><br></div>