1

Re: KnownSiteListRequest

I am not getting anywhere trying to get the KnownSiteListRequest working. Following the example code from the Gateway Library, this is my (PHP) request:

$param =  '<KnownSiteListRequest 
                 xmlns="http://webservices.searchnbn.net/query" 
                xmlns:nbn="http://webservices.searchnbn.net/data">
                <KnownSiteType>RAMSAR</KnownSiteType>
           </KnownSiteListRequest>';

This is the response I get:

[faultcode] Server
[faultstring] A database error has occurred in KnownSiteListQuery trying to extract a Known Site list xml.
[faultactor] 
[detail]

Anybody managed to get this one to work?

2

Re: KnownSiteListRequest

Hi Stuart,

Yes - I've had this working in the past - though I don't have an example to hand to check at the moment
I can't see anything wrong in your code

However I'm suspicious if you look at
The example Known Site List Lookup on http://www.searchnbn.net/library/webservices/wsKnownSiteList4.jsp - you see a similar error - I suspect somthing my have stalled at the gateway.

Richard / Jon ?

Best wishes
James

3

Re: KnownSiteListRequest

Looks like this was down to a bug in replication - it has now been fixed.

Richard

[b]Richard Ostler[/b]
NBN Developer

4

Re: KnownSiteListRequest

OK, It works now.