How Swift consume SOAP WebService from Dynamics NAVISION

前端 未结 3 578
故里飘歌
故里飘歌 2021-01-15 01:51

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

Understand iOS 8 (Swift) does not have Web service referen

3条回答
  •  梦毁少年i
    2021-01-15 02:08

    Get a nightly build of free SoapUI. I say nightly only because some time ago it was only version that supported windows authorization, If your Nav web-service configured with another authorization type just use stable build.

    SoapUI is able to consume provided web-service URL and make sample SOAP messages for you. You can even send those messages to your service to test if its work and inspect responses.

    1. Get URL to your web-service's WSDL.
    2. Create new project in SoapUI and paste URL into Initial WSDL\WADL field and hit Ok.
    3. WSDL will be processed and in project tree there will be listed all available functions (methods) of your service.
    4. By expanding and clicking on them you can create, view and run requests against your service.

    Or watch this short video.

提交回复
热议问题