3 Replies Latest reply on Jun 30, 2008 5:49 AM by Alessio Soldano

    document response

    randip singh Newbie

      Is there a way I can send and return a xml document as a response from a web service method ? when I specify a document (dom4j) as response from method eg Document method() {... } then jboss will not deploy the ear. When I try to return a xml string eg String method() { ...} then all the < > characters get translated to '<' and '>'which is not acceptable ( even <![CDATA[ ... ]]> does not work ). Jboss version is 4.2.2GA.