[
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: [email protected]
For additional commands, e-mail: [email protected]