cancel
Showing results for 
Search instead for 
Did you mean: 

could xml file be used as external definition

Former Member
0 Kudos

Hi expert friends,

could xml file be used as external definition. Give the config steps.

Thanks

David

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

hi David,

XML file itself <b>cannot </b>be used as <b>external Definition</b>, because it is just a structured file (contents) which is created based on some well defined structure.

This well defined structure can a be schema definition file which other wise called as XSD.

We can use this XSD or eXternal Schema Defintion in external definition.

Before importing XSD into Integration Repository through External Definition, first study the

xml file you want to import in IR environment and convert into XSD. Converting can done using some tools or manually on a notepad and saving the file with ".<b>xsd</b>" extension.

Configuration Steps

1. Go to IR environment

2. Under the main objects tab select the Software Component and the namespace where you need to use XSD

3. Then go Interface Object, you can see external Definition

4. Right click on it and say "<b>new</b>" and name the external definition

5. Then it will ask the file to locate from the file system, give the necessary path and there you go you XSD file will be imported into your IR environment which can be directly used as Interface.

Moreover you can also used WSDL and DTD other than XSD

Regards,

Ramesh P

Former Member
0 Kudos

HI,

Yes you can use ,

we have two options, like explained above by Michal ,

-- you can create the XSD in Altova XMLSPy .

--Before inporting select XSD after create the external definition then select the xsd,

-- Also check the you can have an option to select the XML file also , but it should support the structure .. this is purrly depends upon the xml

Regards

Chilla

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

yes it can but you need to create XSD scheme from this XML first

you can use stylusstudio or altova to do that

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

former_member335553
Active Contributor
0 Kudos

hi

Make an XSD out of it using xml spy and use it under external definition