Web service setup

Mike_Heffner
Member Posts: 32
Hello,
I am trying to implement Rashed’s process to replace Job Queue with SQL jobs.
I have everything in place in NAV according to his notes, but when I try to check the web services with IE I get a message indicating the webpage cannot be found. The address I am using is “http://NAV-SRV-01:7047/MyDev/WS/services”. When I use “http://NAV-SRV-01:7047/DynamicsNAV/WS/services” it comes back with a list of services as expected. I have read everything I can find and still am unable to determine how to troubleshoot this. However, here is one question I have that I can’t find documented.
Currently there is a service on the server named “Microsoft Dynamics NAV Business Web Services”. This obviously handles the request to the demo database just fine as indicated above. Does this also interface to the new Development DB I created? I did set up a service to provide RTC access to that new DB using port sharing, etc. The RTC connection to that DB is working fine.
Or, do I need to create a new service to handle web service requests to that? If I need to create a new one, can you direct me to documentation that would give me some guidelines on how to set that up? If I don’t need a new one then can you give me suggestions on what to check next?
Thanks in advance for any help,
Mike
I am trying to implement Rashed’s process to replace Job Queue with SQL jobs.
I have everything in place in NAV according to his notes, but when I try to check the web services with IE I get a message indicating the webpage cannot be found. The address I am using is “http://NAV-SRV-01:7047/MyDev/WS/services”. When I use “http://NAV-SRV-01:7047/DynamicsNAV/WS/services” it comes back with a list of services as expected. I have read everything I can find and still am unable to determine how to troubleshoot this. However, here is one question I have that I can’t find documented.
Currently there is a service on the server named “Microsoft Dynamics NAV Business Web Services”. This obviously handles the request to the demo database just fine as indicated above. Does this also interface to the new Development DB I created? I did set up a service to provide RTC access to that new DB using port sharing, etc. The RTC connection to that DB is working fine.
Or, do I need to create a new service to handle web service requests to that? If I need to create a new one, can you direct me to documentation that would give me some guidelines on how to set that up? If I don’t need a new one then can you give me suggestions on what to check next?
Thanks in advance for any help,
Mike
0
Comments
-
You must create a new service for each database.
This is here explained:
http://blogs.msdn.com/b/freddyk/archive/2008/10/29/multiple-service-tiers.aspx for NAV2009
and updated files for NAV2009 SP1 can you find here:
http://blogs.msdn.com/b/freddyk/archive/2009/08/05/multiple-service-tiers-sp1.aspx
With thanks to Freddy0 -
Thanks for the reference. Freddy's info was helpful. I am not sure I want to implement his bat files right now, but reading throught them provided a few clues for me.
For one thing, I was not using "type= share" on the "sc create" command. I put that on the command and now when I start the service I get the following error message:
"Error 1083: The executable program that this service is configured to run in does not implement the service."
I did a search and found a number of posts referring to this, and applied a couple of recommended changes to the registry. Also verified that BITS is running. However, I am still getting the error.
Any one have any ideas how to trouble shoot this?
Thanks,
Mike0 -
I finally was able to get this working. As it turns out the name of the web service is important. That wasn't obvious to me from the documentation. Here is a link to an MSDN article that explains this:
http://blogs.msdn.com/b/nav/archive/200 ... ember.aspx
Mike0
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