Hi Spirifer, Thanks a gain for your reply. I fixed it as you told. Now When I call a GET request to:
http://localhost:6256/geoserver/ows?service=WPS&version=1.0.0&request=GetExecutionStatus&executionId=370b5742-7f02-43b5-acf6-4a81df4836a3 It gives: <ows:ExceptionReport version="1.1.0" xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://localhost:6256/geoserver/schemas/ows/1.1.0/owsAll.xsd"><ows:Exception exceptionCode="NoApplicableCode"><ows:ExceptionText>Unknown process gs:Test</ows:ExceptionText></ows:Exception></ows:ExceptionReport> This is what I receive during process execution, but after the process finishes, I got the following response: <wps:ExecuteResponse xml:lang="en" service="WPS" serviceInstance="http://localhost:6256/geoserver/ows?" statusLocation="http://localhost:6256/geoserver/ows?service=WPS&version=1.0.0&request=GetExecutionStatus&executionId=370b5742-7f02-43b5-acf6-4a81df4836a3" version="1.0.0"><wps:Process wps:processVersion="1.0.0"><ows:Identifier>gs:Test</ows:Identifier><ows:Title>Test</ows:Title><ows:Abstract>.</ows:Abstract></wps:Process><wps:Status creationTime="2018-12-21T14:20:29.425Z"><wps:ProcessSucceeded>Process succeeded.</wps:ProcessSucceeded></wps:Status><wps:ProcessOutputs><wps:Output><ows:Identifier>result</ows:Identifier><ows:Title>output result</ows:Title><wps:Data><wps:LiteralData>Hello, koko</wps:LiteralData></wps:Data></wps:Output></wps:ProcessOutputs></wps:ExecuteResponse> What is the problem? Thanks, Nanaso Sent with ProtonMail Secure Email. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Thursday, December 20, 2018 10:55 PM, Spirifer <[email protected]> wrote: > Hi, > > You are using the wrong import for the ProgressListener: > import org.geotools.util.ProgressListener; > > will give this error : > ERROR [wps.executor] - Process execution failed > org.geotools.process.ProcessException: Parameter arg1 is missing but has min > multiplicity > 0 > > at > > > org.geotools.process.factory.AnnotationDrivenProcessFactory$InvokeMethodProcess.buildProcessArguments(AnnotationDrivenProcessFactory.java:728) > at > org.geotools.process.factory.AnnotationDrivenProcessFactory$InvokeMethodProcess.execute(AnnotationDrivenProcessFactory.java:588) > at > org.geoserver.wps.executor.ProcessStartupFilter$ProcessStartupWrapper.execute(ProcessStartupFilter.java:51) > at > org.geoserver.wps.executor.DefaultProcessManager$ProcessCallable.call(DefaultProcessManager.java:201) > at > org.geoserver.wps.executor.DefaultProcessManager$ProcessCallable.call(DefaultProcessManager.java:169) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > > You must use this import: > import org.opengis.util.ProgressListener; > > > --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html > > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to this > list: > > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > _______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
