Correlating AS2 MDN to Original IDoc?

Hi All -
I have got the following scenario:
1) Backend system (ECC) sends IDoc to SAP PI.
2) SAP PI maps IDoc to EDIFACT message and sends via AS2 to B2B Partner.
3) B2B Partner sends back AS2 MDN to acknowledge receiving of AS2 message.
__Question:__
How can I now correlate the AS2 MDN to the original IDoc and so forward the acknowledgement to the Backend system?
I was thinking to use the 'Correlation ID' which is contained in the AS2 MDN and is the same ID as the original SAP PI message.
However, how do I practically retrieve the IDoc number (part of original IDoc message and used as identifier in the ECC system) from the persisted messages of SAP PI?
Can I code an ABAP or JAVA program which is than called within a mapping to query the persisted messages and give back the correlating IDoc number?
Are there other ways to achieve this?
Thanks for your inputs.
Best Regards, Mathias.

Hi Mathias,
Approach1:
I would definately not consider using BPM overhead on a high volume scenario. As the Output file(that will be generated) will be a simple XML message with just the data required for corelating with the MDN. All MDN's are expected to received within 1 min or less than 5 min.(B'cos it is a System level Acknowledgement), Hence if the BPM is not closed within the specified time period(1min or 5 min), raise an exception.
The Corelation file that will be generated can look like
<MDN_Corr>
   <SenderAS1ID>        --> Will be used for Corelating the MDN
   <ReceiverAS2ID>      --> Will be used for Corelating the MDN
   <TimeStamp>
   <IDOCNumber>
   <EDI_ISA_Control_No> --> Will be used for Corelating the MDN
   <EDI_Message_Type> 
</MDN_Corr>
Approach2:
It might be very resource intensive to perform payload search. (and in some cases, the messages are archived, hence might result in bad search). Hence, you can have Z-Table all the fields as mentioned in the XML message. 1:1 mapping b/n EDI_ISA control number & IDOC_Number will be your lookup key-value params
-SM

Similar Messages

  • AS2- How to display Idoc number in ACK MDN

    Hi ,
    I have an requirement where I have to send the Idoc number in MDN which is sent as an acknowledgement after AS2 system has received an INVOIC Idoc .
    Scenario is like below:
    Part I: R/3(Invoic idoc)>PI>(Idoc xml)AS2 
    R/3 system will send an Idoc to PI. PI will do the mapping and sent to AS2 system with the Idoc number in AS2 subject. This is done by an udf. Part I is working fine. 
    Part II: AS2(MDN)>PI>R/3(ALEAUD Idoc)
    After receiving the idoc xml, AS2 system will send an MDN. This MDN does not contain idoc # which has been processed successfully in the part I. PI is receiving the MDN message like below
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <DtReport xmlns="http://uri.seeburger.com/dt/master/schema">
      <clientId>000</clientId>
      <correlationId>dbeb6ed9-2cbe-11e1-c7f1-000007ec0f66</correlationId>
      <category>DeliveryReport</category>
      <state>SUCCESS</state>
      <finalReport>true</finalReport>
    - <specificData>
      <key>messageID</key>
      <value><[email protected]></value>
      </specificData>
    - <specificData>
      <key>subject</key>
      <value>Message Disposition Notification</value>
      </specificData>
    - <specificData>
      <key>channelID</key>
      <value></value>
      </specificData>
    - <specificData>
      <key>channel</key>
      <value>CC_SND_AS2_MDN_XX_PKI</value>
      </specificData>
    - <specificData>
      <key>originalchannel</key>
      <value>CC_RCV_AS2_XXX_EDI_SEEBURGER_INVOIC_PKI</value>
      </specificData>
    - <specificData>
      <key>to</key>
      <value>PARTY_XX</value>
      </specificData>
    - <specificData>
      <key>from</key>
      <value>PARTY_YY</value>
      </specificData>
    - <reportAttachment refID="dffd66c0-2cbe-11e1-9654-af0c1a5b180a">
      <ns1:objectInfo charset="binary" creation="2011-12-22T17:03:31.116+00:00" location="MEMORY" size="3391" type="INLINE" xmlns:ns1="http://uri.seeburger.com/bisas/message/schema" />
      </reportAttachment>
      </DtReport>
    Can anyone please let me know how can I get the idoc number in received MDN from AS2? So that we can easily identify which has been received the MDN and processed successfully.
    Thanks,
    Arivarasu S

    Hi Prateek,
    This is my code:
    FUNCTION ZPI_PICK_IDOC_NUM .
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(IN_GUID) TYPE  SXMSMGUID
    *"  EXPORTING
    *"     VALUE(IDOC_NUM) TYPE  EDI_DOCNUM
    *"  EXCEPTIONS
    *"      KEYSTRING_EMPTY
    *"      RETURNFIELD_EMPTY
    *"      KEYFIELD_DOES_NOT_EXIST
    *"      INVALID_DATA
    TYPES: BEGIN OF ty_itab,
           GUID     type SXMSMGUID,
           IDOCNUMBER type  EDI_DOCNUM,
           END OF ty_itab.
    DATA:  it_itab TYPE TABLE OF ty_itab,
           wa_itab type ty_itab.
    SELECT GUID IDOCNUMBER FROM IDXSNDPOR INTO table it_ITAB
             WHERE GUID = IN_GUID.
      IF sy-subrc EQ 0.
        loop at it_itab into wa_itab.
         move wa_itab-IDOCNUMBER to IDOC_NUM.
         exit.
        endloop.
      ELSE.
        RAISE invalid_data.
      ENDIF.
    ENDFUNCTION.
    I guess this is giving one of the exception which I have added in exception tab.
    Thanks,
    Arivarasu

  • Not able to generate AS2 MDN when receiving custom XML via AS2

    Hi friends,
    I have setup the trading partner and the corresponding TP certificate import for receiving the custom XML via AS2 channel.
    I am receiving the custom xml properly to oracle b2b and able to receive the same to bpel as well. however in the oracle b2b console under reports tab i am seeing only one record for inbound document receive and i am not seeing the other record for the AS2 MDN going back to vendor. I have setup the AS2 channel under the external trading partner --> Channel using the vendor AS2 URL and selected all the security parameters while creating the Outbound AS2 channel.
    1. Not able to generate AS2 MDN when receiving custom XML via AS2.
    2. eventhough i am able to decrypt the inbound custom XML and ablr to recieve it in bpel also for processing, in the reports tab the inbound message state is changing to MSG_ERROR and it has the folloing error message:
    Error Code
    B2B-50037
    Error Description
    Machine Info: (***********)  Description: B2B inbound message processing error
    Error Level
    ERROR_LEVEL_COLLABORATION
    for AS2 MDN generation for custom XML receiving using As2 protocol, do we need to setup anything other than the outbound As2 Channel using the external vendor AS2 URL?
    Can you please help me how can i generate the AS2 MDN for the inbound custom XML document i have received and also why the inbound message is failing even though i am receiving the custom XML properly to bpel?
    Thanks,
    Amirineni.

    Hi Prasanna,
    Vendor has enabled the ACK mode as SYNC.
    Below are the headers for the inbound message to B2B. and we are able to receive the input message to bpel also.
    Protocol Transport Binding
    ChannelName=******** AS2-To=****AS2 TE=trailers, deflate, gzip, compress Date=Thu, 02 Oct 2014 14:26:31 GMT AS2-Version=1.2 Accept-Encoding=deflate, gzip, x-gzip, compress, x-compress AS2-From=****AS2 Disposition-Notification-Options=signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, sha1 Disposition-Notification-To=https://******/as2 Message-ID=<CLEO-20141002_142630452-31X54N@****_*****AS2.pcwbedi1-O> Content-type=application/pkcs7-mime; smime-type=enveloped-data; name=smime.p7m Content-length=747006 MSG_RECEIVED_TIME=Thu Oct 02 10:26:39 EDT 2014 Subject=EDI ECID-Context=1.005175bK7U^AXNJCAnf9Cx0002pW000yjX;kXjE1ZDLIPGIj2QCYV8QoKSSILRO_PQT_IS Proxy-Client-IP=****** Recipient-Address=https://******/b2b/httpReceiver User-Agent=RPT-HTTPClient/0.3-3I (Windows 2003) X-Forwarded-For=****** Content-Disposition=attachment; filename="smime.p7m" Host=****** EDIINT-Features=CEM, multiple-attachments, AS2-Reliability Connection=Keep-Alive X-WebLogic-KeepAliveSecs=30 X-WebLogic-Force-JVMID=-1497702782 From=****** Mime-Version=1.0
    Message Digest
    Message Digest
    Digest Algorithm
    sha1
    Transport Protocol
    HTTP
    Transport Protocol Version
    1.0
    Url
    http://******
    security
    Transport Headers
    ChannelName=****** AS2-To=******AS2 TE=trailers, deflate, gzip, compress Date=Thu, 02 Oct 2014 14:26:31 GMT AS2-Version=1.2 Accept-Encoding=deflate, gzip, x-gzip, compress, x-compress AS2-From=****AS2 Disposition-Notification-Options=signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, sha1 Disposition-Notification-To=https://******/as2 Message-ID=<CLEO-20141002_142630452-31X54N@****AS2_*****AS2.pcwbedi1-O> Content-type=application/pkcs7-mime; smime-type=enveloped-data; name=smime.p7m Content-length=747006 MSG_RECEIVED_TIME=Thu Oct 02 10:26:39 EDT 2014 Subject=EDI ECID-Context=1.005175bK7U^AXNJCAnf9Cx0002pW000yjX;kXjE1ZDLIPGIj2QCYV8QoKSSILRO_PQT_IS Proxy-Client-IP=***** Recipient-Address=*******/b2b/httpReceiver User-Agent=RPT-HTTPClient/0.3-3I (Windows 2003) X-Forwarded-For=******* Content-Disposition=attachment; filename="smime.p7m" Host=***** EDIINT-Features=CEM, multiple-attachments, AS2-Reliability Connection=Keep-Alive X-WebLogic-KeepAliveSecs=30 X-WebLogic-Force-JVMID=-1497702782 From=***** Mime-Version=1.0
    Thanks,
    Amirineni

  • Sender AS2 MDN XML Channel error

    Hi,
    I am trying to configure a sender AS2 adapter to receive asynchronous MDN. But as soon as I create the channel ,it goes in error "Channel configuration is erroneous: java.nio.charset.UnsupportedCharsetException: The target charset iso885915 is not supported".
    1. I don't see any other option to configure character set once AS2 MDN transport protocol is selected. Am I missing any configuration?
    2. Also I am testing from mendelson and as per the mendelson log MDN is sent to PI system but I do not see any MDN in PI. We are using B2B addon SP1 on PI 7.11.
    mendelson log :
    [3:27:36 PM] mendelson_opensource_AS2-1407405456031-5@EDI_Partner_EDI_Partner: Outgoing MDN has not been signed.
    [3:27:36 PM] mendelson_opensource_AS2-1407405456031-5@EDI_Partner_EDI_Partner: MDN created, state set to [processed].
    [3:27:36 PM] mendelson_opensource_AS2-1407405456031-5@EDI_Partner_EDI_Partner: Sending async MDN to http://<PI_Host>:50000/AS2/AS2_Sender/mdn.
    [3:27:36 PM] mendelson_opensource_AS2-1407405456031-5@EDI_Partner_EDI_Partner: Message sent successfully (HTTP 200); 791 Byte transfered in 353ms [2.19 KB/s].
    [3:27:36 PM] 17ef0d18-1e19-11e4-c6b8-0000004bc76a@PI7: AS2 communication successful, payload 1 has been moved to "C:\Users\Pankaj\Desktop\mendelson\opensource\as2\messages\EDI_Partner\inbox\17ef0d18_1e19_11e4_c6b8_0000004bc76a@PI7".

    Hi Pankaj,
    This is what I did:
    The most important parts of the configuration are
    Receiver AS2 communication channel, requesting a synchronous MDN message
    Sender AS2  communication channel processing the incoming MDN message
    Receiver AS2 communication channel
    Sender AS2  communication channel
    Within the SAP PO monitoring tools, you see something like this:
    Kind regards,
    Dimitri

  • AS2 mdn on application acknowledgement

    If I choose AS2 mdn on application acknowledgement, it has to be synchronous interface?
    What structure is the MDN message?
    I'm still stuck with the Wal-Mart AS2
    Any help would be appreciated.
    Thanks

    Very helpful. Thanks a lots.
    Archived AS2 message:
    AS2 Message from Fri Feb 13 11:15:17 CST 2015
    URL: 161.168.228.14
    content-type: application/pkcs7-mime; smime-type=enveloped-data; name="smime.p7m"
    host: 210.22.80.17:50000
    ediint-features: multiple-attachments
    receipt-delivery-option: http://gem.wal-mart.com:5080/
    as2-version: 1.2
    subject: EDIINTDATA
    message-id: <20150212211516C0C688E1@146907777000001>
    user-agent: Liaison Exchange Commerce Suite 3.5.2.1
    from: GVBe2Bzy
    date: Fri, 13 Feb 2015 03:15:16 GMT
    disposition-notification-options: signed-receipt-protocol=optional,pkcs7-signature; signed-receipt-micalg=optional,sha1
    as2-from: 146907777000001
    disposition-notification-to: GVBe2Bzy
    content-length: 2489
    requesturl: http://210.22.80.17:50000/AS2/AS2AdapterFacade
    content-disposition: inline; filename="smime.p7m"
    remoteaddr: 161.168.228.14
    as2-to: CC_AS2_SENDER_WALMART

  • Unable to identify the exchange protocol of the message (sync AS2 MDN)

    Hi,
    We got the following error:
    Description: Unable to identify the exchange protocol of the message
    StackTrace:
    Error -: AIP-50080: Exchange protocol identification error
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1367)
         at oracle.tip.adapter.b2b.msgproc.Request.postTransmit(Request.java:2370)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1813)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:968)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1152)
         at oracle.tip.adapter.b2b.xmlgwIntg.XMLGWIntegration.raiseOutboundMessage(XMLGWIntegration.java:168)
         at oracle.tip.adapter.b2b.xmlgwIntg.Outbound.onMessage(Outbound.java:297)
         at oracle.jms.AQjmsListenerWorker.dispatchOneMsg(AQjmsListenerWorker.java:316)
         at oracle.jms.AQjmsListenerWorker.run(AQjmsListenerWorker.java:129)
         at java.lang.Thread.run(Thread.java:534)
    Here is the Wire message (sync MDN)
    =======================
    Message-ID=<23033756.391232032071968.JavaMail.SYSTEM@INUBITTEST>
    Subject=Your ORDERS AS2
    [email protected]
    Content-Length=1347
    MIME-Version=1.0
    Server=Apache
    Date=Thu, 15 Jan 2009 15:07:52 GMT
    Content-Type=multipart/mixed;      boundary="----=_Part_53998_23619909.1232032071968"
    [email protected]
    ------=_Part_53998_23619909.1232032071968
    Content-Type: text/plain; charset=UTF-8; name=test.txt
    Content-Transfer-Encoding: 7bit
    Content-Disposition: attachment; filename=test.txt
    Message-ID: <17080722.371232032071906.JavaMail.SYSTEM@INUBITTEST>
    MIME-Version: 1.0
    Content-Type: multipart/report; report-type=disposition-notification;
         boundary="----=_Part_53997_14786767.1232032071906"
    AS2-Version: 1.1
    AS2-From: test_AS2
    AS2-To: as2me
    ------=_Part_53997_14786767.1232032071906
    Content-Type: text/plain; charset=us-ascii
    Content-Transfer-Encoding: 7bit
    MDN for Message ID: <33156:4:0:137@as2me>
    From: as2me
    To: test_AS2
    Received on: Thu, 15 Jan 2009 16:07:51 +0100
    Status: processed
    Comment: This is not a guarantee that the message has
    been completely processed or unterstood.
    ------=_Part_53997_14786767.1232032071906
    Content-Type: message/disposition-notification
    Content-Transfer-Encoding: 7bit
    Reporting-UA: inubit Integration Server
    Original-Recipient: rfc822; test_AS2
    Final-Recipient: rfc822; test_AS2
    Original-Message-ID: <33156:4:0:137@as2me>
    Disposition: automatic-action/MDN-sent-automatically; processed
    Received-Content-MIC: 5kFOLMXOUurpm6DUTA8IMRj5gcs=, sha1
    ------=_Part_53997_14786767.1232032071906--
    ------=_Part_53998_23619909.1232032071968--
    ============================
    The communication with our TP is going well, we are able to send, receive messages over AS2 and send back MDN, but we are not able
    to receive their MDN.
    Edit:
    It seems that after the latest MLR patch, the error changed to [IPT_HttpSendError] HTTP encounters send error :. Premature EOF encounter but the roots seem to lead to the problem with MDN as B2B is sending the message a couple of times now and gives the mentioned EOF error.
    Please advise,
    Thank you
    Edited by: Kamil Zadora on Jan 30, 2009 3:44 AM

    Hi Ramesh,
    Yes, agreement uses AS2 IDentifiers. Incoming messages are recognized correctly, and we send back sync MDN that is correctly received by our TP. They also recieve our messages correctly although Oracle B2B does not recognize the MDN from them. I think that this causes that, now after applying the latest MLR patch, B2B tries to send it around 6 times and gives the Unexpected EOF error.
    Thank you for your help in advance,
    Kind regards,

  • Error is Receiver AS2 adaptor used for Idoc to AS2 scenario

    Hello Experts,
       I am doing Idoc to AS2 B2B scenario where I am getting below error message in runtime workbench comm channel monitoring.
    Message processing failed. Cause: javax.resource.ResourceException: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Sender configuration incomplete - perhaps AS2ID missing.., SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Sender configuration incomplete - perhaps AS2ID missing..
    Sending failed.
    Error type: COMPONENT_ERROR,NOT_TRANSMITTED >> Error date: 10/16/09 9:06 AM >> Description: AS2 Adapter failure Outbound configuration error: Sender configuration incomplete - perhaps AS2ID missing.. com.seeburger.as2.AS2Plugin.execute(AS2Plugin.java:321)
    AS2 Adapter failure
    Processing task
    Sending called. 
    Message processing started
    Basis has already configured the AS2 Server with Certificates and provided me the below details for receiver agreement and those are put in Receiver agreement.
    AS2 sender Configuration:
    Authentication certificate à TRUSTEDAS2certAS2_datapool
    AS2 Receiver Configuration:
    Decryption Key à TRUSTEDAS2certXXXenterprise2008
    Signing Key à TRUSTEDAS2certXXXenterprise2008
    XXX is my receiver partner
    For the Receiver party XXX I have maintained the Identifier as given below
    *Agency----
    Scheme-------Name*
    http://sap.com/xi/XI--XIParty--
    XXX
    Seeburger----
    AS2ID----
    XXX_AS2ID
    There is no need for sender agreement for Sender IDoc but still I tried to created R3 as sender party and R3 Business system, used it for the scenario and created sender agreement for sender Idoc but received same error message in Runtime workbench.
    R2 system sender party is also set with identifier with AS2 ID.
    MDN mode is set to no MDN in the receiver AS2 communication channel.
    Please suggest me if something is missing or wrong in the configuration.
    Thanks in advance.
    Vinit

    Hi Larry,
       The solution was very simple.
    It was problem with the basic understanding of system and configuration.
    Idoc is send sent by R3 ERP system and target is Partner Party. As ERP system is Business system and not the party w.r.t XI/PI terminology, we are not supposed to use Sender party as Sender ERP system but just use Business system as sender without any sender party. So in this way PI system could recognize that the data is coming from R3 system which is nothing but PI Business system.
    Now question comes where to user the Serder Party which was defined with AS2 ID? So answer is in the receiver determination we have to mention the Sender party and sender service in the header mapping part (Also mention receiver party and service).    
    So in my case problem was with sernder party. I mentioned sender party in all receiver determination, Interface determination, Sender Agreement and receiver agreement where only sender service ie sender system was required. And as I configured my scenario without sender party it worked because PI could recognize the sender R3 system and AS2 ID was recognized form the Header mapping of Receiver Agreement.
    Kindly let me know if it works and if you require snap shots of my configuration then I can send you the same.
    Regards,
    Vinit

  • Seeburger AS2 MDN: Reading AS2 Header DATE field

    Hello,
    in my AS2 scenario (using Seeburger Adapter) I forward MDN messages to PI. Now I have the requirement to read the "DATE" field of the MDN AS2 Header an map it to a target field.
    In the XML message monitoring there are two payload messages:
    AckReport (application/xml) and
    RAWMIMEMDN (application/octet-stream)
    In the message RAWMIMEMDN I see the header data and also the DATE field, now the question is, can I use the RAWMIMEMDN somehow to extract the DATE field?
    Thank you for your input.

    Looks like this: (However I am not sure how to use it in mapping as there are two PAYLOADS entries in SXMB, I have not seen this in any other scenario before, I guess I only have access to the XML part):
    AS2-VERSION: 1.2
    CONTENT-TYPE: multipart/report; report-type=disposition-notification;  boundary="----=_Part_372_22591582.1258028532189"
    AS2-TO: xxxxxx
    FROM: xxxxxx
    CONTENT-LENGTH: 798
    AS2-FROM: xxxxx
    MIME-VERSION: 1.0
    SERVER: xxxxxx
    MESSAGE-ID: <xxxxxx>
    DATE: Thu, 12 Nov 2009 12:22:12 GMT
    EDIINT-FEATURES: CEM
    =_Part_372_22591582.1258028532189
    Content-Type: text/plain; charset=us-ascii
    This MDN (Message Disposition Notification) was automatically built on
    Thu, 12 Nov 2009 12:22:12 GMT in response to a message with id
    xxxxxx received from
    xxxxx on Thu, 12 Nov 2009 12:22:10 GMT.
    Unless stated otherwise, the message to which this MDN applies
    was successfully processed.
    =_Part_372_22591582.1258028532189
    Content-Type: message/disposition-notification
    Original-Recipient: rfc822; xxxx
    Final-Recipient: rfc822; xxxxx
    Original-Message-ID: xxxxx
    Disposition: automatic-action/MDN-sent-automatically; processed
    Received-Content-MIC: fzj1sSC/z3kmTWhfA6NaIQ==, md5
    =_Part_372_22591582.1258028532189--

  • AS2 MDN is erroring

    Hi All,
    I am using AS2 to communicate with a supplier. The setup is :-
    Host Trading Partner :-
    Acknowledgement Mode          Sync
    Global Usage Code          Test
    Is Non-Repudiation of Receipt Required          True
    Is Non-Repudiation of Origin Required          True
    Encryption Enabled          True
    Transport Security Enabled          True
    Remote Trading Partner :
    Acknowledgement Mode          Sync
    Global Usage Code          Test
    Is Non-Repudiation of Receipt Required          True
    Is Non-Repudiation of Origin Required          True
    Encryption Enabled          True
    Transport Security Enabled          False
    According to the b2b.log file, the MDN is being received but it is erroring with : java.lang.NoClassDefFoundError: oracle/security/crypto/smime/SmimeDataContentHandler
    The log file from sending message to the mdn erroring is listed below :-
    2007.12.03 at 10:47:35:494: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Create Event Table row for Message Retries
    2007.12.03 at 10:47:35:494: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit timeToAck = Thu Jan 01 10:00:00 WST 1970
    2007.12.03 at 10:47:35:498: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertEvtTblRow Enter
    2007.12.03 at 10:47:35:499: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertEvtTblRow Event Type = 2
    2007.12.03 at 10:47:35:499: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertEvtTblRow EventId = 12
    2007.12.03 at 10:47:35:499: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertEvtTblRow Id = 2d383235383836363134353830383438
    2007.12.03 at 10:47:35:506: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertEvtTblRow Exit
    2007.12.03 at 10:47:35:509: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Current TimeStamp isMon Dec 03 11:47:35 WST 2007
    2007.12.03 at 10:47:35:510: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Retry shall happen at Mon Dec 03 13:47:35 WST 2007
    2007.12.03 at 10:47:35:510: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit business transaction info name null revision null
    2007.12.03 at 10:47:35:510: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Exit
    2007.12.03 at 10:47:35:510: Thread-13: B2B - (DEBUG) DBContext commit: Enter
    2007.12.03 at 10:47:35:516: Thread-13: B2B - (DEBUG) DBContext commit: Transaction.commit()
    2007.12.03 at 10:47:35:517: Thread-13: B2B - (DEBUG) DBContext commit: Leave
    2007.12.03 at 10:47:35:517: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Calling Send to transmit the message
    2007.12.03 at 10:47:35:517: Thread-13: B2B - (DEBUG) Protocol Name: HTTP
    2007.12.03 at 10:47:35:518: Thread-13: B2B - (DEBUG) Version Name: 1.1
    2007.12.03 at 10:47:35:518: Thread-13: B2B - (DEBUG) Endpoint: http://aaaaa.bbbbb.cccccc.dddddd:80/as2/as2.aspx?action=receive
    2007.12.03 at 10:47:35:518: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send proxy 203.0.173.114
    2007.12.03 at 10:47:35:519: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send proxy port4545
    2007.12.03 at 10:47:35:519: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send URL: HTTP://aaaaa.bbbbb.ccccc.dddddd/AS2/AS2.ASPX?ACTION=RECEIVE
    2007.12.03 at 10:47:35:519: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send TO Endpoint: 501 http://aaaaaa.bbbbbb.ccccccc.ddddddd:80/as2/as2.aspx?action=receive
    2007.12.03 at 10:47:35:520: Thread-13: B2B - (DEBUG)
    Protocol = HTTP
    Version = 1.1
    Transport Header
    Content-Transfer-Encoding:binary
    Message-ID:<2d383235383836363134353830383438@HCNB2BTEST>
    MIME-version:1.0
    From:HCNB2BTEST
    Disposition-Notification-To:[email protected]
    AS2-To:PACCOMTEST
    User-Agent:AS2 Server
    Date:Mon, 03 Dec 2007 03:47:34 GMT
    Disposition-Notification-Options:signed-receipt-protocol=required, pkcs7-signature; signed-receipt-micalg=required, sha1
    AS2-From:HCNB2BTEST
    AS2-Version:1.1
    Content-Type:application/pkcs7-mime; smime-type="enveloped-data"
    Parameters
    -- listing properties --
    http.sender.timeout=0
    2007.12.03 at 10:47:35:521: Thread-13: B2B - (DEBUG) scheme null userName null realm null
    2007.12.03 at 10:47:44:062: Thread-13: B2B - (DEBUG)
    Protocol = HTTP
    Version = HTTP/1.1
    Transport Header
    Message-ID:87f555c8-6954-4637-8ddf-bbf7f50f18e4@HCNB2BTEST
    X-Powered-By:ASP.NET
    Subject:Message Disposition Notification
    Cache-Control:private
    X-Cache:MISS from lxfm027bzl.hdwa.health.wa.gov.au
    AS2-To:HCNB2BTEST
    X-AspNet-Version:1.1.4322
    Content-Length:3550
    MIME-Version:1.0 (produced by the IP*Works! MIME Component)
    Content-Description:MIME Message
    Server:Microsoft-IIS/5.0
    Date:Mon, 03 Dec 2007 02:10:20 GMT
    AS2-Version:1.1
    AS2-From:PACCOMTEST
    Content-Type:multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="boundaryu1ADmw=="
    2007.12.03 at 10:47:44:063: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send Message Successfully Transmitted
    2007.12.03 at 10:47:44:063: Thread-13: B2B - (INFORMATION) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Send Successful!, Request Message sucessfully Transmitted
    2007.12.03 at 10:47:44:063: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Calling postTransmit to do post transmit processing of request message
    2007.12.03 at 10:47:44:064: Thread-13: B2B - (DEBUG) DBContext beginTransaction: Enter
    2007.12.03 at 10:47:44:064: Thread-13: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
    2007.12.03 at 10:47:44:064: Thread-13: B2B - (DEBUG) DBContext beginTransaction: Leave
    2007.12.03 at 10:47:44:065: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:postTransmit Enter
    2007.12.03 at 10:47:44:065: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:postTransmit AckMode is SYNC
    2007.12.03 at 10:47:44:065: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(2 params) Enter
    2007.12.03 at 10:47:44:068: Thread-13: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2007.12.03 at 10:47:44:068: Thread-13: BusinessLogicLayer - (DEBUG) Push Stack: createDataStorage
    2007.12.03 at 10:47:44:076: Thread-13: BusinessLogicLayer - (DEBUG) Pop Stack: createDataStorage
    2007.12.03 at 10:47:44:079: Thread-13: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2007.12.03 at 10:47:44:080: Thread-13: BusinessLogicLayer - (DEBUG) Push Stack: createWireMessage
    2007.12.03 at 10:47:44:091: Thread-13: BusinessLogicLayer - (DEBUG) Pop Stack: createWireMessage
    2007.12.03 at 10:47:44:091: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(2 params) Exit
    2007.12.03 at 10:47:44:091: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:postTransmit Update the Message Table Row with message state Wait for Incoming Acknowledgment
    2007.12.03 at 10:47:44:094: Thread-13: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
    2007.12.03 at 10:47:44:094: Thread-13: BusinessLogicLayer - (DEBUG) Push Stack: updateBusinessMessage
    2007.12.03 at 10:47:44:112: Thread-13: BusinessLogicLayer - (DEBUG) Pop Stack: updateBusinessMessage
    2007.12.03 at 10:47:44:112: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:postTransmit Commit
    2007.12.03 at 10:47:44:112: Thread-13: B2B - (DEBUG) DBContext commit: Enter
    2007.12.03 at 10:47:44:116: Thread-13: B2B - (DEBUG) DBContext commit: Transaction.commit()
    2007.12.03 at 10:47:44:116: Thread-13: B2B - (DEBUG) DBContext commit: Leave
    2007.12.03 at 10:47:44:116: Thread-13: B2B - (DEBUG) DBContext beginTransaction: Enter
    2007.12.03 at 10:47:44:116: Thread-13: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
    2007.12.03 at 10:47:44:117: Thread-13: B2B - (DEBUG) DBContext beginTransaction: Leave
    2007.12.03 at 10:47:44:117: Thread-13: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Enter
    2007.12.03 at 10:47:44:124: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Identify Business Protocol
    2007.12.03 at 10:47:44:124: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.as2.AS2ExchangePlugin:AS2ExchangePlugin:identifyExchange Enter
    2007.12.03 at 10:47:44:125: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.as2.AS2ExchangePlugin:AS2ExchangePlugin:identifyExchange Exit
    2007.12.03 at 10:47:44:125: Thread-13: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Do Unpack using the BP specific package class
    2007.12.03 at 10:47:44:125: Thread-13: B2B - (DEBUG) MimePackaging:unpack:Enter
    2007.12.03 at 10:47:44:125: Thread-13: B2B - (DEBUG) MimePackaging:doUnpack:Enter
    2007.12.03 at 10:47:44:127: Thread-13: B2B - (DEBUG) MimePackaging:processMessageContent:Enter
    2007.12.03 at 10:47:44:128: Thread-13: B2B - (DEBUG) MimePackaging:processMultipartMessage:Enter
    2007.12.03 at 10:47:44:128: Thread-13: B2B - (DEBUG) MimePackaging:processSignedMultipartMessage:Enter
    2007.12.03 at 10:47:44:135: Thread-13: B2B - (ERROR) MsgListener:onMessage processing IP_MESSAGE_TYPE Throwable - oracle/security/crypto/smime/SmimeDataContentHandler
    2007.12.03 at 10:47:44:136: Thread-13: B2B - (ERROR) java.lang.NoClassDefFoundError: oracle/security/crypto/smime/SmimeDataContentHandler
    at oracle.tip.adapter.b2b.packaging.DataContentHandlerFactoryImpl.createDataContentHandler(DataContentHandlerFactoryImpl.java:99)
    at javax.activation.DataHandler.getDataContentHandler(DataHandler.java:561)
    at javax.activation.DataHandler.getContent(DataHandler.java:501)
    at javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:531)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.processSignedMultipartMessage(MimePackaging.java:872)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.processMultipartMessage(MimePackaging.java:727)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.processMessageContent(MimePackaging.java:684)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.doUnpack(MimePackaging.java:624)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.unpack(MimePackaging.java:554)
    at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1130)
    at oracle.tip.adapter.b2b.msgproc.Request.postTransmit(Request.java:1822)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1386)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:725)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:906)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:655)
    at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:353)
    at java.lang.Thread.run(Thread.java:534)

    I got an update from a colleague in Oracle with regard to this and he supplied me with the missing classes, in the folder $ORACLE_HOME/ip/lib/osdt/ :-
    osdt_cms.jar
    osdt_smime.jar
    osdt_core.jar
    osdt_cert.jar
    No idea why they were not available as part of the original install. Thanks.

  • AS2: MDN is not forwarded to PI (Integration Server)

    Hello,
    we still have some problems with the AS2 receiver configuration. FInally the AS2 message is sent out with request for synchronous MDN.
    We receive the MDN and it shows up in the seeburger message monitor (MDN: Payload state ok, correlation successful).
    However we want to forward the MDN to the Integration Server and checked therefore the flag "Handle received MDN - Refer MDN to XI system".
    I also configured the sender MDN channel and the sender agreement accordingly.
    However I do not see anything in SXMB_MONI , there is no error message either. So obviously the MDN is not forwarded as expected.
    Have you ever had similar problems? Any other settings I could check?
    Thank you for your advice!

    Make sure that you have created an AS2 Sender channel with Message Protocol Reports.
    Without checking this option, can you receive the sync MDNs in Seeburger Monitor?
    Regards,
    Prateek

  • AS2 MDN Structure - Details

    Hi all,
    I have an scenario IDOC->PI->AS2. when we send to the Partner via AS2 they sent us back a Synchronous MDN, but we don't process it yet.
    I want to build an interface to process the MDN for bussiness to check if the Invoice they sent was received succesfully on partner side.
    My question is:
    Which information come into the MDN XML? i just identify the below fields in the message monitor of Seeburger:
    Type                           sync
    MDN Message ID        <xxxx@xxxx>
    Partner ID                    xxxxx
    Payload State             ok
    Payload State Details <empty>
    MDN Timestamp         09/01/2011 00:00:26
    MDN Sigend  
    Own ID                       XXXXX
    The MDN Message ID is not the same we use for the invoice, so we cant match the messages.
    I want to build something like this:
    Associate the Invoice# with the AS2 Message ID or PI Message ID in a table, then with the information received in the MDN complete the match, and give a "Received by partner" status to the invoice.
    Maybe the MDN contains more information to complete that match.
    Please help.
    Regards.

    Hi Israel Toledo,
    Just wanted to check with if you were able to figure out this?
    Regards,
    BRV.

  • Synchronous AS2 - MDN communication

    Hello,
    in our AS2 scenario (SAP Proxy Sender --> BPM --> AS2 Receiver) we request the MDN synchronously for error handling purposes, associating the message directly to the sender message and direct update of the sender system.
    However problem is that obviously only asynchronous interfaces can be used to communicate with the AS2 adapter. So even though the MDN is requested synchronously (as http response) I cannot use a synchronous interface.
    Has anyone of you used such a synchronous scenario? How did you overcome the problem that a synchronous interface obvisouly cannot be used?
    Thank you for your update!

    hello all,
    Now i am facing the below error:
    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 AS2 Inbound Relation is missing. Missing inbound relation between AS2From: 'XXXX' and AS2To: 'YYYYY'., SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Failed to get configuration from DATABASE. MDN requested, but AS2 Inbound Relation is missing. Missing inbound relation between AS2From: 'XXXXX' and AS2To: 'YYYYY'.
    Eventhough i have maintained proper relation between Sender and recevier external party AS2ID.
    Could you please help on this.

  • Can I handle the outgoing AS2 MDN in a sync fashion ?

    ... before they are returned to the partner using the same http connection ?
    As per the guide, it tells me there is no subscription to the messagebox. I need to capture the outgoing sync mdn before it is sent to the partner (connected to a request-response port), pretty much as we are doing so today with the outgoing async mdns.
    Fabrikam will send us a message, the receive pipeline will validate, I need to handle the mdn resolution just before it goes back throught the as2 send pipeline. Is this possible ?

    Hi René,
    Not tried it personally but I hope you can. I am not sure whether you can edit the disposition. But handle it like access it context properties etc.
    Give it a go..
    In case of synchronous mode, the MDN will
    generated by the AS2 Decoder in the AS2Receive receive pipeline. You will get
    MDN message (if enabled) as well as payload message
    after the disassemble stage. Here (may be in party resolution stage) you can create a custom pipeline component to handle the MDN as per your requirement. At this stage you will have both the
    MDN and AS2 message-payload, so you have to differentiate whether it’s a MDN or payload by the following code:
    if (!(bool)inmsg.Context.Read("IsAS2PayloadMessage", "http://schemas.microsoft.com/BizTalk/2006/as2-properties"))
    //Then this is a MDN not a AS2-Payload message
    //Handle the MDN here..
    Once the MDN has been generated (after you handle it), AS2 Encoder of AS2 Send pipeline
    acts as a passthrough pipeline and route the MDN.
    Refer
    this BizTalk Hotrod magazine and check the “Custom Pipeline Component for Promoting Properties” section where the
    author handle the payload where as in your case you have to handle the MDN.
    Regards,
    M.R.ASHWINPRABHU
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Missing file name while receiving AS2 MDN acknowledgement

    We are using BizTalk 2010.
    We send one AS2 package to our TP and our TP send us back 4 Acknowledgement files.
    Most of the acknowledgement files that we receive from the TP contains the ReceivedFileName property which contains the file name, except for the 1st acknowledgement or the MDN, which doesnt contain the file name.
    Our TP has informed us that they do send us the MDN with a file name.
    In our BizTalk 2010 system :
    - We have a One-way receive port, which monitors all the content received from TP.
    - We have defined a CustomPipeline for all inbound AS2 packages (AS2Receive pipeline). In this custom pipeline, in the Execute method, I had looked at all the properties from the base message context. I was not able to find ReceivedFileName, PreservedFileName,
    AS2PayloadContentType properties. I also looked at the InBoundHttpHeaders and couldnt find the file name in there. 
    I heard that BizTalk 2010 has fixed this issue. Where can I find what was fixed? I had looked at the following links, but it didnt help: 
    http://geekswithblogs.net/VishnuTiwariBlog/archive/2010/10/14/as2-integration-between-seeburger-bis-6.0-and-biztalk-server-2009.aspx
    http://www.postseek.com/meta/60dd56c855adc621edd20d64f0b106d5
    Is there any other place, I could look for the file name?
    And what could be reason that, the system is able to retain the file name for all the other acknowledgement, but for Ack1/MDN?
    Or is there a way to look at the raw content with the header send by my TP? (tried using Fiddler / Wireshark)
    Or is there a way to prove, that I indeed not receive any file name?
    Thanks for your help.
    Thanks and Regards, Vikram

    Hi VNSuvarna,
    >>I heard that BizTalk 2010 has fixed this issue. Where can I find what was fixed?
    Here are a series of cumulative update package 6 for BizTalk Server 2010, please check which is available for you. Check out https://support.microsoft.com/en-us/kb/2855367?wa=wsignin1.0 for further information.
    >> Or is there a way to look at the raw content with the header send by my TP? (tried using Fiddler / Wireshark)
    You can also use Fiddler, it captures HTTP(S) traffic and logs it for the user to review.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can we resend AS2 MDN messages back to TP when initial try failed.

    Hi,
    We would like to auto retry a failed AS MDN messages back to our TP. We are connected with AS2 and at the channel level we set the retry interval and retry count, but it seems still the MDN is not retried automatically when initial try failed for any reason.
    Appreciate your help.
    Thanks,
    Levey

    I have and iPhone 6 and have been receiving the same error message. I have done all the trouble shooting possible, and still receive the message. Are there any other suggestions? Thank you kindly!

Maybe you are looking for

  • How to add a button to the home pages of the group wiki and user blog

    On the top of the home page of the group wiki page, there are several buttons/links like "wiki", "blog", "calendar" and "mail". I would like to add a button "svn" linked to "/svn/". Any one can help me? Thanks very much

  • Urgent! Multiple JAAS login call in one JVM

    I am using Weblogic 6.0+sp1 and JAAS login. My use case requires multiple connection to the weblogic server with different user credential for each connection. Is it possible to have JAAS login called multiple times in one JVM, each call has differen

  • Custom group reports in EM

    I have created a group in EM and have created a new report using create like in reports, copying the segments with row chaining. But it does not work. halfdba, suggested to configure space management at least for row chaining for each database in the

  • How can I access bookmarks in aurora Metro?

    Hi! I've installed aurora and started it in metro mode, so where are all the menus and stoff gone? In particular, how do I access all my bookmarms? Lots of Greetings! Volker

  • When will Firefox no longer allow plugins (like Silverlight)?

    Chrome recently published a new release that disables plugins by default. In September, they will release an update that will disallow plugins altogether. What are your plans for disallowing plugins in the future?