Skip to Content
author's profile photo Former Member
Former Member

Seeburger AS2 Adapter: Receiving multiple messages

Hi guys,

I'm having some trouble using AS2 Adapter for receiving multiple messages. The problem is really similar to Peter's problem.

seebuger-as2-adapter-for-xi-as-sender-for-multiple

I have it configured for one scenario and it's working fine. The problem is when I'm trying to receive other messages for the same Party but different services. Meaning, I've one Party(example BMW) and several services (BMW_DE, BMW_USA, etc). I'm able to receive messages from service BMW_DE but when configuring BMW_USA I'm getting HTTP 403 Forbidden.

This error may have different reasons:

a) You or your partner has entered an incorrect AS2 ID for one of the involved parties.

b) A valid sender agreement is missing.

c) There are more then one AS2 sender agreements with the same sender AND receiver party.

d) The corresponding inbound channel is set to inactive.

And the problem is that there are two sender agreements. Although the services are different, XI is not able to find the correct sender agreement to be used. After deleting the second second agreement, I'm able to send the respective message....

Can anyone give me a hint on how to solve this problem?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 19, 2008 at 12:10 PM

    Hi,

    this is done by different AS2 subjects. The sender agreement is selected based on this. So create separate AS2 receiver adapters for every message you need and put there different message subjects.

    So if you'll have 3 AS2 receiver channels with subjects:

    MessageType1_DE

    MessageType1_US

    *

    the AS2 adapter will work like following:

    first it tries to find an exact message subject, if it is found, message is "assigned" to this sender agreement. If no exact message matches the subject, then wildcards are used. (this mechanism is described in the Seeburger AS2 guide).

    If you are getting 403 HTTP code, there may be also problem with authentication certificates.

    Another problem may be, you don't have configured AS2 receiver channel for current subject.

    Does this help you? Or you meant it another way?

    Peter

    p.s. check the answer above my post, Vardharajan's right

    Edited by: Peter Jarunek on May 19, 2008 2:11 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 19, 2008 at 12:03 PM

    Hi,

    Can u tell me Whether BMW_DE and BMW_USA both have same AS2ID. If both have the same AS2 id,then why do u want to create two different sender agreements. Can u elobrate the scenario.

    While receiving AS2 message, if the AS2ID's are not matching, then you will get this errror.

    With Regards

    K.Varadharajan

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.