52North / wps-client-lib

WPS client library written in Java. Support for WPS 1.0.0 and 2.0.
Apache License 2.0
6 stars 4 forks source link

DescribeProcess100 & referenceSupported #24

Open robertodirienzo opened 3 years ago

robertodirienzo commented 3 years ago

First of all thank you for your work!

I found a discrepancy in the transposition of the DescribeProcess100 The test is testReadDescribeProcess100

The problem is in the conversion of the "referenceSupported" parameter. In the XML file it is defined as true but in the Process entity it is defined as false.

Thanks for your help.

robertodirienzo commented 3 years ago

I might also suggest checking out the properties

Class StatusInfo: private short percentCompleted; private String message;

When does the conversion to XML ExecuteResponse WPS 1.0.0

<?xml version="1.0"?>
<wps:ExecuteResponse xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsExecute_response.xsd" service="WPS" version="1.0.0" xml:lang="en-US" serviceInstance="http://192.168.1.120:7777/zoo-bin/zoo_loader.cgi" statusLocation="http://192.168.1.120:7777/zoo-bin/zoo_loader.cgi?request=Execute&amp;service=WPS&amp;version=1.0.0&amp;Identifier=GetStatus&amp;DataInputs=sid=816f0098-af20-11eb-9254-0242ac110002&amp;RawDataOutput=Result">
    <wps:Process wps:processVersion="1">
        <ows:Identifier>longProcess</ows:Identifier>
        <ows:Title>Demo long process. </ows:Title>
        <ows:Abstract>This service doesn't do anything except taking its time, it demonstrates how to use the updateStatus function from your ZOO Service. </ows:Abstract>
    </wps:Process>
    <wps:Status creationTime="2021-05-07T10:39:31Z">
        <wps:ProcessStarted percentCompleted="80">Step 80</wps:ProcessStarted>
    </wps:Status>
</wps:ExecuteResponse>

The property message is set null The property percentCompleted is set 0

Thanks for your help