Webservice fails to update

Dakkon
Member Posts: 192
Has anyone else encountered issues with webservices not updating properly? I have renamed fields, added fields, and removed fields from tables (along with their exposed page objects) and the changes do not show up on the web reference when I update it in visual studio. I have run into this same problem in the past only to have the objects finally refresh after a lot of tinkering with adding and deleting bogus fields. Does Navision cache the definition of these objects somewhere? This is infuriatingly frustrating, it's really making me hate Navision web services. ](*,)
Thad Ryker
I traded my sanity for a railgun
I traded my sanity for a railgun

0
Comments
-
To clarify further, I found that when I inserted a new field in between others, it did not get picked up. However, when I created a new field with an ID higher than all other existing ones, it magically refreshed correctly. Then, I go back in and delete this bs field and refresh again, and now my service correctly reflects the page object. This is incredibly stupid and all I can think is that the Navision server is caching the definition somewhere and not checking in a thorough fashion to detect if the object has changed (though you think it would look at the frack'n date, time and size). I tried restarting the services, and removing the page object from the service list and re-adding it, all of which themselves did no good. I'm guessing not that many people add services and then go changing them a lot, but for the project I'm working on this is pretty common in the dev stages.Thad Ryker
I traded my sanity for a railgun0 -
I have similar problem.
I made CodeUnit with function which have XMLPort as parameter.
And started WS for this codeunit.
But after changing XMLPort, the WS schema for XMLPort isn't changing.
I tried to restart WS, added removed fields to XMLPort, enabled disabled WS in NAV, recompiled CU and XMLPort but without luck
How to update WS schema?0 -
Maybe the problem is that environment is without AD....
In other network with AD web service updates without problems.
I found workaround, by adding new middle services. Then the new service is showing changed objects, but also only once...
So to make changes in web service schema, I must every time reinstall middle tier.
There must be a way to reset cashed Web services schema info. ](*,)0 -
Well in my case we have active directory but I still have to jump through these stupid hoops to get the service to update itself appropriately.Thad Ryker
I traded my sanity for a railgun0
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