Sorry i've tried that as well. The problem is that Home is not a method on IEssbase. That's the message i get back.
On Oct 15, 1:08 pm, ".Bill Smith" <william.m.sm...@gmail.com> wrote: > Try using IEssbase/JAPI_VERSION instead (replace dot with slash). > > On Oct 15, 11:32 am, oak <ismail.oka...@gmail.com> wrote: > > > > > Hi All, > > > This is how i see the package in package explorer. > > IEssbase.class > > (I) IEssbase > > (C, s f) Home > > (M, s) create(String) IEssbase > > (M, c) Home() > > (P, s f) JAPI_VERSION > > > I can import like this in Clojure > > =>(import `(com.essbase.api.session IEssbase))` > > > I can also call the property like this with success. > > =>(IEssbase/JAPI_VERSION) > > "11.1.1" > > => > > > In java the code to get this API instance looks like this. > > > IEssbase ess = null; > > ess = IEssbase.Home.create(IEssbase.JAPI_VERSION); > > > when in Clojure i try the following > > => (.. IEssbase Home create IEssbase.JAPI_VERSION) > > > I get the message no such Field exists. > > > Do i have to use a proxy since IEssbase is an Interface if so how do i > > make call to create to get instance of API back. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en