Hello Experts
My project is using international XML standards OASIS UBL for generation of Web service
The scenario is Web Service – PI – PROXY (CRM).
It is an existing work done and all the amendments were there in the XSDs. Now there is a requirement to add and delete some fields from the xsd (it is a nested XSD referencing to other XSDs which are also saved in the same external definition in PI) and import it back via external definition into PI 7.0 and use it in a message interface to call proxy.
What I did “exported the xsd “
tools – Export original document - save
Now I opened the xsd using edit with Altova XML spy tool and made some changes in it by deleting a field from it. When I am trying to save is using ctrl+S, it gives the following error:
“the file is not valid .If you save the file in its current state, other XML processors may have problem opening the file. Do you really want to save the file as it is?”
I did save it and imported it in PI by creating new external definition and selecting XSD in the Category.
It is not creating the WSDL and giving the following error:
“Unable to convert imported document to WSDL
Reason: Schema must start with the tag <schema> that belongs to "http://www.w3.org/2001/XMLSchema" namespace
Check the selected category”
Also it is not referencing the previous XSDs which were there in External References Tab.
I am attaching the screenshot of what I exported and opened in Altova.
Please suggest some solution.
Regards
Neha