4 Replies Latest reply on Aug 23, 2010 5:30 AM by jc Souvignet

    CXF - activate XML_DECLARATION from soap exchange

    jc Souvignet Newbie

      Hello,

       

      I use CXF 2.2.7 to declare one service.

       

      Service client isn't CXf nor java. It needs XML declaration :" <?xml version="1.0" encoding="UTF-8"?> ".

       

      I test to set up SOAPMessage.WRITE_XML_DECLARATION to true in process to force CXF to write the line.

      But the line is not written.

       

       

      I declare an handler in jaxws cxf service declaration :

      -


       

      -


       

      The handler is the attached file.

       

      Do you have a solution to write this XML declaration  ? By this way or by another ?

      Thanks in advance for your help.