on 02-14-2008 12:42 PM
I have a file(XML) to proxy scenario. I 've created an asynch Inbound message and a asynch Outbound message.
I have generated the class in Sproxy of my R/3 System.
In the Integration directory I have 2 business system :
-one which sent the file
-my r/3 system
System which send file generate XML like this:
<?xml version="1.0" encoding="UTF-8" ?>
<batch id="20080211001" customer="some customer" user="user" language="EN">
<structure>
<localization>
<string id="customer" text="Customer" />
etc........
As you see, it have not any namespace prefix.
How can I insert namespace prefix in this file with XI tools?
You can add the namespace with mapping.
Upload an xml sample or an xsd for sender message type, the proxy structure for receiver message type.
The namespace is created autoatically.
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Stefan, now everything is working fine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pavel
I am also facing the same issue
my XML structure is quite complex
<ROW EVENT="RE" SEQ="9" MORE="Y" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<FileDate Internal="61409" ROWID="Y">02/17/2009</FileDate>
<FileSeq ROWID="Y">9</FileSeq>
<Event>RE</Event>
<Grp>3</Grp>
<LinkFileTime>42324</LinkFileTime>
<Mrn></Mrn>
<ROW DESCR="RE" TABLE="PAT" EVENT="RE">
<BusTel/>
<BusTelHipaaConsent/>
<Cont1Addr1/>
<ROW DESCR="RE" TABLE="INS" EVENT="RE">
<DictRef1/>
<DictRef10/>
Do i have to create the Message Interface for Outbound Synchronous ..
<DictRef11/>
>
>
> As you see, it have not any namespace prefix.
> How can I insert namespace prefix in this file with XI tools?
The main question here is "why do you even need the prefixes?".
If the file structure doesn't have any, then remove the XML namespace from your message type. The prefixes won't be necessary.
Regards,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could achieve this using XSLT transformation mapping (quite easy) or by developing a custom adapter module. I don't think there is a "standard" way, how to do it in XI.
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.