<%-- $Id$ --%> <%@ page language="java" contentType="text/html" pageEncoding="UTF-8" %> <%@ page import="org.deegree.framework.version.*" %> <%@ page import="org.deegree.ogcwebservices.wfs.capabilities.*" %> <%@ page import="java.net.*" %> deegree 2 WFS
Capabilities

The WFS Capabilites: Get Capabilities


FeatureTypes

The WFS Feature Type: Describe Feature Type

<% WFSCapabilitiesDocument capsDoc = new WFSCapabilitiesDocument(); String u = "http://" + request.getServerName() + ":" + request.getServerPort() + "/" + request.getContextPath() + "/services?service=WFS&version=1.1.0&request=GetCapabilities"; capsDoc.load( new URL( u ) ); WFSCapabilities caps = (WFSCapabilities)capsDoc.parseCapabilities(); WFSFeatureType[] types = caps.getFeatureTypeList().getFeatureTypes(); for ( int i = 0; i < types.length; i++ ) { org.deegree.datatypes.QualifiedName qn = types[i].getName(); out.println( "" ); out.println( qn.getLocalName() + "
" ); } %>

Clients

Generic OGC WebService Client