1

Re: Upgrading from 3.3 to 3.5 java API

Hello

Does the introduction of registration keys effectively replace digest authentication in version 3.5?

In order to upgrade my jsp code do I therefore need to revert back to pre digest authentication code and then simply set the registration key for each request? 

Thanks

Richard

2

Re: Upgrading from 3.3 to 3.5 java API

Hello Richard

The registration keys introduced in version 3.5 of NBN web services replace the digest authentication used in the previous versions. Information on how to get a registration key and the code on how to apply them can be found in the NBN Gateway web services documentation - http://data.nbn.org.uk/Documentation/Web_Services/Web_Services-SOAP/Registration/

Best wishes

Graham

3

Re: Upgrading from 3.3 to 3.5 java API

Thanks Graham,

Is there a jsp example available for version 3.5?

The problem I have is that my jsp includes all the specific code I added for digest authentication.

I have have obtained a registration key, switched the jar files, added the line to set the registration key for my SpeciesListRequest and my jsp throws a whole bunch of errors which suggest my code no longer works with version 3.5 of the java api. 

Thanks again.

Richard

4

Re: Upgrading from 3.3 to 3.5 java API

Hello Richard

There isn't an jsp example using registration in the NBN web services documentation, apart from what is on the registration documentation pages http://data.nbn.org.uk/Documentation/Web_Services/Web_Services-SOAP/Registration/.

I have asked the NBN Gateway developers if they have one they can send

Best wishes

Graham

5

Re: Upgrading from 3.3 to 3.5 java API

Hello Richard

Paul Gilbertson has replied saying that you should remove all the Digest authentication code and the place the username and MD5 hash of the password in the tag attributes alongside the registration key. Hope this helps

Best wishes

Graham