Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to incorporate a WPS running in GeoServer into an OpenLayers client. I am using this simple example as my reference.

Using either a local install of OpenLayers.js (v 2.12), or the, I get an error when the WPSClient is created. In Firefox, I get OpenLayers.WPSClient is not a constructor.

Can anyone help me out with this error?

share|improve this question
I have the same problem of user890. I am using the API version 2.11. Of course OpenLayers.WPSClient class is not written inside. But when I try to use the version given before (Release 2.13 dev) in my web portal, this library looks to have some errors and I can't use it in Eclipse + Tomcat 7. I don't know what can be happening. When I use the same library in the same project in Dreamweaver without web server I am able to use the library. Does anyone know what is wrong with it? Thanks in advance Rafael – Rapha Casgi Feb 21 '13 at 15:42
up vote 4 down vote accepted

The error is due to WPSClient class not available in your API version. Try this OpenLayers.js instead of yours. You are using a stable version of API for a developement version of WPS example. If you open the link below you can see OpenLayer.WPSClient class written inside the js file.

Hope that helps

share|improve this answer
that was it, thanks so much. – user890 Nov 17 '12 at 12:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.