ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ricardo Pereira <ricardo.sele...@gmail.com>
Subject Conversion byte[] to String not accepted by ODE (Illegal character)
Date Fri, 18 Sep 2009 11:20:22 GMT
Hello,

I have a Java app which requests a ODE process by using the XML as a String.
Everything goes fine till i substitute a field that is the conversion of a
byte[] (which is the result of an image conversion) to String.
To this conversion i'm using this:

byte[] plantaAux;
.....
String value = new String(plantaAux);

after i do this an exception is retuned in the log file. How can i convert a
byte[] to a String that is accepted by ODE?

Thanks Ricardo

PS: the esception is:

ERROR - GeronimoLog.error(108) | Exception occured while invoking ODE
org.apache.axiom.om.OMException:
com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal character ((CTRL-CHAR,
code 26))
 at [row,col {unknown-source}]: [2,1]
    at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:239)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message