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 :
Microsoft Dynamics NAV (Archived)

Automation to .NET - XMLHttpConn Component

(0) ShareShare
ReportReport
Posted on by 779

Hello,

A partner is trying to post an invoice via web service and is getting an error because of an automation component: XMLHttpConn in a specific codeunit. I'm wondering about remaking it's implementation in .NET since it could solve this problem and the webclient limitations over automation also.

So I would like to know  if anyone know a .net component that could replace XMLHttpConn.

 

Best regards

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Rajasekhar@MS Profile Picture
    5,569 on at

    Hi

    Can you check the below

    System.Xml.XmlDocument.'System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

    Regards

    Rajasekhar.Y

  • Martinho Costa Profile Picture
    779 on at

    In this case, what I wanted to replace to .net is the follow expression:

    IF ISCLEAR(XMLHttpConn) THEN

     CREATE(XMLHttpConn,TRUE,TRUE);

    The System.Xml.XmlDocument doesn't look like having any kind of property to control the HTTP connection.

  • Suggested answer
    Rajasekhar@MS Profile Picture
    5,569 on at

    you have to use xml := xml.XmlDocument();

    where xml is dotnet variable, refer the below link for details

    msdn.microsoft.com/.../gg502473.aspx

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 > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans