on 06-15-2006 12:00 PM
Hello,
The scenario is as follows
[SAP] --> Idoc --> [XI] --> XML --> [Mail]
The XML structure is imported as an external definition.
In the created XML message the following lines are missing:
mlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.ean.nl Order.xsd".
Does someone have any idea how I can add these lines ?
Thanks.
Regards,
Marco van Iersel
Hey,
i think u can try creating a XSD for the xml structure using any of the xml editors and then import the xsd as external defnition.
if u try to import the xml directly then the error may occur,it will be created without those 2 lines.
regards
jithesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marco,
I think u can use standard functions in message mapping...
May be SplitByValue() or check other..
Check this http://help.sap.com/saphelp_nw04/helpdata/en/21/3bb8c495125e4eb5969f0377885fe0/content.htm
Regards,
Sridhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sridhar,
Thanks for the quick reaction, only I don't think this is the solution.
I'll give some more info.
Now the beginning of the message looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<Order>
<OrderHeader>
<OrderVersion>1.1</OrderVersion>
...
And it should be like this:
<?xml version="1.0" encoding="UTF-8"?>
<Order xmlns="http://www.ean.nl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ean.nl Order.xsd">
<OrderHeader>
<OrderVersion>1.1</OrderVersion>
...
How can I do this?
Kind regards,
Marco
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.