Skip to Content
avatar image
Former Member

Resolving dependencies in XSDs from external schema locations

I am trying to import a data type from an XSD into Enterprise Services Builder.

I was wondering if PI is supposed to be able to resolve external references appearing in xsd:import tags from the schemaLocation attribute or not.

The problem is that when I import such an XSD, Enterprise Services Builder stops responding and I eventually have to kill the process. When I start it up again, I see it has imported the main XSD but the references are missing.

The XSDs are all located on our network and publicly accessible (no authentication required). Is there some setup that needs to be done in order for PI to pick up the externally referenced XSDs? (And if so, why can I not specify a URL from which to import? Why must it be from a file?)

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Aug 28, 2013 at 11:49 AM

    Hello Martin,

    As far as I remember you have to set dependencies to other XSD files manually and also import those. Please refer to the following blog: http://scn.sap.com/people/james.guanzon/blog/2006/02/22/how-to-support-industry-standards-in-xi-part-i-of-iii--interfaces

    I hope this is helpful to you.

    Best regards,

    Peter

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 28, 2013 at 12:51 PM
    Add comment
    10|10000 characters needed characters exceeded

    • Hello Mark,

      Thank you for that link - looks like there is a better method in the more recent PI version. This should work perfectly for Martin Ceronio.

      Best regards,

      Peter

  • avatar image
    Former Member
    Aug 28, 2013 at 01:03 PM

    Make sure that you tick the option 'Import All References' during import of XSD, After successful import of XSD, it will display those XSD files which has reference to other XSD files.

    Regards,

    Sunil

    Add comment
    10|10000 characters needed characters exceeded