You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Andreas Veithen (Resolved) (JIRA)" <ji...@apache.org> on 2011/12/13 13:27:30 UTC
[jira] [Resolved] (AXIOM-405) CDATA not parsed correctly in axis2
webservice
[ https://issues.apache.org/jira/browse/AXIOM-405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen resolved AXIOM-405.
-----------------------------------
Resolution: Invalid
As the name implies, createOMText creates a text node from a given string. It doesn't do any parsing. When the node is serialized, characters such as '<' are replaced by character entities, so that well-formed XML is generated and the value of the text node is preserved.
If you have any further question, please use the user mailing list.
> CDATA not parsed correctly in axis2 webservice
> ----------------------------------------------
>
> Key: AXIOM-405
> URL: https://issues.apache.org/jira/browse/AXIOM-405
> Project: Axiom
> Issue Type: Bug
> Components: API
> Affects Versions: 1.2.12
> Environment: MAC OS
> Reporter: Shuhail Kadavath
> Labels: mentor
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> I have created a sample webservice using axis2. When I hit the service , i have set up a response like
> value.addChild(fac.createOMText(value, "Hello <![CDATA[Hi ]]>, "+personToGreet));
> But the response I'm getting is
> <example1:greeting>Hello <![CDATA[Hi Shu]]>,></example1:greeting>
> Here the CDATA IS not parsed correctly . Please give me a solution for this probem .
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org