Consume NAV 2015 web service in universal app
dfredborg
Member Posts: 3
Hi, i hope someone can help me with a very frustrating problem i am having 
I am trying to create an universal app. That consumes a soap web service, in my case it is just the customer page, however it seems like all the documentation i can find on msdn uses Web reference, the only problem is that VS 2015 / universal apps dose not support web reference anymore but uses WCF.
I have tried searching on google where i found this:
http://blogs.msdn.com/b/freddyk/archive ... rsion.aspx
However unfortunately this approach seems to be outdated, so i am hoping someone might be able to point me in the right direction :-)
I am trying to create an universal app. That consumes a soap web service, in my case it is just the customer page, however it seems like all the documentation i can find on msdn uses Web reference, the only problem is that VS 2015 / universal apps dose not support web reference anymore but uses WCF.
I have tried searching on google where i found this:
http://blogs.msdn.com/b/freddyk/archive ... rsion.aspx
However unfortunately this approach seems to be outdated, so i am hoping someone might be able to point me in the right direction :-)
0
Comments
-
Depending on your Dynamics NAV version, you could be able to use OData in the web service.
As far as I can tell that should be possible in WCF:
https://msdn.microsoft.com/en-us/library/cc668810(v=vs.110).aspx0 -
thanks for your reply.
Yeah I have looked into using oData instead of soap, and as you mentioned it might be the way to go. However as far as i know that means that i can only connect to NAV 2015+ which would be find. Even though we all know that sooner or later someone will come with a NAV 2013, and ask for support...
The funny thing is however that VS 2015 has no problem consuming a NAV soap service, but for the life of me, I just cant get the auto generated classes to fit together with each other...0 -
Which problems do you have then? I'm using VS2015 and I don't have any problem with the NAV SOAP services.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 329 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