Advanced WPS Client API Tutorial problems

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Advanced WPS Client API Tutorial problems

christophe
hello

i'm trying to do the WPS tutorials. i did the first one succesifully :"

But for the second one:

i found some difficulties:

1- to import the "Process Development Kit for WPS 3.1.0" into eclipse which source should i choose: existing maven projects, or existing projects into workspace or wich one ?

2- in the end they said:

You can download the complete Java class from here. If you run this, you should get as an output:

where should i put the java class and how can i run it ?


thank you



_______________________________________________
Geoprocessingservices mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/geoprocessingservices
http://geoprocessing.forum.52north.org
Reply | Threaded
Open this post in threaded view
|

Re: Advanced WPS Client API Tutorial problems

BenjaminPross
Hello Christophe,

Please find some comments below:

christophe wrote
1- to import the "Process Development Kit for WPS 3.1.0" into eclipse which
source should i choose: existing maven projects, or existing projects into
workspace or wich one ?
Choose "existing projects into workspace" here.

christophe wrote
2- in the end they said:

You can *download the complete Java* class from here
<https://github.com/52North/WPS/blob/master/52n-wps-client-lib/src/main/java/org/n52/wps/client/example/WPSClientExample.java>.
If you run this, you should get as an output:

where should i put the java class and how can i run it ?
You should create a new package "org.n52.wps.client.example" and put the class in there. You run it like any other Java class in Eclipse (Right click -> Run As -> Java Application).

I noticed that you will also need an additional library. Please download it from here: wps-client-lib, and put it on the class path of your project.

Cheers,

Benjamin

Reply | Threaded
Open this post in threaded view
|

Re: Advanced WPS Client API Tutorial problems

christophe
thank you benjamin


On Tue, Jul 29, 2014 at 7:10 AM, BenjaminPross <[hidden email]> wrote:
Hello Christophe,

Please find some comments below:


christophe wrote
> 1- to import the "Process Development Kit for WPS 3.1.0" into eclipse
> which
> source should i choose: existing maven projects, or existing projects into
> workspace or wich one ?

Choose "existing projects into workspace" here.


christophe wrote
> 2- in the end they said:
>
> You can *download the complete Java* class from here
> &lt;https://github.com/52North/WPS/blob/master/52n-wps-client-lib/src/main/java/org/n52/wps/client/example/WPSClientExample.java&gt;.
> If you run this, you should get as an output:
>
> where should i put the java class and how can i run it ?

You should create a new package "org.n52.wps.client.example" and put the
class in there. You run it like any other Java class in Eclipse (Right click
-> Run As -> Java Application).

I noticed that you will also need an additional library. Please download it
from here: wps-client-lib
<https://52north.org/maven/repo/releases/org/n52/wps/52n-wps-client-lib/3.1.0/52n-wps-client-lib-3.1.0.jar>
, and put it on the class path of your project.

Cheers,

Benjamin





--
View this message in context: http://geoprocessing.forum.52north.org/Advanced-WPS-Client-API-Tutorial-problems-tp4025717p4025719.html
Sent from the 52° North - Geoprocessing Community Forum mailing list archive at Nabble.com.
_______________________________________________
Geoprocessingservices mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/geoprocessingservices
http://geoprocessing.forum.52north.org


_______________________________________________
Geoprocessingservices mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/geoprocessingservices
http://geoprocessing.forum.52north.org
Lvw
Reply | Threaded
Open this post in threaded view
|

Re: Advanced WPS Client API Tutorial problems

Lvw
By the way, the link to the eclipse project (download link) in this tutorial links to something different, namely the process development kit.. not the wps client api .. this is quite confusing