Quantcast
Channel: SCN : Blog List - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 676

Importing XSD’s Schema With External References (step-by-step guide)

$
0
0

The goal ofthis guideis to provide adetailed step by step to importXSD´s schemawithexternal referencesby using SAP PItool“Import External Definitions…”


In my case I have worked with a customer who uses OASIS UBL 2.1 as standard to Exchange messages (https://www.oasis-open.org/).

 

First, customer provides me the XSD nested structure in a zipped file.

 

1.jpg

2.jpg

 

Procedure:


All the schemasmust be importedunder the samenamespace to keep the reference amongst them.

 

3.jpg

 

Select the menu Tools > Import External Definitions… (We use the massive import tool).

 

4.jpg

 

This initializes a wizard

 

5.jpg

 

 

Select the Software Component Version and the Namesapace.

 

6.jpg

 

Choose all the XSD files to import, in this step isimportant to selectthe option'ImportAllReferences', so it will automatically reference the XSD's.

 

7.jpg

 

Click ‘Continue’, the message ‘Generate proposals…’ appears.

 

8.jpg

 

Finally it show the list of files to import, in the column name ‘Source’you can see those who has reference to other XSD file.

 

9.jpg

 

Sometimes it is necessary to modify a file name since PI doesn´t accept some characters.

 

10.jpg

 

At last click 'Finish'.

 

11.jpg

 

 

E.g. UBLContractNoticemain schema has reference to:

 

UBLCommonAggregateComponents

UBLCommonBasicComponents

UBLCommonExtensionsComponents

 

12.jpg

 

13.jpg

 

 

if some references are still missing, we will see fields in red on the message as shown in below example.

 

14.jpg

 

I hope you find useful this guide.

 



Viewing all articles
Browse latest Browse all 676

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>