Routines (alphabetical) > Object Classes > Network Object Classes > IDLnetOGCWCS::GetServiceSection

# IDLnetOGCWCS::GetServiceSection

The IDLnetOGCWCS::GetServiceSection function method returns the values found in the Service section of the XML file returned by the IDLnetOGCWCS::GetCapabilities method. This method will throw an error if the GetServiceSection call fails.

## Syntax

Result = Obj->[IDLnetOGCWCS::]GetServiceSection( )

## Return Value

Returns a single structure containing Service element items or children of the Service element. Each field returns a string as follows:

Field Name | Description
NAME | Name assigned to the server by the service provider XML source: <Service><name>
LABEL | The display friendly label for the server XML source: <Service><label>
DESCRIPTION | Descriptive information about the server XML source: <Service><description>
KEYWORDS | Words to aid cataloging and searching XML source: <Service><keywords><keyword> Returns an array of strings, 0 to many.
INDIVIDUAL | Name of the responsible party XML source: <Service><responsibleParty><individualName>
ORGANIZATION | Name of the responsible organization XML source: <Service><responsibleParty><organisationName>
POSITION | Position held by the responsible individual XML source: <Service><responsibleParty><positionName>
VOICE | Phone number of the responsible individual XML source: <Service><responsibleParty><contactInfo> <phone><voice>
FAX | Fax number of the responsible individual XML source: <Service><responsibleParty><contactInfo> <phone><facsimile>
DELIVERY | Delivery address of responsible individual XML source: <Service><responsibleParty><contactInfo> <address><deliveryPoint>
CITY | City portion of responsible party address XML source: <Service><responsibleParty><contactInfo> <address><city>
ADMINISTRATIVE | State or comparable portion of address XML source: <Service><responsibleParty><contactInfo> <address><administrativeArea
POSTAL | Zip or comparable code of address XML source: <Service><responsibleParty><contactInfo> <address><postalCode>
COUNTRY | Country of responsible party XML source: <Service><responsibleParty><contactInfo> <address><country>
EMAIL | E-mail address of responsible party XML source: <Service><responsibleParty><contactInfo> <address><electronicMailAddress>
ONLINE | Online address associated with responsible party XML source: <Service><responsibleParty><contactInfo> <onlineResource>
FEES | The fees charged by the service provider. XML source: <Service><fees>
ACCESS | A list of access constraints imposed by the service provider. XML source: <Service><accessContraints>

## Arguments

None

## Keywords

None

## Examples

See the GetCoverageOfferingBriefs Examples for an example that also uses GetServiceSection.

## Version History

6.4 | Introduced

## See Also

IDLnetOGCWCS::GetCapabilities