Re: [HAPI-devel] Get the port of the application

2012-03-12 Thread LDH
I am not sure how to read the port. An easy answer to your problem though is to create three Applications (one for each port), and in the processMessage() method, delegate to a common class for all three. That way, you can send in any additional configuration you may wish, including the port #.

Re: [HAPI-devel] generate custom datatype

2012-03-12 Thread Gabriel Euzet
Hi James, Thank you for the link. I can't make it works (I have tried SINGLE and ALL for the "generateDateTypes" parameter). In MWB I have customized a DataTypes file, a Library file and created some messages profiles (all are based on HL7 2.5.1). But when I run the source code generation I get g

[HAPI-devel] Get the port of the application

2012-03-12 Thread Ram
Hi, Let me explain my problem more clearly. I did made the server to run in three different ports. But the application configured with the server is same. So whenever i pass the HL7 message to any of the three ports, they are all calling the same processMessage() method of the application. T