I want to make the following request (generated from WPS Request Builder ):

<?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>gt:BufferFeatureCollection</ows:Identifier>
  <wps:DataInputs>

    <wps:Input>
      <ows:Identifier>features</ows:Identifier>
      <wps:Reference mimeType="application/wfs-collection-1.0"
xlink:href="http://**.**.**.**:8080/geoserver/ows?service=WFS&amp;version=1.0.0&amp;request=GetFeature&amp;typeName=rysy:ULICA";
method="GET"/>
    </wps:Input>

or

   <wps:Reference mimeType="text/xml; subtype=wfs-collection/1.0"
link:href="http://geoserver/wfs"; method="POST">
                  <wps:Body>
                    <wfs:GetFeature service="WFS" version="1.0.0"
outputFormat="GML2">
                      <wfs:Query typeName="rysy:ULICA"/>
                    </wfs:GetFeature>
                  </wps:Body>
                </wps:Reference>

    <wps:Input>
      <ows:Identifier>buffer</ows:Identifier>
      <wps:Data>
        <wps:LiteralData>100</wps:LiteralData>
      </wps:Data>
    </wps:Input>
  </wps:DataInputs>
  <wps:ResponseForm>
    <wps:RawDataOutput mimeType="text/xml; subtype=wfs-collection/1.0">
      <ows:Identifier>result</ows:Identifier>
    </wps:RawDataOutput>
  </wps:ResponseForm>
</wps:Execute>


Unfortunately, request hangs up. WPS and WFS are on the same server. What is
wrong? Thanks for help.

Best regards,
Bartosz




--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/WFS-reference-in-WPS-request-tp4359578p4359578.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to