cancel
Showing results for 
Search instead for 
Did you mean: 

XSD with multiple import/includes

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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

former_member200962
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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 it has couple of good pointers.

Regards,

srinivas