Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

Using multiple XSDs in Message Mapping

$
0
0

Hello,

 

We have a Japanese customer that uses a business standard XML file for their invoices. I've received a number of XSD files that are linked using include statements within the XSDs. 

 

In SAP PI 7.1 I am trying to import the schema xsds as a set of external definitions to then use in a message map to produce an XML document like the example attached (AEONInvoiceSample.xml). I am able to import the XSDs using the “import external definitions” function but a lot of the attributes are missing from the message definitions, and I cannot use them within a message map to produce 1 output - when I come to use them in a message map I can only use external definitions with elements defined so I end up with three different outputs rather than one (I was hoping to be able to use the SGE_InvoiceProxy1.xsd to link them all together (renamed to XML so I could attach to this discussion) but I can’t use this for the output message in the mapping – I guess that’s because there aren’t any elements defined in it). Should I be using an Integration Process to then combine the three messages together or is there a way I can do this without having to use one? I am also finding that by having the 3 different outputs I now don’t have the xmlns information at the top of the XML output.

 

I can try and create my own version of the xsd but because this is a business standard XML I would rather use the XSDs provided

 

Any help greatly appreciated!

 

Many thanks,

 

Ollie


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>