<div dir="ltr"><div>Hello<br></div><div>I am trying to get a simple WPS call to work using the standard tools in Geoserver (<font face="monospace">vec:Simplify</font> using <font face="monospace">topp:states</font> data) and owslib. I keep coming up with the following error:</div><div><br></div><div><font face="monospace">owslib.wps.WPSException : {'code': 'NoApplicableCode', 'locator': None, 'text': 'Failed to retrieve value for input features\norg.geoserver.wps.ppio.WFSPPIO$WFS10 cannot be cast to org.geoserver.wps.ppio.LiteralPPIO'}</font><br></div><div><br></div><div>I think I know what it means (a clash of formats?) but don't know how to resolve it. All the WMS, WFS and WPS GetCapabilities and DescribeProcess work fine, it's just the Execute component that is failing. </div><div><br></div><div>Geoserver: I am using the latest container from meteofi (<a href="https://hub.docker.com/r/meteofi/geoserver">https://hub.docker.com/r/meteofi/geoserver</a>)</div><div>Data: I am trying to get this running on the data supplied with Geoserver (topp:states) before I try my own data.</div><div><br></div><div>Code: </div><div><font face="monospace">from owslib.wps import WebProcessingService, monitorExecution, printInputOutput<br><br></font></div><div><font face="monospace">serverURL = '<a href="http://localhost:8080/geoserver/wps">http://localhost:8080/geoserver/wps</a>'<br><br>wps = WebProcessingService(serverURL, verbose=False, skip_caps=True)<br>processid = 'vec:Simplify'<br>inputs = [('features','topp:states'),<br>            ('distance', '10'),<br>            ('preserveTopology', 'True')]<br><br></font></div><div><font face="monospace">execution = wps.execute(processid, inputs)<br>if execution.isSucceded:<br>    output, = execution.processOutputs<br>    print(output.data)</font><br></div><div><br></div><div>I can get this to work using the Geoserver WPS request builder, and using an XML file through Curl, so I guess the issue is with my Python. </div><div>Any pointers on what I need to do to handle this issue would be really appreciated</div><div><br></div><div>Thanks</div><div>Alastair</div><div><br></div><br clear="all"><div><div dir="ltr" class="m_-1347887765584002980gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font color="#666666"><font face="arial narrow, sans-serif" size="2">| Alastair Graham </font></font></div><div dir="ltr"><font color="#666666"><font face="arial narrow, sans-serif" size="2"><br></font></font></div><div dir="ltr"><font face="arial narrow, sans-serif"><font color="#666666"><font size="2">This email may contain confidential material and is for use only by the intended recipient. </font><br><font size="2">If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.</font></font></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>