MDN s in AS2 adapter
Hi team,
can anybody explain difference between asynchronous and synchronous MDN with respect to AS2 adapter?
Regards
Sachin
I think there should be some [parameter by name MDN Mode , to specify synchronous or asynchronous in the AS2 adapter.
see if the following article provide you some direction.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d095b2df-9fa3-2d10-568b-d12d99828c33?QuickLink=index&overridelayout=true&48842368497180
Best Regards,
Ravikanth Talagana
Similar Messages
-
MDN Issue in AS2 adapter.. Seeburger experts., Need help
Hi All,
Iam doing a scenario EDI-->Idoc for purchase order(ORDERS) by using AS2 adapter.
We are expected to send the technical acknowledgment once we receive the Orders from sender.
I think When we use the MDN (Message disposition notification), i will be getting the system generated acknowledge like below.
<b> <TransmissionReport>
<from>SAP</from>
<to>BIS</to>
<transmissionMsgID>43cc21a0-f752-11d8-c8ca-00c09f19e074</transmissionMsgID>
<sentAt>2004-08-26T132252+0200</sentAt>
<info/><adapterName>AS2</adapterName>
</TransmissionReport></b>
But my requirement is to send the ackowledgement with few more details like <b>POnumber</b> along with the standard details like below.
<TransmissionReport>
<from>SAP</from>
<to>BIS</to>
<transmissionMsgID>43cc21a0-f752-11d8-c8ca-00c09f19e074</transmissionMsgID>
<b><POnumber>6529833</POnumber></b>
<sentAt>2004-08-26T132252+0200</sentAt>
<info/><adapterName>AS2</adapterName>
</TransmissionReport>
1. Is there any option where i can modify the MDN acknowledgement file by adding few more fields??
2. If not please suggest me how i can proceed with this.
<b>Note:</b> We should not use by creating one more msgtype in SAP and send back the acknowledgement like Orders response(ORDRSP). They just want the file from XI itself.(But not from SAP Side).
Regards
Seema.
Edited by: Mike Pokraka on Jul 24, 2008 1:43 PMHi Reddy,
If ur problem is solved can u plz help me?
I have one question related to the MDN .
My scenario is like AS2 adapter is on the receiver side means its converting XML to EDI format. When the payload along with MDN is sent from the XI side EDI partner , the EDI partner sends back the MDN acknowledgment back to XI.
The problem is that XI is not able to accept the MDN acknowledgment.
Could you please suggest what all steps need to be configured to receive that MDN acknowledgment on XI side.
e.g 1)AS2 Communication channel with message protocol REPORTS
2)Sender agreement for accepting the acknowledgment
3) What type of message interface is to be used which is required in the configuration step for sender agreements(MDN specific format??)
4) Any other configuaration required ??
Please reply as soon as possible.
With regards,
Simran -
Seeburger AS2 Adapter: "MDN not signed"
Dear all,
we just updated our test system from XI 3.0 to PI 7.1. Now we are facing a problem with our Seeburger AS2 Adapter.
I sent out a message via AS2 and get the follwing error message in Seeburger AS2 Monitor:
"MDN not signed"
In the Receiver Communication Channel I checked the Option "Sign MDN". In XI 3.0 this Scenario was working perfectly. So I contacted our communication partner and asked them if our AS2 message really contained a request for a signed MDN. Our commnucation partner confirmed and sent the MDN as text file to me. This text file shows that the MDN is signed. So it seems that the Seeburger AS2 adapter does not notice that the received MDN is a signed one. But why? Do you have an idea?
Just for testing purposes I unchecked the "Signe MDN" option. In this case the transmission finished successfully.
Who can help?
Thanks
MichaelDear Vikrant,
many thanks for your reply. But I am not sure if we are really facing the same issue as you described it in your article.
Currently we have this situation:
When I send out a message the Seeburge Workbench provides only the following error message:
"MDN not signed"
Via the Recovery Monitor I can check the received MDN. Here I can see that the MDN is signed and positive.
In the Runtime Workbench I checked the following:
1. In the Message Monitor (Adapter engine) the message is in status "System Error". Here are the details:
Message could not be forwarded to the JCA adapter. Reason: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: Negative synchron MDN received., SEEBURGER AS2: Negative synchron MDN received.
Adapter Framework caught exception: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: Negative synchron MDN received., SEEBURGER AS2: Negative synchron MDN received.
Delivering the message to the application using connection AS2_http://seeburger.com/xi failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: Negative synchron MDN received., SEEBURGER AS2: Negative synchron MDN received..
2. The Communication Channel Monitor shows the following error messages:
Error type: REPORT_ERROR >> Error date: 12/14/10 12:02 PM >> Description: MDN not signed [12/14/10 12:02 PM]
Message processing failed. Cause: javax.resource.ResourceException: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: Negative synchron MDN received., SEEBURGER AS2: Negative synchron MDN received.
I do not understand why the MDN is recognized as negative and unsigned even if the plain text version of the MDN shows that it is signed and positive.
In your article you recommend to create a sender communication channel for MDN and a corresponding sender agreement. We already did that in XI 3.0 to forward the MDN as STATUS IDOC to SAP ECC.
Maybe you have an additional idea?
Thanks
Michaek -
AS2 Adapter.. How i can receive the MDN messages?
Hi All,
Doing IDOC to EDI scenario.
Iam using AS2 adapter to send the messages to partner system and i need to receive the MDN from partner system.
1. what are configuration settings i need to provide in AS2 receiver adapter?
2. I need to put option as Refer MDN to XI system..?
3. Is it necessary to create one more Sender channel and sender agreement to recevie the MDN?
4. Why we have the option as Asynchronous MDN settings in AS2 sender adapter ?.
Kindly let me know if anyone knows the answers.
Thanks & Regards
Seema.Thanks Anoop for the answer.
So if i want to do the scenario for Idoc to EDI.
then the steps will be..
1.
- AS2 rcv adapter -- to send the message to partner.
- all remaining steps like sx agreement,rx agreement,interface deter,Rx determination to send the actual msg.
2.
- Again one AS2 sender channel to receive the MDN from partner for the same scenario
- one sender agreement for MDN.
TO receive the MDN.. no need of rx agreement,interface determination,rx agrrement??
If we want to see the MDN.. how we can see it?
3.I have a scenario where, once i receive my MDN message and with the help of Data in MDN message , i need to update my custom table in SAP by inbound processing.Is it possible??
Please help me.
Regards
Seema. -
Receiver AS2 Adapter : Empty Message Handling
Hello Experts ,
We are trying to work on following requirement .
File -> PI -> AS2 ( File) ( We are using Pranke to drop our message to the receiver system) (MDN ack too is in place )
There are times when none of the source records are valid and we have an empty payload post mapping.
In AS2 adapter we are using StrictXML2Plain.
Scenario works fine for all target messages which have data and a file is created at the receiver end. MDN ACK works fine too.
Problem is when we have empty target payloads , We get following error in communication Channel monitoring.
Information
SEEBURGER/AttribMapper: Finished succesfully, 1 properties set or deleted
Information
MP: processing local module localejbs/ModuleProcessorExitBean
Information
Message entered AF MP exit bean and will be passed to the JCA adapter now.
Information
SEEBURGER/AS2: Received order from system.
Error
Message could not be forwarded to the JCA adapter. Reason: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: org.apache.commons.httpclient.NoHttpResponseException: The server as2gw.pranke.com failed to respond # , SEEBURGER AS2: org.apache.commons.httpclient.NoHttpResponseException: The server as2gw.pranke.com failed to respond #
Error
MP: exception caught with cause javax.resource.ResourceException: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: org.apache.commons.httpclient.NoHttpResponseException: The server as2gw.pranke.com failed to respond # , SEEBURGER AS2: org.apache.commons.httpclient.NoHttpResponseException: The server as2gw.pranke.com failed to respond #
Error
Adapter Framework caught exception: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: org.apache.commons.httpclient.NoHttpResponseException: The server as2gw.pranke.com failed to respond # , SEEBURGER AS2: org.apache.commons.httpclient.NoHttpResponseException: The server as2gw.pranke.com failed to respond #
Has anyone handled such situation ? Is there any workaround at the SAP end to handle this issue ?
Or is this to be handled at the Pranke end ?
Attaching the Seeburger AS2 monitor error as well for empty messages ,
State
Error on send, will be retried
Status Description
Could not deliver as2 message to partner: org.apache.commons.httpclient.NoHttpResponseException: The server as2gw.pranke.com failed to respond # null
Little urgent and your expertise is appreciated PI geeks
SayaleeHi,
here is the my requirment one source -> two target interfacess (0..1)
If u have 2 target interfaces,then this is not suffice..... u should make it as 0..unbounded both in operation mapping and message mapping.
But based on ur requirements posted above i guess u have only one inbound interface at a time based on some conditions....
But,
<messages>
<messages1>
based on condition first message type not created in mapping.
<messgaes2>
The error u r getting is because.... u want only one interface in target at a time....
Then u should not generate Message1 also in the target.
So avoid mapping to message1 if u want only message2.
If both message1 and message2 are created in target means... it is triggering for two interfaces.... so avoid one message1 or message2... based on some conditions u have..
Still nt solved do post...
Babu -
Hi,
Iam doing prototyping for File -AS2 adapter and ended up with below erros.
Error type: COMPONENT_ERROR >> Error date: 6/17/11 8:04 AM >> Description: AS2 Adapter failure Outbound configuration error: Failed to get configuration from DATABASE. Sender configuration incomplete - perhaps AS2ID missing.. com.seeburger.as2.AS2Plugin.execute(AS2Plugin.java:379) [6/17/11 8:04 AM]
and
Message processing failed. Cause: javax.resource.ResourceException: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Failed to get configuration from DATABASE. Sender configuration incomplete - perhaps AS2ID missing.., SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Failed to get configuration from DATABASE. Sender configuration incomplete - perhaps AS2ID missing..
The setting i have made during configation are :
1> Reciver Party with Agency,Schema and Name entered.
2>Identifiers for both Sender and reciver channel fileld with values seeburger and AS2ID.
3>Used Sender uses Virtual reciver in sender aggremnet.
4> Reciever CC have modules localejbs/Seeburger/solution/as2 and localejbs/ModuleProcessorExitBean in sequence.
Please provide solutions to overcome the issue.
As this is prototyping, i have downloaded Free As2 client and trying to send files to that client from PI.Hi Dinesh,
make sure to also configure a report channel (refer to the sample chapter in the SEEBURGER AS2 documentation) in order to receive AS2 MDNs for your sent message. Additionally report channels are needed if the SEEBURGER specific TransmissionReports are requested.
Hope that helps
Greetings
-Sascha- -
Client Auth and SSL with Seeburger AS2 adapter
Hello All,
We are using the Seeburger AS2 adapter in our landscape and I am in the process of setting the same up and have made quite some progress in all my issues.
and I hope that you will be able to help me out.
1. Server SSL on Receiver AS2 adapter
I am sending a message from XI using the Receiver AS2 adapter to my AS2 test tool using Server SSL.
This is working perfectly fine. In my AS2 adapter I have selected HTTPS as the protocol and the message goes via SSL to the target test tool, is processed and the MDN comes back to XI perfectly.
The issue here is :
Irrespective of what is provided in the Server Certificate ( Keystore) , the message goes to my target test tool. I even left this field blank with no certificate entry and still the SSL connection was established and the message went to the target system.
Is there no validation that XI does here? I am lost what is the use of this entry Server Certificate if XI blindly accepts all SSL connections.
I am using a Decentral Adapter Engine with LoadBalancer.
2. Client Auth on Receiver AS2 Adapter
I tried to perform Client Authentication by proving my Server's private key in the AS2 adapter. The corresponding public key is loaded in my partner's Keystore.
XI error's with the error "SSL handshake failed - Bad Certificate" .
I am not sure why XI is erroring out here and I have a feeling that I have misunderstood the use of the fields in the AS2 adapter,
Server Certificate ( Keystore) and Private Key for Client Authentication.
Has anyone tried this? If further details are needed, I will be able to furnish the same.
Regards,
BhaveshHello Jens,
Thanks for your reply.
1. The Encryption and Signature part of the Interface is working absolutely fine and I use the same concept highlighted by you - The Sender always signs the message with his private key and encrypts with message with the partner's public key in the corresponding agreement.
2. Server SSL is also working perfectly fine, i.e, when XI initiates the connection the SSL connection is established to the partner.
3. Mutual Auth was the issue where I was getting the bad certificate issue.
To investigate further I moved the same setup to my Central Adapter Engine and all the issues I had described above seem to have vanished and things work exactly as I was expecting, ie.
The field : Server Certificate (Keystore) is used to provide the Target System's Server SSL's public Certificate.
The field : Private Key for Client Authentication is used where XI provides its own Server SSL's private key for Mutual / Client Authentication.
The problem seems to be with my Decentral Adapter engine and not my central adapter engine and so I guess,
1. I either have the incorrect certificates on my Decentral Adapter Engine.
2. I also have 2 instances of a Decentral Adapter Engine with a Webdispatcher and so maybe the 2 Visual Admin's of the 2 Decentral AE are inconsistent.
3. Maybe it was just a long day and I did something wrong
Will investigate further for the root cause but I am glad that my concepts remain intact and things do work as I expected them to work.
A blog on all this is on the cards sometime soon.
Cheers,
Bhavesh -
Hi
I am trying to test AS2 adapter. I configured sender file channel and Receiver AS2 channel. i also configured the mdn report channels. But my AS2 receiver channel is failing saying mdn report channels are missing.
Message processing failed. Cause: javax.resource.ResourceException: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Failed to get configuration from DATABASE. MDN requested, but appropriate report channel is missing. Missing inbound relation between AS2From: 'XXXX_Qx2' and AS2To: 'XYZ_QX1'., SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Failed to get configuration from DATABASE. MDN requested, but appropriate report channel is missing. Missing inbound relation between AS2From: 'XXXX_Qx2' and AS2To: 'XXXX_Qx1'.Hi,
Please check following thread
Re: File ->AS2 error?
Regards,
Deepak. -
Seeburger AS2 Adapter Error :AUTHENTICATION_ERROR
i am doing the scenario for Purchase Order -> XI ->File
custumer is posting the purchase order
and XI Receives the PO using AS2 Adapter (Seeburger) and sends the output as File
i have done all the AS2 Adapter configurations as mentioned below but still i am getting the error in Seeburger Monitoring, the Error is Authentication_Error
1. Communication chennel
Adapter Type : AS2
Direction : Sender
Transport protocol : HTTP
Message Protocol : AS2
AS2 : Authentication Required is Enabled
Message Subject : Filled which is in Seeburger Monitor
2. Sender Agreement
Sender Communicational chennel which is created above
Security Setting
AS2 Sender Config :
Authentication Certificate : Customer public key
AS2 Receiver Config :
Decryption Key : Private key
3. in Party Identifiers
Party Name
AS2 ID
is there any settings missing to rectify the error "AUTHENTICATION_ERROR"Hi
Check with PIAPPLUSER authentication
With this Check the following content on AS2 may be you get more clue.
http://www.customware.net/repository/display/WMFAQ/AS2-authenticationfailureinreceivingEDIINT+MDN
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/135b0b94-0701-0010-f6a9-86a14057544a
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/bpxproj/edi%2bwith%2bpi
Handling EDI interfaces using Seeburger BIC modules
Thanks
Gaurav -
Hi,
We have recently configured AS2 adapter for a party and started to test. We tried to send an outbound message to the party and found the following status in our seeburger monitor
It says "Initiaion to Backend Pending" with yellow state. Further the status description shows "AS2 Message created. Will try to send it now to partner and wait then for synchrone MDN.".
What should we do now? Is it the job of the receiving party to accept the message or do some thing at their side.
Regards
KrishHello all,
Note 1287778 solved the problem. Thanks for the reply.
Kind regards, Wilbert
Edited by: Wilbert Jeuken on Feb 24, 2010 9:43 AM -
Idoc to Different Trading partners using AS2 Adapter
Hello experts,
I have a requirement where we have to send an Idoc to different trading partners using van.
On the receiver side AS2 adapters will be used.There are many trading partners here.Can someone guide me through? ..
The entire scenario will be done in SAP PO 7.4
Breaking the entire scenario in the following parts---
1)IDoc on sender side--What will be partner profile type? Will it LS or any other (BP, GP or KU??)
2)AS2 configuration details---AS2 adapter is available in the dropdown of adapter list.What are the config details for AS2?
3)Trading partner mechanism-How this can be achieved?..what this essentially achieves ? any step by step guide available? Does it take care of sending the Idoc only to VAN or sending Idoc to different trading partners directly bypassing VAN?
4)Is using NWDS suggestible?--Is it convenient?
Any help/step by step blog will be of great help.
If I miss anything in the entire scenario, please let me know
Thanks
Ayan ChaudhuriHi Ajay,
1)IDoc on sender side--What will be partner profile type? Will it LS or any other (BP, GP or KU??)
-->>The partner type is depend on your scenario. AS2 adapter is used for B2B communication and usually to vendor and customers.
This purchase Order should go to the particular vendor as a sales order. Then we use partner type as LI -- Vendor.
Similarly when we sell some materials to our customers, we create the Sales order to our customer. Then we use Partner type as KU - Customer
Partner Type GP---Business Partner
Partner Type KU---Customer
Partner Type LI---Vendor
Partner Type LS---Logical system
Partner Type US--User
2)AS2 configuration details---AS2 adapter is available in the dropdown of adapter list.What are the config details for AS2?
-->> to configure as2 connection you need following details from trading partner
AS2 ID
server address with URL extension
TP certificate
MDN address and type (Sync, asyn and signed or not signed)
Message communication encryption algorithm
Compression is required or not and if req. which algorithm to use
3)Trading partner mechanism-How this can be achieved?..what this essentially achieves ? any step by step guide available? Does it take care of sending the Idoc only to VAN or sending Idoc to different trading partners directly bypassing VAN?
-->> If you are communicating through VAN then you need to send the message to VAN and VAN will route the message to respective TP.
4)Is using NWDS suggestible?--Is it convenient?
-->> NWDS is another option to create scenario, it is depend on developer which one he want to use.
The belog blog might be useful
Easy-to-use AS2 software - part IV
B2B- EDI Inbound -Step by Step Configuration
regards,
Harish -
Hi All,
I am sending files through AS2 Adapter but I see the status message as
Could not deliver as2 message to partner: java.net.UnknownHostException: http # null. Can any one tell me what is causing this error ?
Thanks
Laks
Edited by: lakshmi s on May 5, 2009 8:30 PMHi Prakash,
1. I checked the configuration as you said. I haven't it checked the " Deliver Transmission Report"
Is it mandatory to use this check box. Its for what purpose. ?
2. I also tested by selecting No action in Handle MDN part. Now i see success status in Message Monitor .
What i want to know is " is ot necessary to receive MDN " But i am not doing anything with that MDN.
Kindly let me know answers for my 2 questions .
Thanks
Laks -
Hi team,
i am working on idoc to As2 interface.
how to work with MDN s at receiver side AS2 adapter?
any differences between asynchronous MDN settings and Synchronous mdn settings at receiver as2 adapter.
if difference are there could you please let me know.what are the differences?
Regards
SachinHi Experts,
any inputs please
Regards
Sachin -
Dynamic filename in receiver AS2 adapter in B2B Add-on
Hello Experts,
Can you please let me know how we can put dynamic filename in the receiver AS2 adapter for B2B Addon on SAP 7.4.
Thanks
SaurabhHi Ryan / Experts,
Let me explain you in more detail.
In the receiver AS2 Communication channel, if I keep the Filename field as blank as shown below, then in the Mendelson inbox folder, a file is generated with the name "ASJAVA_DX5" which is my business component name.
If I fill the filname field for example with "CONTRL", then in the Mendelson inbox folder, a file is generated with the name "CONTRL".
This is my requirement because, suppose i trigger this interface "first time", a file with static name (ASJAVA_DX5/CONTRL ) would be generated in the inbox folder. If I trigger this interface "second time", since the file already exists with same name, it is not overwritten and I cannot check the output of 2nd trigger . Contents are not overwritten.
To solve this problem + as a general requirement, I wish to have this name to be dynamic, atleast with date+timestamp.
Can you please help. -
Dynamic Receiver file name in AS2 adapter
Hi Experts,
How to get dynamic receiver file name in AS2 adapter. We need receiver file name same as of sender file name.
We tried selecting dynamic attributes file name but we are getting followin error in CC.
Message processing failed. Cause: javax.resource.ResourceException: Fatal exception: com.seeburger.xi.connector.queue.TaskBuildException: Mandatory attribute dtAS2FileName is not present in XI message., Mandatory attribute dtAS2FileName is not present in XI message.
Thanks,
Harihi hari,
You can't do it manually. As both adapter are in different context.
You can go with UDF to slove ur problem.
Just extract the input file name using Dynamic configuration
Store that in some variable.
Use same name in the dynamic file name in AS2 receiver. Below code might be useful.
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create( "http://seeburger.com/xi/common/dtAS2FileName", "DYNFILENAME");
conf.put(key,strfilename);
Thanks
Jai
Edited by: Jaideep Baid on Apr 9, 2010 9:16 AM
Maybe you are looking for
-
PLEASE READ ALL EMAIL. ANYONE THAT CAN HELP WOULD BE GREATLY APPRECIATED. As you read through the emails, you will see that "C" the customer service person responds the same way. All the emails are from the same thread. I would reply to his email, h
-
FTP Adapter get complete files question
I'm using the FTP Adapter to poll for incoming files. I'm concerned that it may be possible for the FTP adapter to find a file whilst it's still being written, and therefore load an incomplete file. Does anyone know if the FTP adapter has any built i
-
Digital signature details "translation"
Hi, my request is quite simple, i need to translate the language for the default strings used by Livecycle DS ES2 in digital signatures. For Example: Digitally signed by: John doe Date: xx/xx/xxxx I'd like to translate the strings "Digitally signed b
-
How do i delete pictures from the camera roll, but keep them in different albums?
i have added pictures from my camera roll into different albums. but every time i try to delete the ones from the camera roll, it asks if i want to delete the picture from everywhere or cancel. how do i keep them in the other albums, but delete them
-
Mdworker quit unexpectedly. How to fix it?
Hello to everyone, When ever I open some specific Microsoft office Word files (using Microsoft Word 2011) in my MBR and I try to save them the system gives me a report "mdworker quit unexpectedly". If I make a new file and I save it then no error is