edi as2 party and van RRS feed

  • Question


    I am using biztalk to communicate with an edi van using the AS2 protocol.  When I have one trading partner I setup a party and configure the edi settings and the as2 settings and things work find.  However when I go add the second party I have issues because I only want one as2 connection to the van but I need one party for every trading partner.  I don't know of a way to make multiple parties share the same as2 connection.  Is there a way?


    When I try and duplicate the as2 connection information in the 2nd party I get an error


     <AS2-From-GXS_AS2_ICS> already exists for Party 'gxs_foras2', specify a different Value name. (Microsoft.BizTalk.ExplorerOM)

    Tuesday, May 27, 2008 7:26 PM

All replies

  • Hi Frank,

      Can you explain how your are duplicating As2 connection information for 2nd party? are you sharing same receive /send port for both parties?

    Thursday, May 29, 2008 12:06 PM
  • I would like to share the same send and receive port because ideally there is a single connection to the VAN.  To answer your question about how did I duplicate the AS2 connection info I actually didn't get very far in the process.  I created a second party and the first thing I tried to fill out on the 2nd party was the AS2-From property.  Because this value had already been used in my first party I received the error.
    Thursday, May 29, 2008 5:29 PM
  • Frank,


    You should be able to use one AS2 port for all inbound communications, but I you need one AS2 outbound port for each separate target URL.  In your case, where the VAN is your only AS2 connection, you should have no problem using one port.


    The issue may be due to the EDI portion if you are using the combo EDIAS2 pipelines.  We have achieved what you are trying by using a send port specific to each trading partner for the EDI pipeline and then a single send port for the AS2 pipeline.


    Since your AS2 connection is to the VAN, there is no need for AS2 information in the trading party settings.  Only your party and the VAN party need AS2 settiongs.  

    Wednesday, June 4, 2008 6:15 PM
  • I can repro this issue here. The AS2-To/As2-From alias are unique for a party. Things will work even if don't give alias for party. You can share the same receive/send ports of VAN for two parties.

      To make things clear: There are two place where AS2-To and AS2-From information is given.

    First in AS2 Properties dialogue: it is mandatory to fill these details here as these are used for party resolution.

    second in party properties: I think you can skip giving AS2-To/AS2-From as alias.





    Thursday, June 5, 2008 12:12 PM
  • Hi Frank,


    As far as I have understood from the original mail, you are trying to setup 2 parties (for processing edi messages from them) and want to use the same as2 configuration for both. I would suggest you try out the following and see if it solves the problem.


    The party resolution for as2 is independent from edi party resolution. So set up a party only for the as2 specific processing from the van (i.e. configure only as2 specific properties). Now set up 2 more parties and configure only edi specific properties (corresponding to each party). This way all as2 traffic from that van will get resolved to that as2 specific party and after that the edi payload will use one of the 2 edi specific parties based on ISA values.






    Thursday, June 5, 2008 5:38 PM