1

Re: SpeciesListRequest problem ?

Jon / Richard,

This used to work - before the changes to the schemas.
Have we messed something up here ? The query should / used to - just be returning mammals - now seems to ignore the mammal filter on TaxonGroupKey.

Thanks

Request:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><SpeciesListRequest xmlns="http://webservices.searchnbn.net/query"><GeographicalFilter><Buffer xmlns="http://webservices.searchnbn.net/data"><Point srs="osgb_BNG" x="278200" y="198800" /><Distance>1</Distance></Buffer></GeographicalFilter><TaxonGroupKey>NHMSYS0000080085</TaxonGroupKey></SpeciesListRequest></soap:Body></soap:Envelope>

Response - start:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
  <ns1:SpeciesListResponse NBNLogo="http://www.searchnbn.net/images/NBNPower.gif" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://webservices.searchnbn.net/data" termsAndConditions="http://www.searchnbn.net/help/popups/generalTerms.htm" version="1.1" xmlns="http://webservices.searchnbn.net/data" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://webservices.searchnbn.net/data">
  <ns1:SpeciesList>
   <ns1:Species taxonVersionKey="NHMSYS0000455513">
    <ns1:ScientificName>Abies alba</ns1:ScientificName>
    <ns1:CommonName>European Silver-fir</ns1:CommonName>
    <ns1:Authority>Mill.</ns1:Authority>
    <ns1:TaxonReportingCategory>conifer</ns1:TaxonReportingCategory>
   </ns1:Species>

   <ns1:Species taxonVersionKey="NBNSYS0000039455">
    <ns1:ScientificName>Abies procera</ns1:ScientificName>
    <ns1:CommonName>Noble Fir</ns1:CommonName>
    <ns1:Authority>Rehder</ns1:Authority>
    <ns1:TaxonReportingCategory>conifer</ns1:TaxonReportingCategory>
   </ns1:Species>

   <ns1:Species taxonVersionKey="NBNSYS0000005976">
    <ns1:ScientificName>Abraxas sylvata</ns1:ScientificName>
    <ns1:CommonName>Clouded Magpie</ns1:CommonName>
    <ns1:Authority>(Scopoli, 1763)</ns1:Authority>
    <ns1:TaxonReportingCategory>insect - moth</ns1:TaxonReportingCategory>
   </ns1:Species>

2

Re: SpeciesListRequest problem ?

Hi James,

TaxonGroupKey is now called TaxonReportingCategoryKey - it changed during the last round of shema changes to make the terminology consistent.  Your request and response should be as shown below.

Thanks, Jon

Request:

<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <SpeciesListRequest xmlns="http://webservices.searchnbn.net/query">
        <GeographicalFilter>
            <Buffer xmlns="http://webservices.searchnbn.net/data">
                <Point srs="osgb_BNG" x="278200" y="198800"/>
                <Distance>1</Distance>
            </Buffer>
            <MinimumResolution>_10km</MinimumResolution>
        </GeographicalFilter>
        <TaxonReportingCategoryKey>NHMSYS0000080085</TaxonReportingCategoryKey>
    </SpeciesListRequest>
</soapenv:Body>

Response:

<?xml version="1.0" encoding="UTF-8"?>
<SpeciesListResponse targetNamespace="http://webservices.searchnbn.net/data" xmlns="http://webservices.searchnbn.net/data" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.1" termsAndConditions="http://www.searchnbn.net/help/popups/generalTerms.htm" NBNLogo="http://www.searchnbn.net/images/NBNPower.gif">
    <SpeciesList>
        <Species taxonVersionKey="NHMSYS0000080191">
            <ScientificName>Meles meles</ScientificName>
            <CommonName>Eurasian Badger</CommonName>
            <Authority>(Linnaeus, 1758)</Authority>
            <TaxonReportingCategory>terrestrial mammal</TaxonReportingCategory>
        </Species>
        <Species taxonVersionKey="NHMSYS0000080219">
            <ScientificName>Oryctolagus cuniculus</ScientificName>
            <CommonName>European Rabbit</CommonName>
            <Authority>(Linnaeus, 1758)</Authority>
            <TaxonReportingCategory>terrestrial mammal</TaxonReportingCategory>
        </Species>
        <Species taxonVersionKey="NHMSYS0000332764">
            <ScientificName>Sciurus carolinensis</ScientificName>
            <CommonName>Eastern Grey Squirrel</CommonName>
            <Authority>Gmelin, 1788</Authority>
            <TaxonReportingCategory>terrestrial mammal</TaxonReportingCategory>
        </Species>
        <Species taxonVersionKey="NBNSYS0000005108">
            <ScientificName>Sciurus vulgaris</ScientificName>
            <CommonName>Eurasian Red Squirrel</CommonName>
            <Authority>Linnaeus, 1758</Authority>
            <TaxonReportingCategory>terrestrial mammal</TaxonReportingCategory>
        </Species>
    </SpeciesList>
    <DatasetSummaryList>
        <DatasetSummary id="GA000074">
            <ProviderMetadata datestamp="" exchangeFormatVersion="1.0" >
                <DatasetTitle>Mammals Database</DatasetTitle>
                <DatasetProvider>Biological Records Centre</DatasetProvider>
                <Abstract>
                    <Description> BRC Mammal data used to create the 1993 'Atlas of mammals in Britain'. This data was collected by volunteers from the Mammal Recording Scheme and data collection is still continuing for this group. Recording cards from the dataset were input to electronic format in BRC. </Description>
                    <DataCaptureMethod> </DataCaptureMethod>
                    <DatasetPurpose> </DatasetPurpose>
                    <GeographicalCoverage> Great Britain. Record density is strong over England, Scotland and Wales, although there are no records for Ireland.</GeographicalCoverage>
                    <TemporalCoverage> A very large number of records were collected between 1945 and 1998 (although recording for this dataset ends in 2002).</TemporalCoverage>
                    <DataQuality> Records have been subject to routine validation by BRC.</DataQuality>
                    <AdditionalInformation> Arnold, H.R. 1993. Atlas of mammals in Britain. London: HMSO.    </AdditionalInformation>
                </Abstract>
                <AccessConstraints> There are access constraints to protect vulnerable species. Detailed data may be made available to the country agencies and other conservation organisations to assist their conservation work.</AccessConstraints>
                <UseConstraints> Further information required</UseConstraints>
            </ProviderMetadata>
        </DatasetSummary>
    </DatasetSummaryList>
</SpeciesListResponse>

3

Re: SpeciesListRequest problem ?

Many thanks for that.

I did wonder - but thought that as it was coming up in the revised .NET classes it was OK.

Will try again now

Thanks
James

4

Re: SpeciesListRequest problem ?

Yes - thats sorted it thanks.

Now to see wht the proxy class wasn't offering the right properties :mad:

Best wishes
James

5

Re: SpeciesListRequest problem ?

That's good.  Make sure you've got the latest dll (or jar file).  Get the from http://www.searchnbn.net/library/webser … tTools.jsp.

Jon