You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Shuhail Kadavath (Created) (JIRA)" <ji...@apache.org> on 2011/12/13 10:29:30 UTC

[jira] [Created] (AXIOM-405) CDATA not parsed correctly in axis2 webservice

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


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 &lt;![CDATA[Hi Shu]]&gt;,></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


[jira] [Resolved] (AXIOM-405) CDATA not parsed correctly in axis2 webservice

Posted by "Andreas Veithen (Resolved) (JIRA)" <ji...@apache.org>.
     [ 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 &lt;![CDATA[Hi Shu]]&gt;,></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


[jira] [Commented] (AXIOM-405) CDATA not parsed correctly in axis2 webservice

Posted by "Shuhail Kadavath (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIOM-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168331#comment-13168331 ] 

Shuhail Kadavath commented on AXIOM-405:
----------------------------------------

Can U please suggest me a method so that i can send and recieve CDATA to my webservice... ?
                
> 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 &lt;![CDATA[Hi Shu]]&gt;,></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