Hi,
The error means that Geoserver do not recognize data that it gets from the
remore server as valid WFS feature collection. It would be best to capture the
data coming from the server because error messages etc. would lead to the same
result. You can also eliminate the possibility that there is some
interoperability issues with that certain server by having a try with some
layer from http://demo.opengeo.org/geoserver/wfs. Actually even better is to
split the task to smaller pieces:
- Send a hand written request to WFS manually from browser or curl, wget etc.
- Save data on disk and check if it looks valid.
- Pass data on to WPS process from file and see if result is OK.
- Now put server to make a WFS request and check if it gets data as in step 2
- And so on. What is important is to test one thing at a time and try to change
only one thing for the next step.
-Jukka Rahkonen-
________________________________
Samanta Biasiolli wrote:
Thank you for the answer, I tried with a not ispire feature type too, but I get
the same error.
Maybe my request is wrong, can I have an example?
Thanks!
SAMANTA BIASIOLLI
Laboratorio Sviluppo SW
SINERGIS - Sede di Trento
T. +39 0461 0461997245
F. +39 0461 997330
________________________________
[Sinergis]<http://www.sinergis.it/>
[Inactive hide details for "Rahkonen Jukka (Tike)" ---11/09/2014 10.05.00---Hi,
I see word "inspire" somewhere. Could it be poss]"Rahkonen Jukka (Tike)"
---11/09/2014 10.05.00---Hi, I see word "inspire" somewhere. Could it be
possible that data on that server is not simple feat
Da: "Rahkonen Jukka (Tike)" <[email protected]>
Per: "[email protected]" <[email protected]>,
"[email protected]" <[email protected]>
Data: 11/09/2014 10.05
Oggetto: Re: [Geoserver-users] wps - external wfs request
________________________________
Hi,
I see word "inspire" somewhere. Could it be possible that data on that server
is not simple features but something structured like the inspere schemata tend
to be? As far as I know Geoserver can't utilize data if they are some
"application schema" stuff. It would help to see the schema of that FeatureType
and perhaps one feature in GML also.
-Jukka Rahkonen-
________________________________
Samanta Biasiolli wrote:
Hi,
I can try to call with a wps request an external wfs.
My request is:
<?xml version="1.0" encoding="UTF-8"?><wps:Execute version="1.0.0"
service="WPS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.opengis.net/wps/1.0.0" xmlns:wfs="http://www.opengis.net/wfs"
xmlns:wps="http://www.opengis.net/wps/1.0.0"
xmlns:ows="http://www.opengis.net/ows/1.1"
xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc"
xmlns:wcs="http://www.opengis.net/wcs/1.1.1"
xmlns:xlink="http://www.w3.org/1999/xlink"
xsi:schemaLocation="http://www.opengis.net/wps/1.0.0
http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd">
<ows:Identifier>gs:Bounds</ows:Identifier>
<wps:DataInputs>
<wps:Input>
<ows:Identifier>features</ows:Identifier>
<wps:Reference mimeType="application/wfs-collection-1.0"
xlink:href="http://sdi.provincia.bz.it/geoserver/inspire/wfs" method="POST">
<wps:Body>
<![CDATA outputFormat="GML2"
xmlns:inspire="http://sdi.provinz.bz.it/inspire"
xmlns:wfs="http://www.opengis.net/wfs" xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd"> ]]> bounds but I have this
error: Caused by: java.lang.ClassCastException: java.util.HashMap cannot be
cast to net.opengis.wfs.FeatureCollectionType Any suggestion? Thank you very
much Samanta
SAMANTA BIASIOLLI
Laboratorio Sviluppo SW SINERGIS - Sede di Trento
T. +39 0461 0461997245 F. +39 0461 997330
[Sinergis]<http://www.sinergis.it/>
Le informazioni contenute in questo messaggio di posta elettronica sono
riservate e confidenziali e ne e' vietata la diffusione in qualsiasi modo o
forma. Qualora Lei non fosse la persona destinataria del presente messaggio, La
invitiamo a non diffonderlo e ad eliminarlo, dandone gentilmente comunicazione
al mittente.
The information included in this e-mail and any attachments are confidential
and may also be privileged. If you are not the correct recipient, you are
kindly requested to notify the sender immediately, to cancel it and not to
disclose the contents to any other person.
Die Informationen in dieser E-Mail-Mitteilung sind vertraulich und deren
Verbreitung in jeglicher Art oder Form ist untersagt. Sollten Sie diese
Nachricht irrt?mlich erhalten haben, ersuchen wir Sie, sofort den Absender
dar?ber zu informieren und die Mail zu l?schen.
http://www.dedagroup.it<http://www.dedagroup.it/>
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users