Have you tried to upgrade to the beta?
http://search.maven.org/#artifactdetails%7Cca.uhn.hapi%7Chapi-hl7overhttp%7C2.1-beta1%7Cjar
at
first?
On 13 February 2013 17:42, Juan Carlos Rodríguez <j.rodrig...@necsia.es>wrote:
> **
> Hi guys,
>
> the problem was the HL7 message. This file contained bad characters.
>
> Now, in process of the message I have another error, an error from API
> (2.1-alpha1):
>
> ca.uhn.hl7v2.hoh.api.NonHl7ResponseException: Invalid Content-Type:
> application/hl7-v2
> 13/02/13 17:37:05 at
> ca.uhn.hl7v2.hoh.encoder.AbstractHl7OverHttpDecoder.doReadContentsFromInputStreamAndDecode(AbstractHl7OverHttpDecoder.java:198)
> 13/02/13 17:37:05 at
> ca.uhn.hl7v2.hoh.encoder.AbstractHl7OverHttpDecoder.readHeadersAndContentsFromInputStreamAndDecode(AbstractHl7OverHttpDecoder.java:475)
> 13/02/13 17:37:05 at
> ca.uhn.hl7v2.hoh.raw.client.AbstractRawClient.doSendAndReceiveInternal(AbstractRawClient.java:197)
> 13/02/13 17:37:05 at
> ca.uhn.hl7v2.hoh.raw.client.AbstractRawClient.doSendAndReceive(AbstractRawClient.java:152)
>
>
> I hope the new version will fix and will soon be in the maven repositories.
>
>
> 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 <j.rodrig...@necsia.es>
> 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
> Hl7api-devel@lists.sourceforge.net
> 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
> jenskristianvillad...@gmail.com
> jkiddo.dyndns.org
>
>
>
>
>
>
--
Med venlig hilsen / Kind regards
*Jens Kristian Villadsen*
cand.polyt
Kantorvænget nr. 161
8240 Risskov
Denmark
Mobile +4523373806
jenskristianvillad...@gmail.com
jkiddo.dyndns.org
------------------------------------------------------------------------------
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
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel