on 01-19-2009 5:42 PM
Hello all,
My scenario is : MAIL -> PI (bpm) -> SQL
When we look at the mail before XI, we can see data between xml tags:
<title>1</title>
<address>ERTT</address>
So i built a Data type like this thinking it will be easy in that case :
Document line 1..1
title 1..1
adress 1..1
Then i've configured my sender mail adapter like that :
tranport protocol : pop3
message protocol : XIPAYLOAD
And i've filled up the XI Defaut Parameter with the good namespace and the name of my outbound asynchronous interface.
It works fine but when i look in the message system i should see something like this :
"<?xml version="1.0" encoding="UTF-8"?>
<ns0: xmlns:ns0="http://frik.com">
<document Line>
<title>1</title>
<address>ERETT</address>
</document Line>
</ns0:inside>"
And it's not the case because i see only :
<title>1</title>
<address>ERETT</address>
did i miss something in the configuration ?
Thanks,
JP
Edited by: Jean-Philippe PAIN on Jan 19, 2009 6:42 PM
Edited by: Jean-Philippe PAIN on Jan 19, 2009 6:43 PM
Edited by: Jean-Philippe PAIN on Jan 19, 2009 6:43 PM
Edited by: Jean-Philippe PAIN on Jan 19, 2009 6:43 PM
Edited by: Jean-Philippe PAIN on Jan 19, 2009 6:46 PM
Hi,
you can try setting this parameter in Advanced Mode for sender mail adapter:
IMail.AssumeXMLContent = true
have a look at :
http://help.sap.com/saphelp_NW04/helpdata/en/23/c093409c663228e10000000a1550b0/content.htm
and let me know if it helped
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am still working on my java but i have an other question.
My sender mail adapter doesn't take anymore mails. It says that it have no new mail but i've made new one and it doesn't take it !
Is this sender mail adapte have particularity like taking mail by package of 100 or one by one i don't know. i don' understant why it doesn't see any mails now...
thanks by advance...
Hi all,
Thanks for your answers.
So, after reading your post, i'v checked the "Use Mail Package" with encoding "none" and i am now using an XSD.
When i use IMail.AssumeXMLContent = true in the Advanced Mode, it brings me only one field in my content:
e.g.
<content>
<language>en</language>
</content>
It's weird that it brings me back only one field...it takes the first one only, don't know why ???!!!
The other solution is without the advanced mode and this time, i have all my field in my content but the symbol "<" or" >" is interpreted by < and > (text/hexa)
I'm going to try to apply xsl or java on it...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
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.