web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How to send JSON file from AX to service bus in Ax 2012 R3

(0) ShareShare
ReportReport
Posted on by 30

Hi All,

Request you please let me know how to send the JSON file using x++ code to service bus. 

@'{"ItemId": "3583609",
"WarehouseId": "210",
"AvailableQty": 10,
"OrderedQty": 4,
"OrderedAvailableDate": "20191105",
"DocumentType": "ErpNewSum"}';

using the following info like  keyName, Key and address URL. 

Please help

Regards,

Ranjan

I have the same question (0)
  • nmaenpaa Profile Picture
    101,160 Moderator on at

    First you need to contact the owner of the service and get some documentation about it. Perhaps they can even provide sample C# code which you could use.

  • Suggested answer
    Martin Dráb Profile Picture
    237,878 Most Valuable Professional on at

    Consult Azure Service Bus libraries for .NET.

    You can either use the library directly from X++ (via .NET Interop), or create a custom C# library, use the C# code directly there and call this custom library from X++.

  • R Ranjan Kumar Profile Picture
    15 on at

    Thank you Martin for quick suggestion.

    Could you please share me some trips how to create the x++ job using .NET Interop. it will help me to proceed further.

  • Martin Dráb Profile Picture
    237,878 Most Valuable Professional on at

    If you're looking for an introduction to .NET Interop, try .NET Interop from X++ page in AX documentation.

  • Suggested answer
    Dip Kanjilal Profile Picture
    on at

    Hello R Ranjan,

    The article Martin shared explains it all. docs.microsoft.com/.../net-interop-from-x

    Please let us know if you already received the help you were looking for from this forum by verifying the suggested answers.

    Regards,

    Dip

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 646 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans