0 Replies Latest reply on Apr 12, 2006 10:38 AM by Amit Mahale

    Transform SOAPElement gives incomplete XML data

    Amit Mahale Newbie

      SOAPElement response = //response from WS
      TransformerFactory tFactory = TransformerFactory.newInstance();
      Transformer transformer = tFactory.newTransformer();
      DOMSource source = new DOMSource(response);
      StringWriter sw = new StringWriter();
      StreamResult result = new StreamResult(sw);
      transformer.transform(source, result);

      Same code works fine with SUN's implementation of SOAPElement i.e.

      But when I run the same code in JBoss 4.0.2 I get an incomplete string representation of the SOAPMessage with org.jboss.axis.message.SOAPElementAxisImpl