Here is a patch...

On 05/25/2012 11:56 AM, maurizio bonafede wrote:
I connect to a private WPS (52th north) but obtain an error on GetCapabilities.
The problem is that
WPS1_0_0
in
org.geotools.data.wps package
use this method:
        protected void initRequest()
        {
            setProperty("REQUEST", "getCapabilities");
        }

I fix it recompiling using Get and not get...
In the specification I remember that the Values are case sensitive and always I found Get (in all documents).
Is my wps not smart or is an issue???



----------------------------------------------------------------------
ATTENZIONE: le informazioni contenute in questo messaggio sono da considerarsi confidenziali ed il loro utilizzo e' riservato unicamente al destinatario sopra indicato. Chi dovesse ricevere questo messaggio per errore e' tenuto ad informare il mittente ed a rimuoverlo definitivamente da ogni supporto elettronico o cartaceo.
WARNING: This message contains confidential and/or proprietary information 
which may be subject to privilege or immunity and which is intended for use of 
its addressee only. Should you receive this message in error, you are kindly 
requested to inform the sender and to definitively remove it from any paper or 
electronic format.
----------------------------------------------------------------------
Index: modules/unsupported/wps/src/main/java/org/geotools/data/wps/WPS1_0_0.java
===================================================================
--- modules/unsupported/wps/src/main/java/org/geotools/data/wps/WPS1_0_0.java	(revisione 38782)
+++ modules/unsupported/wps/src/main/java/org/geotools/data/wps/WPS1_0_0.java	(copia locale)
@@ -215,7 +215,7 @@
 
         protected void initRequest()
         {
-            setProperty("REQUEST", "getCapabilities");
+            setProperty("REQUEST", "GetCapabilities");
         }
 
         protected void initService()
 
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to