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.
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"?>
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"?>
I have found that this site is very informative, interesting and very well written. keep up the nice high quality writing Qué es BPM
ReplyDelete