cancel
Showing results for 
Search instead for 
Did you mean: 

mapping with attachments, DataType creation

Former Member
0 Kudos

Hi all,

Have to solve two problems:

1. How to map attachment? - I'm getting message with an attachment on XI, then I need to extract it and convert to base64 string(guess it will be done with java mapping, but I don't know how at all).

2. I'm trying to create my own DataType. Among others, it will contain an element, witch I have to import from xsd schema. The xsd definition contains global references to other namespaces, e.g. http://ns.hr-xml.org/2007-04-15:StructuredXMLResume and others.

Please assist!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Dmitriy,

Ad 1.

Please use adapter module to switch attachment to main message and later map it using java mapping.

http://help.sap.com/saphelp_nw04/helpdata/en/2e/bf37423cf7ab04e10000000a1550b0/frameset.htm

Ad 2.

You need to download all definitions and link them in integration repository.

Best regards,

Wojciech

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks all for the help.

Dmitriy

justin_santhanam
Active Contributor
0 Kudos

Dmitriy,

For 1- follow the blog

/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step

For 2- Import all the global references into External Definitions and use them.

raj.

Former Member
0 Kudos

Ok, I have to import the definitions. But how is it done???

justin_santhanam
Active Contributor
0 Kudos

Dmitriy,

>The xsd definition contains global references to other namespaces

Don't you have the xsd definitions with you, which it's globally referenced?

raj.