Dacs station api returning null value

Hi

I just tried to follow the documentation provided for Dacs station API.https://developers.refinitiv.com/en/api-catalog/refinitiv-real-time/dacs-station-api

This is how my code looks 1686844965660.png

can you help what is missing from the code.

I get the response back but there is no value inside. It is only null.

What might be the potential problem causing this

Best Answer

Answers

  • Hi @Jirapongse

    Thank you for your help.

    do we need to set application name and id.

    We just enabled web services so do we have to enable any additional security configuration for method call, can you help us how to enable that and how can we use the web services from different server.


  • @bishow.gurung

    I just changed the username and password and then ran it.

    I checked the API and found that you need to set the DACS Admin username and password in the request message. I am not sure if we can add any security configurations in the call. Please contact the DACS support team directly via MyRefinitiv to verify it.

    To call the web services from different servers, you can change the URL. The code looks like this:

                URL new_url = null;
                try {
                    new_url = new URL("http://127.0.0.1:8081/DacsWS/DacsWebServiceService?wsdl");
                } catch (MalformedURLException e) {
                    // TODO Auto-generated catch block
                    e.printStackTrace();
                }
                com.reuters.rfa.dacswebservice.DacsWebServiceService service = new com.reuters.rfa.dacswebservice.DacsWebServiceService(new_url);