Hi there,

This email to expose you an issue I am actually facing using JaxB2 with CXF.

I have developed an application using cxf version 2.2.3, under java 1.5. When 
deploying on similar Jboss with the same verion of java, things go fine. But 
when the server run un Open JDK, the unmarshalling of the soap request is not 
always successful. I have then got this kind of error:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
   <soap:Body>
      <soap:Fault>
         <faultcode>soap:Client</faultcode>
         <faultstring>Unmarshalling Error: Unexpected character '&lt;' (code 
60) excepted space, or '>' or "/>"
 at [row,col {unknown-source}]: [19,26]</faultstring>
      </soap:Fault>
   </soap:Body>
</soap:Envelope>

I would like to note that after some time, the same request get through without 
any change. Also, when I run the same request on my installation under java 
1.5, things go fine.

This issue seems really bizare to me. I expect someone here has an explanation 
as to what is going wrong. I notice the following from the web site: JDK 1.6 
incorporates the JAXB reference implementation. However, it
incorporates an old version of the RI. CXF does not support this
version. As of 1.6_04, this is easy to deal with: you must put the
versions of JAXB RI (the 'impl' and 'xjc' jars) that we include with
CXF in your classpath. As of this writing, these are version 2.1.6.

Is the same applies for open JDK?

Well, than you in advance for any tip or idea.

With kindest regards,

Maj

                                          
_________________________________________________________________
Consultez vos emails Orange, Gmail, Yahoo!, Free ... directement depuis HOTMAIL 
!
http://www.windowslive.fr/hotmail/agregation/

Reply via email to