You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 23, 2024. It is now read-only.
Hi!
I would like to add custom process extensions to the 52N 4.0.0 Beta but I can't find any example on the source code and the guides on the website are made for WPS 1.0.0. Are there any examples out there, or something I could base myself on in order to write my own extensions?
Thank you!
The text was updated successfully, but these errors were encountered:
Thanks bpross, and good job!
One more thing, I see that the project description is taken from GenericExampleAlgorithm.xml, which seems to be in wps 1.0.0. Is there any example of an xml with all the new fields of wps 2.0, such as ProcessOferings, ResponseForm... and an algorithm that reads from these ?
Hey, sorry, I was travelling. The short answer is: No, there is no example using a WPS 2.0 process description.
The reason behind is that there are several ways to implement an algorithm in the 52n WPS.
One way is to create a process description XML alongside to the Java class. This can be useful if you want to have more fine grained control over the process description, e.g. limit the data formats. The algorithm will be also available using the WPS 2.0 interface. The concepts behind WPS 1.0 and 2.0 are very similar.
Other ways to implement algorithms are extending certain other classes, e.g. AbstractAnnotatedAlgorithm or AbstractSelfDescribingAlgorithm, that in turn extend AbstractAlgorithm but offer more functionalities. The process description in version 1.0 and 2.0 will be created automatically using these classes.
Hope this helps!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi!
I would like to add custom process extensions to the 52N 4.0.0 Beta but I can't find any example on the source code and the guides on the website are made for WPS 1.0.0. Are there any examples out there, or something I could base myself on in order to write my own extensions?
Thank you!
The text was updated successfully, but these errors were encountered: