My Oracle Support Banner

Webservice Non Schema Defined Output Without CDATA (Doc ID 2015854.1)

Last updated on OCTOBER 20, 2022

Applies to:

Oracle JDeveloper - Version 11.1.2.4.0 and later
Information in this document applies to any platform.

Symptoms

JDeveloper creates a webservice for a packaged function that should output an XMLTYPE, but instead outputs a string.

NOTE: In the document content below, the employee information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

The resulting string does contain the correct xml output, but it has enclosed it with CDATA when being tested with SOAPUI:


The requirement is to expose this function as a webservice and output just the XML without enclosing the response in CDATA ( <![CDATA[).

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.