Yes, we offer sample code in Java and .Net (C#) but you can use any language/platform to write your client. The BRG web services conform to the Web Service Interoperability Organization’s Basic Profile standard, see http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html and you can write your client in any language that supports this.
OFTEST STILLEDE SPØRGSMÅL FRA udviklere
Her kan du finde de mest almindelige spørgsmål. Hvis du ikke kan finde svaret på dit spørgsmål, er du velkommen til at kontakte os.
All SOAP communication with BRG should be encoded in UTF-8.
There are four different login criteria in BRG, which are described in the WSDL files of all services that require them. They are always a part of the namespace http://www.dnbnordic.com/brg. The services that require login information are all except AnnualReportPDF and AnnualReportPDFList. The criteria are:
The criteria should be set as SOAP headers in the request. Please refer to the code examples sections to see how to include SOAP headers in a request.
In order to switch between the test system and the live system you need to change the URL to the Bisgateway and supply a different login account. Therefore we recommend that you implement your client code so that it is easy to change these values (i.e. no hard coding).
These SOAP headers are mandatory for some of the services. Please refer to each service' WSDL file to see for which of the services they are mandatory.
The includeEmptyField SOAP header is optional and can be used when calling the following services:
When this header is set to "yes" all second level elements in the response will be returned, even if the particular element is empty. For example, if it's set to yes in a request to Company Report Standard then all elements under e.g. actionsOfDistraint will be returned. To avoid ambiguity the element actionsOfDistraint itself will still be returned zero, one or more than one time.
The reason for this is so is perhaps more clear for the Company Search service where the header simply means that all fields should be returned for all companies in the response. But of course the company element itself might still be returned zero to many times, depending on how many companies matched the search.
If it's not set then it defaults to "no".
Please see section Error Handling for detailed information about error codes.