[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rampart-dev
Subject:    [jira] [Created] (AXIS2-5698) Less Than Symbol [<] got replace to &lt in response string
From:       "thomas (JIRA)" <jira () apache ! org>
Date:       2015-05-11 14:19:59
Message-ID: JIRA.12828826.1431353941000.73907.1431353999786 () Atlassian ! JIRA
[Download RAW message or body]

thomas created AXIS2-5698:
-----------------------------

             Summary: Less Than Symbol [<] got replace to &lt in response string 
                 Key: AXIS2-5698
                 URL: https://issues.apache.org/jira/browse/AXIS2-5698
             Project: Axis2
          Issue Type: Bug
    Affects Versions: 1.6.2
         Environment: Tomcat7 
            Reporter: thomas
            Priority: Blocker


Less Than Symbol [<] got replace to &lt in response string  in the response xml 


	StringWriter writer = new StringWriter();
						StreamResult result=new StreamResult(writer);
					   Transformer transformer = TransformerFactory.newInstance().newTransformer();
			            transformer.setOutputProperty(OutputKeys.METHOD, "xml");
					    transformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
					    transformer.setOutputProperty(OutputKeys.INDENT, "yes");
			            DOMSource source = new DOMSource(doc);
			         //   StringWriter writer = new StringWriter();
			            transformer.transform(source, result);
			            String output = writer.toString();



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic