Question6Replies1184Views Prasad_BY Member since 2014 12 posts UnitedHealth Group Posted: 4 years agoLast activity: 4 years 5 months ago Closed Solved Service SOAP Inbound data mapping not working correctly with both CDATA and Attachments in RequestWe are facing an unique issue in Service SOAP Inbound Data mapping. We have exposed this Service from PEGA and testing it using SOAP UI.When we have CDATA as part of Request XML and we map this as an LiteralXML to a Property, we are observing that CDATA tag is not being removed and it is part of the LiteralXML.Example:SOAP Request: <Message><![CDATA[ <InsideCDATA><RequestElements></RequestElements></InsideCDATA> ]]></Message>PropertyValue: <Message><![CDATA[ <InsideCDATA><RequestElements></RequestElements></InsideCDATA> ]]></Message>However when we have attachments and CDATA present in SOAP Request, we are observing the Property value is without CDATA tag.Example:SOAP Request: <Message><![CDATA[ <InsideCDATA><RequestElements></RequestElements></InsideCDATA> ]]></Message>PropertyValue: <Message><InsideCDATA><RequestElements></RequestElements></InsideCDATA></Message>This difference in xml value is throwing errors in ParseXML rule.Getting the following error :Has anyone encountered this problem? This is happening only when we have attachments and CDATA and with CDATA alone it is working fine.What is the correct way to handle CDATA with Attachments in SOAP Request?Any help in this regard will be highly appreciated.Note : We are using PRPC v7.1.8 Pega Customer Service Data Integration ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 4 years agoSamanthReddyC Cognizant replied to Prasad_BYHi PrasadWe have seen similar kind of issue. We passed the request like this.Param.Request: Contains the elements which are inside the CDATA.In service activity we can do a property set before calling the request data transform and set it to a param likeParam.FullRequest = "<Message><![CDATA["+Param.Request+" ]]></Message>"Now pass Param.FullRequest this to the requst data transform.Can you give a try.Thank youSam Posted: 4 years agoUpdated: 4 years agoPrasad_BY UnitedHealth Group replied to SamanthReddyCHi Samanth,I tried this and it did not help. Still getting the same error.We have raised an SR at the moment and awaiting further update from PEGA.Regards,Prasad Posted: 4 years agoHabeebBaig PEGA replied to Prasad_BYHi Prasad,I have created SR-A16632.Alekhya Gumudavelli can you please help with the below query?What is the correct way to handle CDATA with Attachments in SOAP Request?Thanks,Habeeb Baig Posted: 4 years agoLochanaDurgadavijayakumar replied to HabeebBaigHi Habeeb,Thanks for updating the SR number Posted: 4 years agoPrasad_BY UnitedHealth Group replied to HabeebBaigThanks Habeeb Accepted Solution Posted: 4 years agoMarissaRogers MOD replied to Prasad_BYUpon reviewing the corresponding SR, we see that it has been resolved. SA-19915 was created as a result of the investigation. Please reference that if you have the same question.