@Test
public void testProcessDescription_2()
                        throws OWSExceptionReport, IOException {

    String demoWPSURL = TestProperties.getProperty( "demo_wps_url" );
    Assume.assumeNotNull( demoWPSURL );
    WPSClient wpsClient = new WPSClient( new URL( demoWPSURL ) );
    org.deegree.protocol.wps.client.process.Process p2 = wpsClient.getProcess( "Crosses", null );
    InputType secondInput = p2.getInputTypes()[1];
    Assert.assertEquals( "1", secondInput.getMinOccurs() );
    Assert.assertEquals( "1", secondInput.getMaxOccurs() );
    ComplexInputType complexData = (ComplexInputType) secondInput;
    Assert.assertEquals( "text/xml", complexData.getDefaultFormat().getMimeType() );
    Assert.assertEquals( "UTF-8", complexData.getDefaultFormat().getEncoding() );
    Assert.assertEquals( "http://schemas.opengis.net/gml/3.1.1/base/gml.xsd",
                         complexData.getDefaultFormat().getSchema() );
    Assert.assertEquals( "text/xml", complexData.getSupportedFormats()[0].getMimeType() );
    Assert.assertEquals( "UTF-8", complexData.getSupportedFormats()[0].getEncoding() );
    Assert.assertEquals( "http://schemas.opengis.net/gml/3.1.1/base/gml.xsd",
                         complexData.getSupportedFormats()[0].getSchema() );
    OutputType output = p2.getOutputTypes()[0];
    LiteralOutputType literalOut = (LiteralOutputType) output;
    Assert.assertEquals( "boolean", literalOut.getDataType().getValue() );
    Assert.assertEquals( "http://www.w3.org/TR/xmlschema-2/#boolean", literalOut.getDataType().getRef().toString() );
}