Java exception when using emsx

I have recently installed the Bloomberg Terminal/EMSX software. 
I have followed all the instructions in the MATLAB documentation (added blpap3.jar to my static path, run the Bloomberg Comm Server, BBcomm, have the terminal open and running in the background, I am logged in, etc). 
I can successfully connect to Bloomberg from MATLAB:
c = blp;
However, the command to connect to EMSX appears to fail:  ERROR: >> b = emsx('//blp/emapisvc')  Error using emsx/getAllFieldMetaData (line 58)  Java exception occurred:  com.bloomberglp.blpapi.NotFoundException: No Element definition found with name = MetaData  at com.bloomberglp.blpapi.impl.Z.b(SchemaTypeDefinitionImpl.java:217)  at com.bloomberglp.blpapi.impl.aL.e(ElementImpl.java:3056)  at com.bloomberglp.blpapi.impl.aL.d(ElementImpl.java:3045)  at com.bloomberglp.blpapi.impl.aL.getElement(ElementImpl.java:558)  at com.bloomberglp.blpapi.impl.h.getElement(MessageImpl.java:164)  Error in emsx
Is this a result of missing a setup step on the MATLAB side, or does it appear that I am not setup enough on the Bloomberg side?

 Accepted Answer

You are correct - to use EMSX with Bloomberg API the following additional steps need to be completed:
 
  1. Sign ETORSA (Bloomberg Electronic Trading & Order Routing Services Agreement)
  2. Enable EMSX API per UUID by the Trade Desk for Production (EMSX API R&D for Beta)
  3. Download and install the Bloomberg Desktop API SDK
  4. For Server Side API access, sign EMSxNET Order Originator Agreement, install and register server API installer
 
This information can be found in the Bloomberg manual. You might want to reach out to Bloomberg Technical Support if you need help with any of these steps.

More Answers (0)

Products

Release

R2017b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!