Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Error importing Dynamics NAV web service in Visual Studio

Posted on by Microsoft Employee

I'm trying, in Visual Studio 2010, to add a Web Reference to a Dynamics NAV webservice that asks me for a username\password (domain user : domain\user.

If I try in the browser, after putting the user/password I get to the WSDL with no problem.

In "Add Web Reference" window in VS2010 I get the following message in the "Web Services found at this URL" box :

> *There was an error downloading 'WS URL?wsdl'. The request failed with the error message:

   <s:Envelope xmlns:s="schemas.xmlsoap.org/.../"> <s:Body> <s:Fault> <faultcode xmlns:a="urn:microsoft-dynamics-schemas/e**

It seems it's missing the rest of the error message. I've searched in Event Viewer for a similar error but nothing found.

I found in the "Security" section in Event Viewer an "Audit Success" event to the supplied user/password in the Web Service server as Target Server and then 3 similar events but with the user that is logged in the machine i'm using.

It seems it tries to retrieve part of the Web Service information with the supplied user and the rest of the info with the logged in user. And with the logged in user it doesn't retrieve the info.

*This post is locked for comments

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,104 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans