From: <did...@ch...> - 2003-06-17 16:45:16
|
Hi I've tried to create some segments. For example : MSH msh =3D null; msh =3D new MSH(msg); msh.getFieldSeparator().setValue("|"); msh.getEncodingCharacters().setValue("^~\\&"); msh.getSendingApplication().getNamespaceID().setValue("ORMED"); msh.getReceivingApplication().getNamespaceID().setValue("PYXISRX"); How must i declare the variable msg and how i can add this segment to a message? Thanks in advance. Regards Didier Didier Bosson Unilog USR S.A. Chemin des coquelicots 16 CH - 1214 Vernier t=E9l. : +41 (0) 22 706 29 00 fax : +41 (0) 22 706 29 01 e-mail : did...@ch... http://www.unilog-usr.ch *********************************************************************** This message is confidential; its contents do not constitute a commitment by UNILOG except where provided for in a written agreement between you and UNILOG . Any unauthorised disclosure, use or dissemination, either whole or partial, is prohibited. If you are not the intended recipient of the message, please notify the sender immediately. *********************************************************************** |