Cannot access webservice
navinb
Member Posts: 51
Hi,
I am facing accesing webservice url with ipaddrese or names.The link works perfectly with localhost i.e
http://localhost:7047/DynamicsNAV/WS/CR ... ./services
But when i try to replace localhost with IP address or name system ask for credentials and doesnt display anything .
SQL Server ,NAV Server and NAV web service all are running with n/w service account,so i think no need to setup delegations .Please suggest
I am facing accesing webservice url with ipaddrese or names.The link works perfectly with localhost i.e
http://localhost:7047/DynamicsNAV/WS/CR ... ./services
But when i try to replace localhost with IP address or name system ask for credentials and doesnt display anything .
SQL Server ,NAV Server and NAV web service all are running with n/w service account,so i think no need to setup delegations .Please suggest
0
Comments
-
What about firewall? Or from which machine you are connecting when it is not working? From outside? Is the PC in domain? You need to send the correct credentials to work with he webservice...0
-
I'm experiencing the same problem.
What user right must have user under which the services is run in domain?0 -
I would say localhost is connecting directly as ip and FQN is going in another way...
Firewalls on ports for outside connections?
Network settings?
What error is in IE if you will set IE to show "not friendly Http error messages"?GB0 -
navinb wrote:Hi,
I am facing accesing webservice url with ipaddrese or names.The link works perfectly with localhost i.e
http://localhost:7047/DynamicsNAV/WS/CR ... ./services
But when i try to replace localhost with IP address or name system ask for credentials and doesnt display anything .
SQL Server ,NAV Server and NAV web service all are running with n/w service account,so i think no need to setup delegations .Please suggest
You need to setup delegation if they are running on different computers...0 -
SQL and NAV services are on the same computer. I'm trying to connect to service from the same computer. There are no error messages nor in IE (just blank screen), nor in Events.0
-
It means that internet explorer loads empty page or the connection will end? Because blank screen could be different thing... is the page loading finished sucessfully? Another possible way how to find more is to enable logging for service tier and check the logs.0
-
Yes the page load ends successfully.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=windows-1257" http-equiv=Content-Type></HEAD> <BODY></BODY></HTML>
How to enable logging for service tier?0 -
-
Yes I have.
links:
http://localhost:7047/TESTDB/WS/Test%20Company/Services
http://localhost:7047/TESTDB/WS/Test%20 ... nit/TestCU
works, but links:
http://NAVserver.ad.domain.lv:7047/TEST ... y/Services
http://NAVserver.ad.domain.lv:7047/TEST ... nit/TestCU
http://NAVserver:7047/TESTDB/WS/Test%20Company/Services
http://NAVserver:7047/TESTDB/WS/Test%20 ... nit/TestCU
asks for login/pasword and then shows blank page
RTC also work by address NAVserver:7046/TESTDB0 -
did you try by IP instead of machine name?
Anyway, if you use webservice it's better to set up delegation because of errors like this. Not so hard work to do.-Mihail- [MCTS]0 -
By IP also the login was asked.
Will ask domain admin to add SPNs and delegations.0 -
Thanks, for help.
SPNs did the trick
P.S. same rake for the second time :oops: viewtopic.php?f=32&t=383120 -
We have just now started this process and have been able to access the list of services in the form of an xml config page.
Do the SPNs & Delegations look like what I have below?
We added spns for a domain user we created, but could not get the Web Services Service to start, so we put it back to Network Service.
setspn -A http/server domain\serviceuser
setspn -A http/server.company.domain domain\serviceuser
I have not attempted this yet:
httpcfg delete urlacl –u http://+:7047/DynamicsNAV/
httpcfg set urlacl -u http://+:7047/DynamicsNAV/ -a
^(A;^;GX^;^;^; SID of user domain\serviceuser) 0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 331 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

