Groups
Groups
Sign in
Groups
Groups
GeoServer Italia
Conversations
About
Send feedback
Help
wps external wfs request
22 views
Skip to first unread message
Samanta
unread,
Sep 10, 2014, 11:09:03 AM
9/10/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to geoser...@googlegroups.com
Buonasera,
sto provando a chiamare in una richiesta wps un wfs esterno, nel seguente modo:
<?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[<wfs:GetFeature service="WFS" version="1.0.0"
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
">
<wfs:Query typeName='inspire:inspire_AU.AdministrativeBoundary'>
</wfs:Query>
</wfs:GetFeature>
]]>
</
wps:Body
>
</
wps:Reference
>
</
wps:Input
>
</
wps:DataInputs
>
<
wps:ResponseForm
>
<
wps:RawDataOutput
>
<
ows:Identifier
>
bounds
</
ows:Identifier
>
</
wps:RawDataOutput
>
</
wps:ResponseForm
>
</
wps:Execute
>
ma quando lo provo ad eseguire ho il seguente errore:
Caused by: java.lang.ClassCastException: java.util.HashMap cannot be cast to net.opengis.wfs.FeatureCollectionType
Qualcuno sa aiutarmi o ha già avuto questo problema?
Grazie mille!!
Reply all
Reply to author
Forward
0 new messages