web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

How Swift (iOS 8) consume NAV Web Service

(0) ShareShare
ReportReport
Posted on by

Hi,

I have been looking for the above for quite a while without any success.

1.  I have used Win8 (tablet app) to consume NAV Webservice with success. In VS2012, there is Service reference folder which I can add to consume NAV Web service.

2. in XCode (for iOS 8) using Swift language, there is no Service Reference folder to add for NAV Web Service

I have searched in internet, iOS 8 (Swift) Does not have Web service reference just like VS2012 does. So, in this respect, how iOS 8 can consume NAV webservice ? What are the methods available?

3. Does NAV Provide  JSON webService?

Thanks

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    say, this is the NAV Web Service, for example, use in our Tablet App:

    (1) http://serverIPAddr/DynamicsNAV/WS/Page/Sales_Header


    and this is the C# Webservice with extension .asmx,

    (2) Say, it looks l  http://www.company.com/webservices/tempconvert.asmx", 

    I would like to know :

    a) is (1) Nav Web Service extension is the same as .asmx as in (2) or different?

    b) Can I use Http to pass the Soap Envelope to NAV  like below:

    string strSOAP = "

    <?xml version="1.0" encoding="utf-8"?>

    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

    <soap:Body>

    <GetCountries xmlns="http://www.webserviceX.NET" />

    </soap:Body>

    </soap:Envelope> ";

  • Suggested answer
    keoma Profile Picture
    32,729 on at

    hi,

    there are many results for search "ios 8 consuming web service":

    best results: highoncoding.com/.../809_Consuming__NET_Web_Services_in_an_iOS_Application.aspx

    mycodetips.com/.../tips-consume-net-webservice-ios-applications-751.html

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans