MATLAB: Am I unable to connect to the Thomson Datastream using the Datafeed Toolbox 1.9 (R2006b)

authenticationbloombergdatafeedDatafeed ToolboxerrorjavaPROXYreutersthomsonyahoo

I am using the Datafeed Toolbox 1.9 (R2006b) to connect to the Thomson datastream using the following code:
Connect = datastream('DS:XDMT001','password','Datastream','<http://dataworks.thomson.com/Dataworks/Enterprise/1.0'>)
… and I get the following java error:
??? Error using ==> datastream.datastream at 49
Error using ==> callSoapService at 70
java.net.ConnectException: Connection timed out: connect

Best Answer

This enhancement has been incorporated in Release 2010a (R2010a). For previous product releases, read below for any possible workarounds:
This error could be caused due the following reasons:
1. It could be due to the use of a proxy server to connect to the internet. See the Related Solution for a possible workaround for releases R2008b and above.
2. Make sure that you have the correct version of Java installed on your system. Each version of MATLAB is shipped with its own Java version and loading a different version of Java can result in such errors.