Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OSB-SOA: Issue with XML Payload tags < and > getting replaced by &lt; and &gt;

Sanket24Feb 1 2018 — edited Feb 1 2018

Hi All,

We have an XML Request payload to be passed from OSB to SOA which contains CDATA element within a request element as below:

<Details>

  <FirstName></FirstName>

  <LastName></LastName>

  <Others><![CDATA[

  <Element1></Element1>

  <Element2></Element2>

  <Element3></Element3>

  etc.

  ]]></Others>

</Details>

However, when this is received at SOA end and when we use XSLT transformation or Assign activity to assign this payload to the calling target service, the elements within CDATA gets automatically converted as below:

<Details>

  <FirstName></FirstName>

  <LastName></LastName>

  <Others><![CDATA[

  &lt;Element1&gt;some data&lt;/Element1&gt;

  &lt;Element2&gt;some data&lt;/Element2&gt;

  &lt;Element3&gt;some data&lt;/Element3&gt;

  etc.

  ]]></Others>

</Details>

Because of this it gives error stating 'Error in provider endpoint' in our target service. This error may not apply to the actual scenario above but the Issue is we want '<' and '>' rather than '&lt;' and '&gt;'

Could anybody help us resolve this issue?

Could you

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 1 2018
Added on Feb 1 2018
3 comments
769 views