Re: [HAPI-devel] clojure hapi class not found

2013-08-27 Thread Daniel Watson
http://gitorious.org/ozzloy/create-a-message here it is! On Tue, Aug 27, 2013 at 3:36 PM, Daniel Watson wrote: > i actually just found out the same thing, and i can confirm it totally > works! sure, i'll put up a simple transliteration from java to clojure of > that example. > > i'm not well ve

Re: [HAPI-devel] clojure hapi class not found

2013-08-27 Thread Daniel Watson
i actually just found out the same thing, and i can confirm it totally works! sure, i'll put up a simple transliteration from java to clojure of that example. i'm not well versed in java's environment (i just installed maven, for example) or clojure (this is my second real lein project). so ther

[HAPI-devel] rename "2011 hapi survey" to "hapi survey" ?

2013-08-27 Thread Daniel Watson
you might want to rename that to just "hapi survey" or something. i got the impression from seeing that that hapi is a stale/dying/dead project. (is this the place for suggestions like this?) -- Learn the latest--Visual S

Re: [HAPI-devel] clojure hapi class not found

2013-08-27 Thread James Agnew
Hi Daniel, I've never user lein and I'm far from a Clojure expert, so I'm mostly guessing here.. But you probably need the "hapi-structures-v24" dependency added to your project. You may possibly also need to add slf4j-api? If you do get this working and want to contribute a sample (even somethin

[HAPI-devel] clojure hapi class not found

2013-08-27 Thread Daniel Watson
i'm trying to use hapi in clojure in a lein project. i can tell lein has downloaded hapi because the first import line works, but the next one fails. but when i try to follow this example, i get a class not found exception: http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/CreateAMessage.htm

Re: [HAPI-devel] Hapi connection with existing server

2013-08-27 Thread James Agnew
Hi Bartłomiej, I have never heard of a situation where a single port is used to both send and receive messages, at least not in the way that you describe. HL7 v2 transactions are typically only one direction on a single port (there is always data that flows back on that port, but it's an acknowled

Re: [HAPI-devel] Hapi connection with existing server

2013-08-27 Thread Bartłomiej Buczek
James, maybe I'm missing some knowledge about HL7 or I misunderstood it but I though that there is one server through which applications can communicate. In you example I would have to have two servers that listens on different ports - am I right? The problem of mine comes from that one of the clie

Re: [HAPI-devel] Hapi connection with existing server

2013-08-27 Thread James Agnew
Are you saying that you want to have your application open a TCP port, accept a connection, receive A02 messages over that connection, and then send A04 messages out over the same connection? This is not a normal thing to do with HL7, so I'm probably misunderstanding. Or do you just want your appl

Re: [HAPI-devel] Hapi connection with existing server

2013-08-27 Thread Bartłomiej Buczek
Hi James, not exactly. I want something like this: 1. Server is already running. 2. One application is connected to the server and is sending messages of type ADT_A04 and can receive messages of type ADT_A02. 3. I want to create another application, connect it to the server and make it listen AD

Re: [HAPI-devel] Hapi connection with existing server

2013-08-27 Thread Senthil Muthiah
May be . But there are not much examples. After reading the API, i asked some question in the forum, not able to get any answer. On Tue, Aug 27, 2013 at 6:15 PM, Jens Villadsen < [email protected]> wrote: > HAPI forum is indeed active - > > It just seems like you did not have the

Re: [HAPI-devel] Hapi connection with existing server

2013-08-27 Thread James Agnew
Hi Bartłomiej, It sounds like you're probably looking to create a client as opposed to a server. You'll see an example of how to do that starting on line 145 here: http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/SendAndReceiveAMessage.html Cheers, James On Tue, Aug 27, 2013 at 6:37 AM,

Re: [HAPI-devel] Hapi connection with existing server

2013-08-27 Thread Bartłomiej Buczek
Actually it's not what I asked from the beginning so if forum is still active please stick to the topic and try to answer my question. Bartłomiej Buczek Phoenix Tecnologie Sp. z o.o. ul. Wiosenna 14/2; 53-017 Wrocław, Poland NIP: 899 258 73 59 Tel. +48 71 338 65 64; Kom. +48 668 891 540 Fax +48

Re: [HAPI-devel] Hapi connection with existing server

2013-08-27 Thread Jens Villadsen
HAPI forum is indeed active - It just seems like you did not have the time to understand the API. On 27 August 2013 14:31, Senthil Muthiah wrote: > Completed my own parsing. It is simple, later today, i will write article > on my blog > > > > On Tue, Aug 27, 2013 at 5:51 PM, Bartłomiej Buczek

Re: [HAPI-devel] Hapi connection with existing server

2013-08-27 Thread [email protected]
Hi Do you want to listen for more than one message in a single listener? Try this. Application handler = new ExampleReceiverApplication(); server.registerApplication("ADT", "A01", handler); server.registerApplication("ADT", "A02", handler); Hope it helps... -- Sathish On Friday 12 July 2013

Re: [HAPI-devel] Hapi connection with existing server

2013-08-27 Thread Senthil Muthiah
Completed my own parsing. It is simple, later today, i will write article on my blog On Tue, Aug 27, 2013 at 5:51 PM, Bartłomiej Buczek wrote: > And you switched to what? Is there any good alternative? > > Bartłomiej Buczek > Phoenix Tecnologie Sp. z o.o. > ul. Wiosenna 14/2; 53-017 Wrocław, P

Re: [HAPI-devel] Hapi connection with existing server

2013-08-27 Thread Bartłomiej Buczek
And you switched to what? Is there any good alternative? Bartłomiej Buczek Phoenix Tecnologie Sp. z o.o. ul. Wiosenna 14/2; 53-017 Wrocław, Poland NIP: 899 258 73 59 Tel. +48 71 338 65 64; Kom. +48 668 891 540 Fax +48 71 338 65 55 [email protected] phxtecno.com On 08/27/2013 02:20 PM, Senthi

Re: [HAPI-devel] Hapi connection with existing server

2013-08-27 Thread Senthil Muthiah
Forum is not active, so i dropped using this HAPI On Tue, Aug 27, 2013 at 4:07 PM, Bartłomiej Buczek wrote: > Really no one can help me with this? I'm waiting so long and simple no > response... > > Bartłomiej Buczek > Phoenix Tecnologie Sp. z o.o. > ul. Wiosenna 14/2; 53-017 Wrocław, Poland >

Re: [HAPI-devel] Hapi connection with existing server

2013-08-27 Thread Bartłomiej Buczek
Really no one can help me with this? I'm waiting so long and simple no response... Bartłomiej Buczek Phoenix Tecnologie Sp. z o.o. ul. Wiosenna 14/2; 53-017 Wrocław, Poland NIP: 899 258 73 59 Tel. +48 71 338 65 64; Kom. +48 668 891 540 Fax +48 71 338 65 55 [email protected] phxtecno.com On