EOIO with sender Rnif Adapter
Scenario:
pip xml-> XI Rnif sender adapter->mapped to IDoc-> IDoc receiver adapter->R/3 4.6C
We want to change default EO processing to EOIO. How can this be done in Rnif Adapter? That is the first question.
Same scenario for testing is using file adapter as sender instead of RNIF adapter, after setting EOIO and entering queue name in the file adapter communication channel, messages in sxmb_moni are using XBQO_<specified name> queue (outbound queue) and showing as EOIO in Reliable Messaging. When I click on the queue it takes me to QRFC monitor for outbound queues...Is it AF outbound queue then?
What is inbound and what is outbound queue and in relation to what, Adapter Framework or Integration Engine or
?
Same scenario with sender RNIF Adapter in the moni shows queue XBTO (outbound), but when I click on it it takes me to QRFC Monitor for inbound queues???
Anybody there can put some light into the maze XI queues? Thanks a lot!
Hi Margaret Wisniewski ,
For XI Rnif sender adapter
Please see these..
Delivery and Service Header Fields in RNIF Receiver Adapter for Rosettanet.
Accessing Message Header fields from envelope
Pls refer this link about Queues
XI Asynchronous Message Processing: Understanding XI Queues -Part I
Regards,
Ramesh.
Similar Messages
-
Problem polling Inbox with Sender Mail adapter
Hi,
I have a funny problem with Sender Mail adapter (IMAP Protocol)
It was working fine previously.
Now, when I poll the Inbox, 2 things happen. After re-activation:
1. If there is a new mail in the Inbox, the Communication channel marks the mail as read, but still keeps reading the same mail into XI.
2. If there are no new mails in the Inbox, it reads the already read mails in the Inbox one by one. So all old mails start entering XI.
This problem exists only with the Inbox. It works fine with other folders for the same mail ID.
Any inputs as to why this is happening?
Regards,
Puloma.Hi,
We re-started the server and problem was solved. But we don't know why the Adapter Engine was behaving erratically.
Regards,
Puloma. -
Is there any way to send Attachements with Sender file adapter
Hi,
I am Using File to Proxy communication model. Is there any way I can use file attachments with Sender file adapter with communication protocol "FTP". Please on suggest this.
Regards,
Daniel.LAHi,
I think there is no Option with FTP Protocol to send the files as Attachments.
Try this
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
Regards
Seshagiri -
Problems with sender mail adapter
Hi XI Gurus
We have gone through a lot of blogs and searched a lot on the XI forum on how to configure the sender mail adapter with attachments but we still can't get it working at our site. Here are the issues -
1. When we define our data type in the IR as let's say out_email_dt with namespace "http://www.xyz.com" the mapping fails. In the monitor(SXMB_MONI) the message from the sender mail adapter comes in like this -
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
<xim:Mail xmlns:xim="http://sap.com/xi/XI/Mail/30" encoding="quoted-printable">
<Subject>test 10</Subject>
<From>"Test User" <[email protected]></From>
<To>"XI Test Account" <[email protected]></To>
<Content_Type>text/plain;charset="us-ascii"</Content_Type>
<Date>2007-05-08T05:34:38Z</Date>
<Message_ID><[email protected]></Message_ID>
<Content>This is the voice of the Mysterons=0A</Content>
</xim:Mail>
Question 1 - do we have to define our data type as "Mail" under the namespace "http://sap.com/xi/XI/Mail/30".
Question 2 - If you look at the content of the <From>,<To>,<Message_ID> tags you will see that there is content with <> tags which is causing the message mapping to fail. Is there a way of telling XI that they are not xml tags but part of some other tags?
2. Also the PayloadSwapBean doesn't seem to swap the payload to be the attachment.
3. Can we use masks in the PayloadSwapBean for attachment names like "." as we don't know what the file name is going to be as we have multiple partners who will be sending emails to the same address and with different file formats.
Thanks in advance.
SalilHi,
>>>>Question 1 - do we have to define our data type as "Mail" under the namespace "http://sap.com/xi/XI/Mail/30".
do exactly as shown in my blog:
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
>>>>2. Also the PayloadSwapBean doesn't seem to swap the payload to be the attachment.
do similarly as shown in my blog:
/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
the everything will work
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Issue with Sender Mail Adapter Configuration
Hi All,
We are PI 7.1.1 version. We are unable to see the following parameters in the sender Mail adapter:-
Default XI Parameters : Default Interface Namespace and Default Interface Name.
Also, we are geeting a Nullpoinetr exeception in RWB.
Kindly provide your suggestions.
Thanks & Regards,
Navneeth K.Hi.
I have faced the sane problem. My solution is to use DynamicConfigurationBean module:
AF_Modules/DynamicConfigurationBean Local Enterprise Bean
with
parameters:
message.interface=<Your Interface Name>
and
message.interfaceNamespac=<Your Interface Namespace>
Note that last parameter name is not interfaceNamespace but interfaceNamespac .
It would be great if anyone will explane were Default XI parameters gone and how we can get them back. -
Process attachments with sender email adapter
Hi @ all,
I have some problems dealing with xml attachments on emails. I configured the email sender adapter by using Michals Blog
<a href="/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step:///people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
Unfortunately the mail header looks different as the one in the blog:
<b>Content-ID: <[email protected]>
Content-Type: application/octet-stream;name="[email protected]"
Content-Disposition: attachment;filename="MailAttachment-1.bin"
Content-Description: MailAttachment-1</b>
What can I do to make it look like in the blog?
thanks and Regards.
Oliver.Hi,
Try With the Following Blogs
/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
http://help.sap.com/saphelp_nw04/helpdata/en/3c/b4a6490a08cd41a8c91759c3d2f401/content.htm
Reward Points if Helpful
Regards
Khanna -
System error when send file with Sender File Adapter
Hi all,
I have configured a "File To ABAP Proxy" scenario. After configuring, i executed a "Test Configuration" in Integration Directory and it's all OK. But this file unable to reach into ABAP Proxy Target. In the Runtime WorkBench\Message Monitoring, I get an error message in below:
Engine: Adapter Engine
Status: *System Error *
Start: 15.08.2008 14:04:01
End: 15.08.2008 14:19:01
Sender Service: BS_XI_SERVER
Interface Servic: urn://FILE_TO_PROXY
MI_EMPLOYEE_OB
In this case, I don't know why my Sender File Adapter is error and why status is "System Error" and why it can't reach into Target System. Can it concern a role user?
( For more clearly: I configured the source file and the path correctly. And i used the xml file with the content and the document name correctly. In general, the Sender Adapter File don't convert the sender file and its content is same as the Payload in the "Test Configuration", i think it is all OK.)
Could anyone please help me to resolve this problem, anyone can explain this error, how can i resolve this error?
Thanks a lot in advance,
Vinh VoHi Chirag,
1.I source structure is very simple as below:
<ns0:MT_MATERIAL xmlns:ns0="urn://FILE_TO_PROXY">
<MATERIAL>
<WERKS>1000</WERKS>
<MATNR>MAT00001</MATNR>
<MAKTX>Chemical Material</MAKTX>
</MATERIAL>
</ns0:MT_MATERIAL>
2. the Communication Channel Monitoring in Runtim WorkBench\Adapter Engine is OK for my Sender File Communication Channel, it's in Blue Light.
However, i don't know what's FCC?
Thanks and best regards,
Vinh Vo -
Issue with Sender AXIS Adapter while XML Signing
Hi all,
We are working on a scenario, an external application pushes message to Sender AXIS Adapter in PI. However while testing XML signing we are getting below error:
<faultcode>soapenv:Server.generalException</faultcode>
<faultstring>WSDoAllReceiver: security processing failed; nested exception is:
org.apache.ws.security.WSSecurityException: The signature or decryption was invalid</faultstring>
<detail>
Could you please provide your valuable inputs on this?
Thanks,
JayaHi Jaya,
Have you checked if your message is valid? Have you tested it against another server?
Which version of wss4j are you using and which PI version?
How does your module/handler configuration looks?
If the message is valid and the handler is configured correctly, you can set the trace level of org.apache to debug and see what it says.
Best regards, Yza -
Issue with Sender File Adapter
Hi,
In Sender File Adapter I have used content convertion. If the content convetion fails or the channel goes to error state, the sender file channel stops polling. The channel is not polling in the next interval once it goes to error state.
Please help.
Thanks
AravindHi,
That's true.
If one file fails to process due error in content coversion or for any other reason, the channel would stop polling for the next time and also would not process the files following it.
Please correct the content conversion and process the file.
Regards,
Subbu -
Problem with Sender Mail Adapter
Hi experts,
I'm developing a Mail-XI-RFC scenario and have a problem in the mapping. I have created a MI based in the structure of the attachment of the mail. I have a mapping that does xml->RFC and tests OK. When I send a mail to the account of the sender adapter, the system generates two payloads, the 'MailMessage' and the 'MailAttachment-1' that is the xml to map, but I have an error in SXM_MONI 'Cannot produce target element /ns0:...RFC name'.
The Sender Adapter configuration uses message protocol XIPAYLOAD, I have checked Mail Package, base 64 and keep Attachments. Interface namespace is the same as the xml and default interface name is the message interface created of type my xml.
What is wrong?
Best Regards,
Alfredo Lagunar.In this case you need to use payloadswap bean for swapping the payload and attachment
http://help.sap.com/saphelp_nw04/helpdata/en/70/f3cbad30ee479cb15672219f3405f0/frameset.htm
/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step check this
Rajesh
Edited by: Rajesh on Feb 4, 2009 2:52 PM -
How to read files with codepage UTF16LE with "Sender File Adapter"
Hi everybody,
I am using a XI-Filesender-Adapter to get a (UTF-16LE encoded) file und process it in XI-Mapping.
This is my File-Content:
Cost Centre,Cost Code,Page Count (B&W),Page Count (Colour),Job Count
Unknown,Lexmark,"37,480",334,"11,968"
Unknown,Unknown,312,0,177
110000,Lexmark,128,228,43
The HEX-representation of this content is:
FF FE 43 00 6F 00 73 00 74 00 20 00 43 00 65 00
(The starting 2 Bytes FF FE represent UTF16-LE )
And this is the payload I get for mapping:
<?xml version="1.0" encoding="utf-8" ?>
<ns:MT_POM_KOSTEN xmlns:ns="http://aua.com/pom">
<POM_REC>
<COSTCENTER>uFEFFCost Centre</COSTCENTER>
<COSTCODE>Cost Code</COSTCODE>
<PAGECOUNT_BW>Page Count (B&W)</PAGECOUNT_BW>
<PAGECOUNT_COL>Page Count (Colour)</PAGECOUNT_COL>
<JOBCOUNT>Job Count</JOBCOUNT>
</POM_REC>
<POM_REC>
<COSTCENTER>Unknown</COSTCENTER>
<COSTCODE>Lexmark</COSTCODE>
<PAGECOUNT_BW>37,480</PAGECOUNT_BW>
<PAGECOUNT_COL>334</PAGECOUNT_COL>
<JOBCOUNT>11,968</JOBCOUNT>
</POM_REC>
<POM_REC>
<COSTCENTER>Unknown</COSTCENTER>
<COSTCODE>Unknown</COSTCODE>
<PAGECOUNT_BW>312</PAGECOUNT_BW>
<PAGECOUNT_COL>0</PAGECOUNT_COL>
<JOBCOUNT>177</JOBCOUNT>
</POM_REC>
<POM_REC>
<COSTCENTER>110000</COSTCENTER>
<COSTCODE>Lexmark</COSTCODE>
<PAGECOUNT_BW>128</PAGECOUNT_BW>
<PAGECOUNT_COL>228</PAGECOUNT_COL>
<JOBCOUNT>43</JOBCOUNT>
<POM_REC>
I can see the correct strings (for example Cost Centre) in payload, but the string-comparison in the user defines function cannot recognize the equality of the strings:
for (int i =0; i < a.length; i++) {
if (
(a<i>.equals("Cost Centre")) )
result.addSuppress();
else
result.addValue("");
Actually I am using UTF-8 as codepage in Fileadapter (and Text as type)
When I try to use UTF16 (or UTF-16LE) as Codepage, I am getting unreadable characters.
I also tried binary, UTF16-BE,...
The only way is to covert the file to ANSI before I use it with XI. Then my function does work correctly.
Does anybody have an idea, how I can read a UTF16-LE File and process it correctly in XI?
I am using XI 7.00 0023 and JSDK 1.4.2-34
Thanks a lot
ArminHello Armin,
I have gone through some SAP notes and blogs to find solution to your problem, here is what I found
1. SAP NOTE 821267
q) How do I correctly configure the File Encoding used by the File
Adapter?
Flat Files with File Content Conversion
For a File Sender channel, configure the encoding of the source
file. The file will be interpreted according to the configured
encoding and converted to XML with an UTF-8 encoding.
For a File Receiver channel, configure the encoding to match
the encoding you would like to be written to the target flat
file.
- Flat Files without File Content Conversion
Whether to configure an encoding in this case depends on if you
want to pass through the file "as is", e.g. within a File
Sender to File Receiver scenario, or if you want to convert the
file's encoding on its way through the Integration Server. For
"as is" processing, configure both the sender and the receiver
using the File Type setting "Binary".
To apply an encoding conversion, configure the respective
source and target encoding in both the sender and receiver
channel.
Important: Configuring an encoding in the receiver channel
will only lead to the expected results if the payload sent to
the receiver channel is in UTF-8 format (e.g., by having
specified an encoding conversion in the Sender channel).
So as per this note if you configure the encoding scheme of sender communication channel to UTF-16LE, adapter should be able to convert it to UTF-8 by default. But you have posted that this encoding scheme is leading to unreadable charcters
2) SAP note 880173
This speaks of use of module XMLAnonymizerBean which can be applied to XML payload to change its encoding.
3) How to guide on encoding : http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42?QuickLink=index&overridelayout=true
4) SAP note:960663
http://help.sap.com/saphelp_nw04/helpdata/en/45/da2deb47812e98e10000000a155369/content.htm
TextCodePageConversion Bean details which might solve your problem.
5) Finally if nothing above works you need a java mapping code to convert to target XML structure without any File content conversion. The mapping will convert the received file to proper target XML in "UTF-8" encoding. Please let us know if you need help on the code with this final option.
Regards
Anupam -
PI picks up the records from a flat file of 500 records and 100 records.
I have selected EOIO as QoS. Gave the queue name.
The issue is that the 5 messages with 100 records each, seem to be not in a sequential order.
Can anyone please help me with this? Did anyone face this issue?
We are on PI 7.0 SP 14.
regHi,
>>>The issue is that the 5 messages with 100 records each, seem to be not in a sequential order.
check if you have specified : Processing Sequence - by date
in sender channel
Regards,
Michal Krawczyk -
Receive zipfile with sender file adapter
Hello,
I need to receive one zipped file (binary data) with the file sender adapter. This zipped file contains an xml file that I need to process.
What is the best way to do this?
I have looked into writing an adapter module to unzip or base64 encode the file before sending it further into xi from the module chain.
However, it looks like only xmlpayload is available to the adapter modules (and attachments, but in this case there are none). In the module I have the following relevant code (lots of try catch surrrounding)
Object obj = null;
Message msg = null;
obj = inputModuleData.getPrincipalData();
msg = (Message) obj;
XMLPayload xmlpayload = msg.getDocument();
I end up with an xml payload, that is the zip file in my case.
Is it safe to do something like this
InputStream is = xmlpayload.getInputStream();
// zip data into string
String str = is.toString();
// base64 encode
str = MimeUtility.encodeText(str,"base64");
xmlpayload.setContent(str.getBytes());
// send the base64 encoded data to XI
// that is now at least utf-8 text
return inputModuleData;
What do you recommend?
Best regards
/OttoOtto,
Go through this links which may help you:
Multi Attachments with ZIP or Mail Adapter (Outbound)
Re: How to read ZIP files(having PDFs,Image) using IDoc without XI
---Satish -
Certificate based authentication with sender SOAP adapter. Please help!
Hi Experts,
I have a scenario where first a .Net application makes a webservice call to XI via SOAP Adapter. Then the input from the .Net application is sent to the R/3 system via RFC adapter.
.Net --->SOAP -
>XI -
>RFC -
R/3 System
Now as per client requirement I have to implement certificate based authentication in the sender side for the webservice call. In this case the .Net application is the "client" and XI is the "server". In other words the client has to be authenticated by XI server. In order to accomplish this I have setup the security level in the SOAP sender channel as "HTTPS with client authentication". Additionally I have assigned a .Net userid in the sender agreement under "Assigned users" tab.
I have also installed the SSL certificate in the client side. Then generated the public key and loaded it into the XI server's keystore.
When I test the webservice via SOAPUI tool I am always getting the "401 Unauthorized" error. However if I give the userid/password for XI login in the properties option in the SOAPUI tool then it works fine. But my understanding is that in certificate based authentication, the authentication should happen based on the certificate and hence there is no need for the user to enter userid/password. Is my understanding correct? How to exactly test certificate based authentication?
Am I missing any steps for certificate based authentication?
Please help
Thanks
Gopal
Edited by: gopalkrishna baliga on Feb 5, 2008 10:51 AMHi!
Although soapUI is a very goot SOAP testing tool, you can't test certificate based authentication with it. There is no way (since I know) how to import certificat into soapUI.
So, try to find other tool, which can use certificates or tey it directly with the sender system.
Peter -
Problem with sender RFC adapter
Hi All
I have created one RFC adapter for which i have created wrong business system and all then i have deleted that and i have created on more RFC adapter but when i am testing my scenario its taking the old one which i have deleted from the Integration directory. I have refreshed the cache using sxi_cache and also in RWB. But still i m getting the same error...
Could you please tell me how to resolve this errorHi
Yes i have configured RFC as sender communication channel. I have deleted the old one including the business system. but still in adapter monitoring i m getting the error "com.sap.aii.af.rfc.afcommunication.RfcAFWException: alternativeServiceIdentifier: party/service from channel configuration are not equal to party/service from lookup of alternativeServiceIdentifier (CPA party/service/channel ''/<b>'Whirlpool_BS1'/</b><b>'RFC_Source_CC'</b>, lookup of alternativeServiceIdentifier for party '', schema 'TechnicalSystem' with 'QN9#800' returned party/service of ''/'QN9')"
but i have deleted the whirlpool_bs1 business system.
Why still i m getting this error.
Thanks & Regards
SUN
Maybe you are looking for
-
I keep getting this mesage : Because a USB device was drawing too much power from your computer, one or more of your USB devices have been disabled. I need to charge my phone but it's not letting me!! Please help!
-
Hi All, I am getting the below error logs in my one of my router 1760, i found in some blogs that if no cable connected in WIC then the router is reporting the following fault on the console line and it happens every 1 minute like the device is being
-
SLOC not transferred to lines items from Default Settings (SRM 3.0)
When creating a shopping cart via bbpsc01, an SLOC is selected via F4 help (reads from R/3 backend). The SLOC is not populated down to the line items in the Shopping Cart. This functioned prior to application of BBPCRM support stack 8. Response from
-
Type tool not working Photosop CC.
I am trying to create a watermark using the type tool in Photoshop CC. When I click on my layer using the type tool it just places a teeny tiny black box with NO cursor. Thus, I can't type anything. I have tried resetting the tool and that changed no
-
10.5 - Finder crashes when previewing jpgs created in photoshop
Finder crashes when previewing jpgs created in photoshop. It seems to be associated with the preview. The finder crashes whether it is in cover flow or column view. The only workaround I could find: Switch finder to list view. Open the jpg (again) in