Showing posts with label XSD. Show all posts
Showing posts with label XSD. Show all posts

Saturday, September 24, 2016

OSB 12C - REST exposed pipeline - XML-24500: (Error) Can not build schema

When trying use WADL file from other OSB project and using in the pipeline which is exposed as REST, i got following errors

XML-24500: (Error) Can not build schema

It's happening only when yuou are using WADL file from other OSB project. There is no problem if you are using local WADL file.

In the schema files the xml header had encoding as:

<?xml version="1.0" encoding="utf-16"?>

This header prevented the WADL from loading the resource schema.

Solution:


To make it work, just remove the encoding from the header and it will resolve this issue.

from:
<?xml version="1.0" encoding="utf-16"?>

to:
<?xml version="1.0"?>

OSB 12C - WSDL import from MDS does not import cascading XSDs


When i was creating proxy services from WSDL by importing it from MDS which just have one XSD, it was working perfectly fine but when WSDL  has cascading XDSs  then its faling to create proxy service.

After some investigation, i found out that it was known issue and can be fixed by a oracle patch.

Solution:

  1. Download  Patch 19637023 from oracle support
  2. Follow the instruction in README file.
  3. Take back up of your system.
  4. Apply the patch.
  5. Try to create proxy service by importing WSDL with cascading XSDs from the MDS.
 After applying this patch, this issue was resolved.