Hi Jens!

The stacktrace is:


java.nio.charset.IllegalCharsetNameException: "iso-8859-1"
13/02/13 08:51:04       at java.nio.charset.Charset.checkName(Charset.java:284)
13/02/13 08:51:04       at java.nio.charset.Charset.lookup2(Charset.java:458)
13/02/13 08:51:04       at java.nio.charset.Charset.lookup(Charset.java:437)
13/02/13 08:51:04       at java.nio.charset.Charset.forName(Charset.java:502)
13/02/13 08:51:04       at 
ca.uhn.hl7v2.hoh.encoder.AbstractHl7OverHttpDecoder.decodeHeaders(AbstractHl7OverHttpDecoder.java:123)
13/02/13 08:51:04       at 
ca.uhn.hl7v2.hoh.encoder.AbstractHl7OverHttpDecoder.doReadContentsFromInputStreamAndDecode(AbstractHl7OverHttpDecoder.java:184)
13/02/13 08:51:04       at 
ca.uhn.hl7v2.hoh.encoder.AbstractHl7OverHttpDecoder.readHeadersAndContentsFromInputStreamAndDecode(AbstractHl7OverHttpDecoder.java:475)
13/02/13 08:51:04       at 
ca.uhn.hl7v2.hoh.raw.client.AbstractRawClient.doSendAndReceiveInternal(AbstractRawClient.java:197)
13/02/13 08:51:04       at 
ca.uhn.hl7v2.hoh.raw.client.AbstractRawClient.doSendAndReceive(AbstractRawClient.java:152)
13/02/13 08:51:04       at 
ca.uhn.hl7v2.hoh.hapi.client.HohClientSimple.sendAndReceiveMessage(HohClientSimple.java:65)


and the maven dependencies from HL7 are:


        <!-- This is the core HAPI library -->
        <dependency>
                <groupId>ca.uhn.hapi</groupId>
                <artifactId>hapi-base</artifactId>
                <version>2.0</version>
        </dependency>  
        <!-- This is the structure JAR for HL7 v2.4 -->
        <dependency>
                <groupId>ca.uhn.hapi</groupId>
                <artifactId>hapi-structures-v24</artifactId>
                <version>2.0</version>
        </dependency>
        <!-- This is the HL7 over HTTP (HoH) library -->
        <dependency>
                <groupId>ca.uhn.hapi</groupId>
                <artifactId>hapi-hl7overhttp</artifactId>
                <version>2.1-alpha1</version>
        </dependency>



Thanks, 

Juan Carlos


El mar, 12-02-2013 a las 19:51 +0100, Jens Villadsen escribió:
> Please provide a stacktrace and version of HAPI
> 
> 
> 
> On 12 February 2013 17:17, Juan Carlos Rodríguez
> <[email protected]> wrote:
> 
>         Hi,
>         
>         when I send a HL7 message with the HL7simulator I have the
>         following error:
>         
>         java.nio.charset.IllegalCharsetNameException: "iso-8859-1"
>         
>         How I put the correct charset (iso-8859-1) ??
>         
>         Thanks
>         
>         Juan Carlos
>         
>         
>         
> ------------------------------------------------------------------------------
>         Free Next-Gen Firewall Hardware Offer
>         Buy your Sophos next-gen firewall before the end March 2013
>         and get the hardware for free! Learn more.
>         http://p.sf.net/sfu/sophos-d2d-feb
>         _______________________________________________
>         Hl7api-devel mailing list
>         [email protected]
>         https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>         
> 
> 
> 
> 
> 
> 
> 
> -- 
> 
> Med venlig hilsen / Kind regards 
> 
> Jens Kristian Villadsen
> cand.polyt
> 
> Kantorvænget nr. 161 
> 8240 Risskov
> Denmark 
> 
> Mobile +4523373806
> [email protected] 
> jkiddo.dyndns.org
> 
> 
> 

-- 

Un saludo,


JUAN CARLOS RODRÍGUEZ RAYO
[email protected]


Almogàvers 119-123. 3ª planta
08018 Barcelona 
T +34 932 521 285
www.necsia.es



AVISO DE CONFIDENCIALIDAD: Tanto este mensaje como todos los posibles
documentos adjuntos al mismo son confidenciales y están dirigidos
exclusivamente a los destinatarios de los mismos. Por favor, si Ud. no
es uno de dichos destinatarios, notifíquenos este hecho y elimine el
mensaje de su sistema. Queda prohibida la copia, difusión o revelación
de su contenido a terceros sin el previo consentimiento por escrito de
Necsia. En caso contrario, vulnerará la legislación vigente.
INFORMACIÓN RELATIVA A LA LOPD: En cumplimiento de la Ley Orgánica de
Protección de Datos de Carácter Personal (LOPD), le informamos que sus
datos de contacto han sido incorporados en ficheros titularidad de
Necsia IT Consulting SL, que responden a la finalidad de servir de
directorio o agenda de contactos así como para facilitar la gestión
administrativa y comercial desarrollada por la empresa. Ud tiene la
posibilidad de ejercer los derechos de acceso, rectificación,
cancelación y oposición previstos en la ley mediante carta dirigida a
Necsia IT Consulting, SL, Ref. Protección de datos, C/Almogàvers, nº
119-123. 3ª Planta, puerta 3, CP 08018, Barcelona.



<<attachment: facebook.png>>

<<attachment: googleplus.png>>

<<attachment: blog.png>>

<<attachment: twitter.png>>

<<attachment: linkedin.png>>

<<attachment: necsia.jpg>>

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to