Web Service cannot start

abinashphuel
Member Posts: 18
In NAV17 environment I created Page Web Services following Walkthrough: Creating and Interacting with a Page Web Service (OData) (https://msdn.microsoft.com/en-us/library/hh166960(v=nav.90).aspx).
But when I tried to run the web services can’t reach this page message is displayed in browser.

PS. I have disabled firewall, set rule to allow the port (7048) and also checked on enable OData Services in NAV Administration.
1. In command prompt I wrote the following code and I found that port 7048 is listed as TCP and listening
How to start the web service?
But when I tried to run the web services can’t reach this page message is displayed in browser.

PS. I have disabled firewall, set rule to allow the port (7048) and also checked on enable OData Services in NAV Administration.
1. In command prompt I wrote the following code and I found that port 7048 is listed as TCP and listening
netstat -an2. When Write following in Cmd following outpot is shown
telnet host 7048---> Connecting To host...Could not open connection to the host, on port 7048: Connect failed
How to start the web service?
0
Best Answer
-
Change localhost to IP and in administration cross verify that SOAP Service and Odata are enabled.Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/5
Answers
-
Check the port and servicename. Also localhost will only work if running Internet Explorer on the same machine that the NST is running on.1
-
Check the 'Host' file in the client machine you are opening the Web Page. Open the File and provide the Host Server IP in place of Localhost that might server your purpose.1
-
Have you checked the Windows Event Viewer Application Logbook? If you start the NST you should see an information event like:
Server instance: DynamicsNAV100 <ii>The Microsoft Dynamics NAV Data Service service is listening to requests at http://[FQDN]:7048/DynamicsNAV100/OData.</ii>
If anything went wrong during NST startup you should find an error in this logbook.1 -
Change localhost to IP and in administration cross verify that SOAP Service and Odata are enabled.Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/5 -
Is your Error Solved?
Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0 -
I checked and uncheckedRockWithNAV wrote: »Change localhost to IP and in administration cross verify that SOAP Service and Odata are enabled.
Although I didn't change the IP, I tried to restart the services enabling and disabling OData, it suddenly works! (I tried it earlier but didn't work at that time).
Beside I tried with different browser and also create separate instance for OData only ( I can see the result at this time) .0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 320 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