WebService reference not updated in .Net

Bogdan9119
Member Posts: 14
I have a NAV page published as a webservice but the client .NET app can't update the Reference.cs file which contains definitions for all classes, enums, fields, etc from the webservice. In Visual Studio I tried updating the web references but still no help. For example there is the following enum definition in Reference.cs:
public enum WarehouseShipmentList_Fields {
/// <remarks/>
No,
/// <remarks/>
Location_Code,
....
}
At the bottom of the enum there should be the value:
/// <remarks/>
PickingType
... but it's not appearing, although when loading the page through the browser it shows the missing field (see the attached screenshots). Can you please help?
public enum WarehouseShipmentList_Fields {
/// <remarks/>
No,
/// <remarks/>
Location_Code,
....
}
At the bottom of the enum there should be the value:
/// <remarks/>
PickingType
... but it's not appearing, although when loading the page through the browser it shows the missing field (see the attached screenshots). Can you please help?
0
Answers
-
Looking at it though it looks like it is showing it as an integer field and not an option field in the webservice description screenshot. Therefore it is expecting a basic integer value. It looks like the page is not exposing as a pick list as such. What is the type of the field in the table? For example, in your web service Sorting Method is showing correctly as option field.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