You must Sign In to post a response.
  • Category: WCF

    Removing CDATA in Soap Response

    I am creating WCF server application using SoapUI, I have to give response without CDATA tag, sometimes my response tag also having "<" . I need to give response in proper xml formation. Can anyone help me to solve this issue.

    Thanks in advance
  • #762881
    Hi Anjali.

    Refer this code
    <![CDATA[xml data]]>
    [return: XmlElement("MethodNameResponse")]


    Sai Krishna Reddy.

  • #762891
    I have tried your code but CData is there in the xmlresponse.

  • #762957
    hi is there any solution to remove CDATA from response.

Sign In to post your comments