@Test
public void testExecute_2()
                        throws Exception {

    String demoWPSURL = TestProperties.getProperty( "demo_wps_url" );
    Assume.assumeNotNull( demoWPSURL );
    WPSClient wpsClient = new WPSClient( new URL( demoWPSURL ) );
    org.deegree.protocol.wps.client.process.Process proc = wpsClient.getProcess( "Buffer", null );
    ProcessExecution execution = proc.prepareExecution();
    execution.addLiteralInput( "BufferDistance", null, "0.1", "double", "unity" );
    execution.addXMLInput( "GMLInput", null, CURVE_FILE.toURI(), false, "text/xml", null, null );
    execution.addOutput( "BufferedGeometry", null, null, false, null, null, null );
    ExecutionOutputs outputs = execution.execute();
    ComplexOutput complexOut = outputs.getComplex( "BufferedGeometry", null );
    XMLAdapter searchableXML = new XMLAdapter( complexOut.getAsXMLStream() );
    String xpathStr = "/gml:Polygon/gml:exterior/gml:LinearRing/gml:posList";
    NamespaceBindings nsContext = new NamespaceBindings();
    nsContext.addNamespace( GML_PREFIX, GML_NAMESPACE );
    XPath xpath = new XPath( xpathStr, nsContext );
    String pointList = searchableXML.getRequiredNodeAsString( searchableXML.getRootElement(), xpath );
    Assert.assertEquals( 460, pointList.split( "\\s" ).length );
}