utf 8 - issue with Invalid UTF-8 start byte 0x8b (at char #2, byte #-1) Mule ESB -
i have created mule esb project invokes third party web service using web service consumer.
passing custom security header information using property
used transformation xslt transform input message source target.
there no transformation in output. dom xml node added in output
can 1 provide me solution on issue?
i getting below exception when invoking service.
exception stack is:
invalid utf-8 start byte 0x8b (at char #2, byte #-1) (java.io.charconversionexception) com.ctc.wstx.io.utf8reader:303 (null)
invalid utf-8 start byte 0x8b (at char #2, byte #-1) (com.ctc.wstx.exc.wstxioexception) com.ctc.wstx.stax.wstxinputfactory:550 (null)
- couldn't parse stream. (java.lang.runtimeexception) org.apache.cxf.staxutils.staxutils:1262 (null)
- invalid utf-8 start byte 0x8b (at char #2, byte #-1).
this issue may happen if third party web service request provides gzip-encoded response i.e.
http/1.1 200 ok content-type: text/xml;charset="utf-8" content-encoding: gzip content-length: 324 <soap:envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:body>... in case need use kind of interceptor decodes response.
Comments
Post a Comment