AX 4.0 - AIF - Biztalk - Axapta

This is a discussion on AX 4.0 - AIF - Biztalk - Axapta ; Hello, I play around with AX4.0 and Biztalk. It works, when I send asynchron from AX to Biztalk and Biztalk generates a file. My problem is the synchron-way "Biztalk-->AIF-->Biztalk". I wants to get a appropriate SalesOrder from AX. When I ...

+ Reply to Thread
Results 1 to 2 of 2

AX 4.0 - AIF - Biztalk

  1. Default AX 4.0 - AIF - Biztalk

    Hello,

    I play around with AX4.0 and Biztalk.
    It works, when I send asynchron from AX to Biztalk and Biztalk generates a
    file.
    My problem is the synchron-way "Biztalk-->AIF-->Biztalk".
    I wants to get a appropriate SalesOrder from AX.

    When I look into "Basic-Periodic-AIF-Exceptions" I find the following message:
    "User is not authorized for this Endpoint."

    In "Endpoints(user tab) I have select "User type: User" and
    "Application user or group: admin".

    In the "Action Policies" I have selected and enabled the following
    entrys:
    - createSalesOrder
    - findEntityKeyListSalesOrder
    - findListSalesOrder
    - readSalesInvoice
    - readSalesOrder

    My AX-User "Administration-User" is:
    Alias: sts
    Network Domain: domainname.local
    User ID: Admin
    User name I left blank

    My Business Connector Proxy
    ("Administration-Setup-Security-Business Connector Proxy")
    is:
    Alias: sts
    Network Domain: domainname.local

    My initializing xml-File contains:
    <SourceEndpointUser>domainname.local\STS</SourceEndpointUser>

    In Biztalk I have configured the send port to:
    Authentication Type: Proxy user
    Gateway User: Domainname\sts
    Proxy Password: *******
    Proxy User: kcs\sts
    SSO Affiliate: left blank
    AOS - Server and -Port set correctly.

    Have anyone a hint for me?

    Thanks.

  2. Default RE: AX 4.0 - AIF - Biztalk

    I have figured out, that in the method AifMessage.getAxUsers I have two
    variables:
    - sourceEndpointUserId (my correct Domain-User who is also inscribed in the
    Endpoint)
    - submittingUserId (my local workstation-Admin-user, who is NOT inscribed in
    the Endpoint)

    submittingUserId is set in the new-Method of the AifMessage-class.
    Now I try to check where the AifMessage is instanced.
    But this don`t seem to be simple... :-)

    I have no idea where and why my local-admin-user is used in this variable.


+ Reply to Thread