Вернуться   AXForum > Microsoft Dynamics NAV > NAV: Blogs
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

Опции темы Поиск в этой теме Опции просмотра
Старый 27.09.2017, 09:12   #1  
Blog bot is offline
Blog bot
20,971 / 716 (65) +++++++
Регистрация: 28.10.2006
saurav-nav: How Do I - Test My NAV Web Services.

Hi Readers,

I am working a web Service project with a customer and having trouble in communication because from NAV we actually do nothing related to web service publishing.

Let me try to explain the problem -

If a customer request you to publish a page as web services, for example, "Customer List" Page what we do.

1. We open Web Services page.
2. Add a New record, of Type Page and ID 22 and give a Service Name like cust.
3. Share the URL with the customer.

Now, what if the customer says, there we are unable to consume it to Read, Read Multiple and other web service functions what to do???

Let's discuss some of my findings.

What we do to start with is add record in web service page as shown below -

Next click on URL generated in Navision Web service Page, it will show something like this -

What Next, can we test any of these functions easily??

ok so here is what I found. If you use google chrome then there is a Chrome Free addon to test SOAP web services - Wizdler (Install Add-on Chrome using below link)

Let's see how to use -

1. Open the Web Service URL in the web browser, it will detail as below.

2. When we open in Google Chrome, we can use Wizdler to access function that web service has as shown below. We will try to use Read function from cust web service published in Navision.

3. After selecting Read, System will open in a new tab, enter the parameter required by the web services. In this case, web services request No. Parameter and let's assign a number which exists in Navision.

4. After clicking on Go as in above screenshot, the system will return all field value that is part of the Navision page web services as shown below.

Hope you find the information useful and can use it in your work. Let me know your views if we need to discuss other functions I would be happy to do that.

So all thanks to Peter Prikryl, developer of Wizdler.

Saurav Dhyani

Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
msdyncomm: How do I...Use XMLports in Web Services calls in Microsoft Dynamics NAV 2013 Blog bot NAV: Функционал 0 05.04.2013 19:11
NAV Team: Test Automation and Test Data Blog bot Dynamics CRM: Blogs 0 01.10.2010 12:56
german_nav_developer: Buildnummern-Übersicht Microsoft Dynamics NAV 2009 Blog bot Dynamics CRM: Blogs 0 04.06.2010 13:21
Freddys: Connecting to NAV Web Services from Silverlight 3 Blog bot Dynamics CRM: Blogs 0 29.01.2010 00:10
Nav developer: How to set dynamically the Key and Sort Order for the pages using NAV 2009 Web Services feature. Blog bot Dynamics CRM: Blogs 0 08.07.2009 14:04
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Часовой пояс GMT +3, время: 22:02.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.