Skip to Content
avatar image
Former Member

XSD with multiple import/includes

Hi Experts,

As per my interface I will receive XML file from source system wherein I have got one XSD respective to that XML file to import in PI. My XSD has 1 import and so many includes. And also one include has many imports/includes in it.

I have imported those includes and given references but the XSD is not forming message in PI. 😔

I tried to generate XSD from the incoming XML file and given references but in PI it is showing like multiple messages instead of only one message. In the mapping its asking to select any one message only from the external definition. Don't know how to resolve this.

Please suggest ...

Regards,

Rams.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Apr 10, 2010 at 06:44 PM

    Hi Ramesh,

    can you try making a single XSD and inside that instead of referencing ,try pasting the content of reference XSD using any XML editing tool.

    please see How to handle External Def (XSD) with more than 20 xsd references it has couple of good pointers.

    Regards,

    srinivas

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 10, 2010 at 06:45 PM

    If it is SAP PI7.1, then there is a new option of Mass Import for external definitions....for more info refer this blog:

    /people/pooja.pandey/blog/2009/12/04/mass-import-for-external-definitions-in-one-shot-with-pi-71

    If possible can you upload the screeshot of the step where you try to add message in mapping program...was confused about what you see in the add message type step.

    Regards,

    Abhishek.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 12, 2010 at 11:59 AM

    Complex XSD's with multiple includes can be a nightmare in PI. Often I had to copy everything into one large XSD file (as suggested by the one reply). Then there is more hope that PI will recognize it 😉

    CSY

    Add comment
    10|10000 characters needed characters exceeded