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)

Unable to add a reference of NAV web service to a .NET application

(0) ShareShare
ReportReport
Posted on by 55

Hi,

Iam trying to add a Service reference of a Nav Web Service to my .NET console application.

When i try to do this iam not able to add a reference and i get an error.

The error message is as follows:

There was an error downloading '192.168.9.215/.../AlfFail$metadata'.

I request you to kindly help me out on this.

Thanks in Advance,

Pankaj

*This post is locked for comments

I have the same question (0)
  • Tobias Strobelt Profile Picture
    152 on at

    Hi Pankaj,

    Can you please try to enable (if possible) NTLM authentication on your NAV service (Dynamics NAV Administration Console -> "Use NTLM Authentication"). Also please re-publish the webservice and check if the webservice is accessible through http in Internet Explorer.

    Best regards

  • Suggested answer
    keoma Profile Picture
    32,729 on at

    hi

    * be sure that you refer the nav webservice as .net web service and not as wcf service.

    inserting a new service reference in VS (>=2010) means in 1. instance a wcf service. the button for the web service is in the bottom left corner of the service reference dialog.

    * check in your as web service published nav object (hopefully a CU, not a page) the function parameters and the return type. be sure that the used parameters in the functions are all plain and simple. so, do not use array or other datatypes, that are not serializable. only use text, int, etc.

    best regards

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