Skip to Content
author's profile photo Former Member
Former Member

could xml file be used as external definition

Hi expert friends,

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

Thanks

David

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Apr 23, 2007 at 07:20 AM

    hi

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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 23, 2007 at 07:21 AM

    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>

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 23, 2007 at 07:27 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 23, 2007 at 09:06 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.