Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Connect to AX2012 inbound from IIS,but only be connected for 1 minute

(0) ShareShare
ReportReport
Posted on by 75

I published ServiceGroup through AX2012, and successfully called AX Class with the C # project of WebAPI.

However, I recently found that the connection between IIS and AX2012 can only last for 1 minute.

When the return value is not obtained for 1 minute, C # will automatically disconnect, and AX logic is still running normally.

I checked some data. The connection time in AX Inbound is the default value (5 minutes?)

Where can I set this parameter in IIS or AX

  • xiaoshuai.fan Profile Picture
    75 on at
    RE: Connect to AX2012 inbound from IIS,but only be connected for 1 minute

    As stated in the information provided, after I specify sendTimeout for binding, I can now control the request time.

    This is the part I missed in the development. I will definitely remember it clearly in the future

    Thank you very much for your help, which perfectly solved my problem.

  • Verified answer
    Martin Dráb Profile Picture
    233,025 Most Valuable Professional on at
    RE: Connect to AX2012 inbound from IIS,but only be connected for 1 minute

    You mentioned a single timeout ("The connection time in AX Inbound is the default value"), but WCF actually uses several timeouts, both on the server and on the client. Check out Configuring Timeout Values on a Binding.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,321 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,025 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans