Re: [OPEN-ILS-DEV] Help:opensrf over http using java

2011-03-29 Thread Bill Erickson
On Mon, Mar 28, 2011 at 12:51 PM, chiwe123...@gmail.com chiragahuja.n...@gmail.com wrote: Is the java implementation of evergreen complete?..i heard that its not complete yet so i opted a different method ... Correct, it's not complete. There is no OpenSRF translator or gateway class in

Re: [OPEN-ILS-DEV] Help:opensrf over http using java

2011-03-29 Thread m3th0d .
thanks Bill, this is what , I was about to ask, creating JSON from Java Using opensrf library. On Wed, Mar 30, 2011 at 2:43 AM, Bill Erickson erick...@esilibrary.comwrote: On Mon, Mar 28, 2011 at 12:51 PM, chiwe123...@gmail.com chiragahuja.n...@gmail.com wrote: Is the java implementation

Re: [OPEN-ILS-DEV] Help:opensrf over http using java

2011-03-28 Thread Bill Erickson
Hi, What you are describing is basically correct. For further reference, see the login() function at http://svn.open-ils.org/trac/ILS/browser/trunk/Open-ILS/src/java/org/open_ils/util/Utils.java#L11 For your purposes, you would change the ClientSession.atomicRequest() calls (which communicate

Re: [OPEN-ILS-DEV] Help:opensrf over http using java

2011-03-28 Thread chiwe123...@gmail.com
Is the java implementation of evergreen complete?..i heard that its not complete yet so i opted a different method ... I am actually working on android and sending post message to my virtual machine on which evergreen is installed so i used apache http library..but i am having some problem.. i

[OPEN-ILS-DEV] Help:opensrf over http using java

2011-03-25 Thread chiwe123...@gmail.com
I want to login through a java application Is my Approach correct?? First I will create json object in java which is like this ( but I don’t know how to use curl –H over here as it is a command line tool ) curl -H X-OpenSRF-service: open-ils.auth --data 'osrf-msg= [ { __c :

[OPEN-ILS-DEV] Help:opensrf over http using java

2011-03-25 Thread chiwe123...@gmail.com
*Forgot to put my information over previous mail..* I want to login through a java application Is my Approach correct?? First I will create json object in java which is like this ( but I don’t know how to use curl –H over here as it is a command line tool ) curl -H