Options

Consume NAV 2015 web service in universal app

dfredborgdfredborg Member Posts: 3
edited 2015-09-08 in NAV Three Tier
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 :-)

Comments

  • Options
    JonasAJonasA Member Posts: 28
    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).aspx
  • Options
    dfredborgdfredborg Member Posts: 3
    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...
  • Options
    Vinnie1991Vinnie1991 Member Posts: 3
    Which problems do you have then? I'm using VS2015 and I don't have any problem with the NAV SOAP services.
Sign In or Register to comment.