Metadata publishing error with Web Service

NickMtl
Member Posts: 3
I started the Nav 2009 Web Service this morning for the first time. When I tried to list the available services at http://localhost:7047/DynamicsNav/WS/Services I got a blank page.
If I try to go to http://localhost:7047/DynamicsNav I receive the following message : "Metadata publishing for this service is currently disabled".
Has anybody ever seen this message with NAV Web Service?
Thanks
Nick
If I try to go to http://localhost:7047/DynamicsNav I receive the following message : "Metadata publishing for this service is currently disabled".
Has anybody ever seen this message with NAV Web Service?
Thanks
Nick
0
Comments
-
I have not seen the "Meta Data Publishing" error before. To get your web service running you might want to take a look at your server's CustomSettings.config file (should be in the directory where your service is installed).
You want to check these settings:
WebServicePort - you are assumming 7047 which is the default value
ServerInstance - you are assumming DynamicsNAV
(If you change anything you need to restart your service.)
Also make sure the web service is running (it is not by default) - but you seem to have taken care of that.Jens Tidemann
Microsoft, Dynamics NAV
This posting is provided "AS IS" with no warranties, and confers no rights.0 -
We have this error on 2 different Nav Server. The error page refers to http://go.microsoft.com/fwlink/?LinkId=65455
It asks me to add the following xml :<behaviors> <serviceBehaviors> <behavior name="MyServiceTypeBehaviors" > <serviceMetadata httpGetEnabled="true" /> </behavior> </serviceBehaviors> </behaviors>
Nick0 -
NickMtl wrote:We have this error on 2 different Nav Server. The error page refers to http://go.microsoft.com/fwlink/?LinkId=65455
It asks me to add the following xml :<behaviors> <serviceBehaviors> <behavior name="MyServiceTypeBehaviors" > <serviceMetadata httpGetEnabled="true" /> </behavior> </serviceBehaviors> </behaviors>
Nick
Where shall I add these lines!0 -
The error about the metadata publishing being disabled is not an error - I get that too and Web Services works just fine here.
http://localhost:7047/DynamicsNAV is not supposed to give you anything but this error.
However http://localhost:7047/DynamicsNAV/WS/Services should give you a list of exposed services (which at least should contain the SystemService if you haven't exposed anything) if the Web Services listener is configured correct and running.
Do not try to find a location to insert the lines mentioned - it will not solve any problems.Freddy Kristiansen
Group Program Manager, Client
Microsoft Dynamics NAV
http://blogs.msdn.com/freddyk
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.0 -
freddy.dk wrote:The error about the metadata publishing being disabled is not an error - I get that too and Web Services works just fine here.
http://localhost:7047/DynamicsNAV is not supposed to give you anything but this error.
However http://localhost:7047/DynamicsNAV/WS/Services should give you a list of exposed services (which at least should contain the SystemService if you haven't exposed anything) if the Web Services listener is configured correct and running.
Do not try to find a location to insert the lines mentioned - it will not solve any problems.
I don't see any list of exposed services. I see only a blank page. I think the Web Services listener is configured correctly. What shall i do? Please help me!0 -
Which browser are you using?
Have you installed NAV using the Install Demo?
Have you changed customsettings.config after installing?
Have you started the Business Web Services service in Services (default not started)?Freddy Kristiansen
Group Program Manager, Client
Microsoft Dynamics NAV
http://blogs.msdn.com/freddyk
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.0 -
I used firefox and the internet explorer. both the same!
but i have installed NAV for developers and not the demo,Maybe there's the problem!0 -
We have seen a couple of posts, wherer firefox has problems displaying our WSDL.
viewtopic.php?f=32&t=31351&hilit=firefox
This post also states that IE6 has problems, but IE7 and VS works - have you tried Microsoft Infopath or VS?Freddy Kristiansen
Group Program Manager, Client
Microsoft Dynamics NAV
http://blogs.msdn.com/freddyk
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.0 -
freddy.dk wrote:... have you tried Microsoft Infopath or VS?
tried for what? I first want to display the available services. ](*,)
thank you for your help!0 -
When you create a web reference in Visual Studio (and Infopath), there is a wizard which allows you to see the discovered services, just as you would in a web browser. Can you check to see if they are discoverable in VS?
Also, which OS are you using? Win2003 and Win2008 have some extra security around IE, which might explain what you are seeing.Tom Cornelius
Test Lead
Microsoft Dynamics NAV
This posting is provided "AS IS" with no warranties, and confers no rights.0 -
mschneider wrote:I first want to display the available services. ](*,)0
-
I am where you were. Can you remember how you resolved your problem ?
My web address matches my CustomSettings.config.
I have started the Microsoft Dynamics NAV Business Web Service
Adding a Web Reference in VS doesnt show the Microsoft Dynamics NAV Business Web Service in the list of available services.
I have added the customer page in form 810 as 'Published'.
I am working in a VPC running XP SP3.0 -
I have exact same problem as well.
Did you get a solution for that yet?0 -
Seems like it's because of Windows XP.
Windows 2003/2008 have no problem~0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions