Skip to Content
0
Aug 03, 2005 at 11:38 AM

XI 3.0 SP10, ns question/message mapping question

24 Views

Hi,

Iam a newbie to XI and have, properbly, some basic questions.

Iam setting up a scenario where we will send despatch advice to our partner.

For mapping this I have uploaded an external definition (xsd)file to generate the structure. So far so good!

I have then done the message mapping using the graphical mapping tool and overall it seems fine, but however in the generated file I get some information which I would not like to have.

The source structure is an IDoc DESADV.DELVRY01 and receiver is the external definition, which in brief looks something like this, of course with more levels.

-> Envelope

--> Header

---> delivery

---> properties

---> manifest

--> Body

---> DESADV

-


> UNA

-


> UNB

-


> UNG

-


> UNH

-


> BGM

-


> DTM

-


> g001

-


> g002

-


> g002

-


> g010

-


> UNT

-


> UNZ

And here is an example from the generated file

...

<ns5:g002>

<ns5:NAD>

<ns5:e01_3035>SH</ns5:e01_3035>

<ns5:cmp01>

<ns5:e01_3039>1000</ns5:e01_3039>

</ns5:cmp01>

</ns5:NAD>

</ns5:g002>

http://www.test.com/MBM">

http://www.test.com/MBM">

BYhttp:// BY" target="_blank">www.test.com/MBM">BY>

http://www.test.com/MBM">

2100http:// 2100" target="_blank">www.test.com/MBM">2100>

</ns5:cmp01>

</ns5:NAD>

</ns5:g002>

...

Now (finally) to the first question, for the first g002 segment it looks ok. , but in the second I also get the http://www.test.com/MBM"> information. Why is this, has it something todo with how I have uploaded the external definition?

Second question, the prefix to each field "ns5:" is this

necessary or can it be suppressed in any way?

Thanks a lot in advance for your kind help.

Regards,

Fredrik