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 :
Small and medium business | Business Central, N...
Answered

Send XML data using HTTP POST in NAV 2016

(0) ShareShare
ReportReport
Posted on by 35

I do not have much knowledge on using HTTP. I haveve created an XMLPort and I want to send the exported data of this XMLPort to the URL. The code that I've written to test the URL is:

HTTPWebRequest := HTTPWebRequest.Create('service.ariba.com/.../cxml.asp');
HTTPWebRequest.Method := FORMAT('POST');
HTTPWebResponse := HTTPWebRequest.GetResponse;

var

HTTPWebRequest    DotNet    System.Net.HttpWebRequest.'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
HTTPWebResponse    DotNet    System.Net.HttpWebResponse.'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

Need help with the remaining code which sends XML as a stream in this POST request.

TIA.

I have the same question (0)
  • Verified answer
    ishwarsharma016 Profile Picture
    35 on at

    Got needed guidance from forum.mibuso.com/.../xml-api-integration

  • Andy Sather Profile Picture
    on at

    Thank you for replying back with the answer to this.

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,226

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,047 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,257 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans