on 04-28-2009 2:43 PM
Hello gurus,
I have a ECC - PI - External WS scenario realized by XI - SOAP adapters. The external WS is requiring to put a schema reference to the XML message in SOAP payload (main application message). Is this doable with PI?
Thank you.
Regards
Gokhan
Hi,
of course - just add it either to your message type structure or during your mapping.
Kai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think semicolons are not allowed. A XML with schema reference could look like this:
<?xml version="1.0"?>
<note xmlns="http://www.w3schools.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3schools.com note.xsd">
<to>Me</to>
<from>You</from>
<heading>Reminder</heading>
<body>Don't forget!</body>
</note>
Yes, I know the standard, and thats what I am saying.
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3schools.com note.xsd`
How will you add these two to the XML body as attributes when the semicolons are not allowed?
This is the question I am asking in this post.
Thanks
Gokhan
OK, to give an example using your XML:
So, to be able to have the first structure with xsd reference, we need to add to attributes to the root "note" element, first one is "xmlns:xsi" with fixed value of ="http://www.w3.org/2001/XMLSchema-instance" and the second one is xsi:schemaLocation with fixed value of "http://www.w3schools.com note.xsd". So the message type in ESR should look like:
note ComplexType
xmlns:xsi Attribute
xsi:schemaLocation Attribute
....
But as I said, you cannot use "xmlns:xsi" as an attribute name because of the semicolons.
I hope it is clear now.
Thanks
Gökhan
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.