none
Unable to receive encrypted file over AS2 and send synchronous MDN back RRS feed

  • Question

  • Hi guys,


    I am new to AS2. My client is sending me a file over AS2 on a synchronous call. which means i have to send back the MDN. i am using Biztalk 2010. i receive the file but i am not able to send the mdn back.

    I get the following error:


    A response message sent to adapter "HTTP" on receive port "ReceiveFromParty" with URI "/BTSHTTPReceive.dll" is suspended.

    Error details: There was a failure executing the response(send) pipeline: "XXXXX" Source: "AS2 encoder" Receive Port: "ReceiveFromParty" URI: "/BTSHTTPReceive.dll" Reason: Unable to access party using send port: ReceiveFromParty.

    ReceiveFromParty is the receive port that i use to receive from client. its configured to use AS2 receive and send pipelines.

    The problem is i cannot add that receivePort to the party send ports since its not a send port.


    Please help as it is quite urgent..

    Thanks



    Thursday, May 31, 2012 12:32 PM

All replies

  • Come on experts :)

    this is really urgent, i would really appreciate your help. its a live environment


    Regards, Mazin - MCTS BizTalk Server 2006

    Friday, June 1, 2012 8:18 AM
  • This link may help:

    http://msdn.microsoft.com/en-us/library/bb968178(v=bts.20).aspx

    Now that I think about it, the MDN response transmission is controlled by the sender of the AS2 message.  I believe your partner may be requesting an asynchronous MDN.  If this is the case, you will need to create a dynamic send port and bind this send port to the appropriate party.   See the following for details:

    http://msdn.microsoft.com/en-us/library/bb727975



    David Downing... If this answers your question, please Mark as the Answer. If this post is helpful, please vote as helpful.


    Monday, June 4, 2012 9:04 PM
  • My client is requesting a synchronous mdn.

    This case has been open long time ago and i am getting desperate from this .... Why cant microsoft provide a detailed step by step for configuring how to receive AS2 messages and responding with a synchronous MDN. I thought this is a typical scenario!!

    I am using BizTalk 2010, Windows server 2008 R2 .

    PLEASE HELP!!

    This is the error i am gettting:

    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:encodingStyle="<SOAP:Body><SOAP:Fault><faultcode>Microsoft">http://schemas.xmlsoap.org/soap/encoding/"><SOAP:Body><SOAP:Fault><faultcode>Microsoft BizTalk Server Negative Acknowledgment </faultcode><faultstring>An error occurred while processing the message, refer to the details section for more information </faultstring><faultactor>/BTSHTTPReceive.dll</faultactor><detail><ns0:NACK Type="NACK" xmlns:ns0="<NAckID>{DE19075A-2EDA-4B75-8D50-06D4A5D6CE8B}</NAckID><ErrorCode>0xc0c01675</ErrorCode><ErrorCategory>0</ErrorCategory><ErrorDescription>A">http://schema.microsoft.com/BizTalk/2003/NACKMessage.xsd"><NAckID>{DE19075A-2EDA-4B75-8D50-06D4A5D6CE8B}</NAckID><ErrorCode>0xc0c01675</ErrorCode><ErrorCategory>0</ErrorCategory><ErrorDescription>A request-response for the "HTTP" adapter at receive location "/BTSHTTPReceive.dll" has timed out before a response could be delivered. </ErrorDescription></ns0:NACK></detail></SOAP:Fault></SOAP:Body></SOAP:Envelope>


    Regards, Mazin - MCTS BizTalk Server 2006


    Tuesday, July 10, 2012 2:49 PM
  • MDN delivery is controlled by the sender of the original AS2 message.  Refer to the AS2 RFC: http://www.ietf.org/rfc/rfc4130.txt (page 20 - 22)

    Can you capture the incoming AS2 messages using a network utility like Fiddler?  The AS2 component should respond to your clients message automatically.

    If the HTTP headers include the following, then an MDN is being requested:

    Disposition-Notification-To: <some data>

    If the HTTP headers include the following, then the MDN should be sent asynchronously using the uri from the header:

    Receipt-Delivery-Option: <some uri>

    There might be an override setting in the AS2 properties to send the MDN asynchronously, so check to make sure any overrides are not set.  I don't have EDI/AS2 currently installed on my system right now, and I can't remember.

    One other comment on processing synchronous MDNs, if the amount of time needed to process the original AS2 message takes longer than the HTTP request / response timeout (which seems to be the error you're receiving above), the HTTP adapter will send a NACK response.

    If you do have any processing going on, try disabling it temporarily to see if your AS2 processing can complete successfully.


    David Downing... If this answers your question, please Mark as the Answer. If this post is helpful, please vote as helpful.




    Tuesday, July 10, 2012 4:36 PM
  • Thanks David for the valuable information.

    The system does not do any processing .. There is a receive location that receives the file and a send port with filter that tranfers the file to a destination. no orchestrations involved,, no custom calculations involved

    Let me describe more my environment. I am using BizTalk 2010. under parties tab you can create profiles for the parties that you communicate with . then create an agreement.

    so in the agreement's properties you have two tabs:

    1- My company -> Client

    2- Client -> My company

    since my client is sending the MDN configuration, should i leave all the MDN configurations on the ( Client -> my company) tab empty?

    Its misleading to have configurations for MDN on (Client-> my company) tab when all the configuration for MDN is sent by client

    I will download Fiddler and let you know how the client's message look like

    Thanks,


    Regards, Mazin - MCTS BizTalk Server 2006


    Wednesday, July 11, 2012 8:37 AM
  • Can you also provide all of the specifics for the Receive Port, Receive Location, Receive Pipeline, ...

    Make sure to cleanse the data of any sensitive data or URIs.

    NOTE: I also found this tutorial that may also shed some light on how things work relating to AS2: http://msdn.microsoft.com/en-us/library/bb245935.aspx


    David Downing... If this answers your question, please Mark as the Answer. If this post is helpful, please vote as helpful.


    Wednesday, July 11, 2012 2:28 PM
  • Here's a walkthrough of how to configure a AS2 receive port using synchronous MDN: http://msdn.microsoft.com/en-us/library/bb743306.aspx

    Maybe this would help you a bit to check your configuration.


    Kind regards, Mitch Vanhelden Blog: http://mitchvanhelden.blogspot.com

    Friday, July 13, 2012 11:17 AM
  • Please verify below mentioned things

    1) You are using two way request response receive location

    2) Receive pipeline AS2Receive, Send Pipeline AS2 Send

    3) Confirm if Partner is sending MDN configuration in incoming message

    4) If not you can set it in (Client->MyOrg MDN setting). MAke sure to set it for synchronous communication and not for Async.

    3) If you still find same issue. Try to look into context property of suspeneded messgae and verify the AS2 setting

    Still facing same issue try following below mentioned link for step by step setup

    http://msdn.microsoft.com/en-us/library/bb743306.aspx

    Monday, July 16, 2012 12:07 PM
  • Hi Anand,

    I checked all the above, i am desperate to solve this problem, been taking weeks!

    3 errors are showing in my event viewer in the following order:

    1) An error occurred when validating an AS2 message.  Make sure the certificates used have not timed out or been revoked."

    2) A request-response for the "HTTP" adapter at receive location "/BTSHTTPReceive.dll" has timed out before a response could be delivered.

    3) Unable to access party using send port: ReceiveFromFirstB2B.

    The certificate is fine because we are sending that partner files and siging them with the same certificate

    Our partner confirmed that they properly configured the certificate .

    Also please note that i have configured the certificates in the correct certificate stores according to microsoft

    Please any suggestions?


    Regards, Mazin - MCTS BizTalk Server 2006



    Wednesday, July 18, 2012 10:55 AM
  • Were you able to view the incoming message using Fiddler?

    If so, was the partner requesting a synchronous or asynchronous MDN?  If asynchronous, did you configure a dyncamic send port and specify it in the agreement?

    Have you tried using unsigned/unencrypted AS2 exchanges to make sure AS2 is configured correctly?

    What version of BizTalk are you using?


    David Downing... If this answers your question, please Mark as the Answer. If this post is helpful, please vote as helpful.

    Wednesday, July 18, 2012 2:04 PM
  • Sorry for late reply.

    If issue is  not yet resolved can you please verify the thing mentioned in link below

    http://social.msdn.microsoft.com/Forums/nl/biztalkediandas2/thread/2ce5e44c-7a1e-4761-b3d7-005c481e271f

    http://msdn.microsoft.com/en-us/library/bb898960(v=bts.20).aspx

    Let me know if this help.

    Monday, July 30, 2012 6:29 AM
  • Crux of AS2 communication is certificate configuration. Can you please verify your set up against below article:

    http://geekswithblogs.net/VishnuTiwariBlog/archive/2010/06/22/biztalk-as2-certificate-configuration.aspx


    Best Regards, Vishnu

    Thursday, August 9, 2012 4:13 AM
  • Hello Mazin84,

    Did you get it working in the end and can you share the solution? I have exactly the same problem.

    The certificates are fine, because receiving and decrypting AS/2 messages from party is working and sending, encrypting, signing AS/2 messages to party is also working. The problem occurs only during sending MDN. We have the following exceptions in the eventlog.

    • A request-response for the "HTTP" adapter at receive location "/BizTalk/BtsHttpReceive.dll" has timed out before a response could be delivered.
    • There was a failure executing the response(send) pipeline: "Microsoft.BizTalk.EdiInt.DefaultPipelines.AS2Send, Microsoft.BizTalk.Edi.EdiIntPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Source: "AS2 encoder" Receive Port: "RcvPrt_XMLMessages" URI: "/BizTalk/BtsHttpReceive.dll" Reason: Unable to access party using send port: RcvPrt_XMLMessages.
    • A response message sent to adapter "HTTP" on receive port "RcvPrt_XMLMessages" with URI "/BizTalk/BtsHttpReceive.dll" is suspended.
       Error details: There was a failure executing the response(send) pipeline: "Microsoft.BizTalk.EdiInt.DefaultPipelines.AS2Send, Microsoft.BizTalk.Edi.EdiIntPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Source: "AS2 encoder" Receive Port: "RcvPrt_XMLMessages" URI: "/BizTalk/BtsHttpReceive.dll" Reason: Unable to access party using send port: RcvPrt_XMLMessages. 

    Regards,

     

    Renz

    Wednesday, November 7, 2012 1:37 PM