NAV2015 - Webservices on Azure - Local VT100/ADCS

TomB
Member Posts: 5
Hi,
I'm in the middle of my first NAV2015 implementation at a customer.
The customer has decided to put database and some other services in the cloud.
Locally there is a VT100/ADCS service running and this for scanning in the warehouse.
Installation works fine, but we cannot connect to the Webservices (SOAP). We always receive an eror regarding the authentification of the connection. We received the SOAP URL from the cloud provider and adapted the config file accordingly (I have offcourse blanked out the links!):
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="VT100" type="Microsoft.Dynamics.Nav.Adcs.Configuration.VT100ConfigurationSection, Microsoft.Dynamics.Nav.VT100Plugin"/>
</configSections>
<VT100>
<Warehouse>
<Endpoints>
<add name="NavWSEndpoint" url="https://<server URL>:<Port>/<Instance Name>/WS/Codeunit/ADCS" UserName="<DOMAIN>\USER" Password="Password"/>
<!-- Azure deployment example: -->
<!--<add name="NavWSEndpoint" url="https://CloudService:7047/DynamicsNAV/WS/CRONUS International Ltd/Codeunit/ADCS" UserName="NavUser" Password="NavUserPassword" />-->
</Endpoints>
</Warehouse>
<Terminal listenPort="6666" listenIP="<IP Address VT100 server>" stylesheet="VT100_W2k_and_OtherClients.xsl"/>
</VT100>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
</startup>
</configuration>
When we connect we always get an authentification error in the event viewer:
Internal Error in Navision VT100Plugin
Object : Messagerprocessor
Error No : FFFFFFFF
Description : Error in the communication: La demande HTTP n'est pas autorisée avec un schéma d'authentification client 'Basic'.
L'en-tête d'authentification reçu du serveur était 'Digest qop="auth",algorithm=....
And on the terminal we get the error:
"Requeue of message failed after sequential message processor errors."
The Error message in the event viewer states clearly that the Authetification 'Basic' is not supported. This we know.
How can we put in the configuration file that it has to use another authetification type (...?)
Something like : <add key="ClientServicesCredentialType" value="Windows"/> (and this one doesn't work)
All ideas are welcome
Thx
I'm in the middle of my first NAV2015 implementation at a customer.
The customer has decided to put database and some other services in the cloud.
Locally there is a VT100/ADCS service running and this for scanning in the warehouse.
Installation works fine, but we cannot connect to the Webservices (SOAP). We always receive an eror regarding the authentification of the connection. We received the SOAP URL from the cloud provider and adapted the config file accordingly (I have offcourse blanked out the links!):
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="VT100" type="Microsoft.Dynamics.Nav.Adcs.Configuration.VT100ConfigurationSection, Microsoft.Dynamics.Nav.VT100Plugin"/>
</configSections>
<VT100>
<Warehouse>
<Endpoints>
<add name="NavWSEndpoint" url="https://<server URL>:<Port>/<Instance Name>/WS/Codeunit/ADCS" UserName="<DOMAIN>\USER" Password="Password"/>
<!-- Azure deployment example: -->
<!--<add name="NavWSEndpoint" url="https://CloudService:7047/DynamicsNAV/WS/CRONUS International Ltd/Codeunit/ADCS" UserName="NavUser" Password="NavUserPassword" />-->
</Endpoints>
</Warehouse>
<Terminal listenPort="6666" listenIP="<IP Address VT100 server>" stylesheet="VT100_W2k_and_OtherClients.xsl"/>
</VT100>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
</startup>
</configuration>
When we connect we always get an authentification error in the event viewer:
Internal Error in Navision VT100Plugin
Object : Messagerprocessor
Error No : FFFFFFFF
Description : Error in the communication: La demande HTTP n'est pas autorisée avec un schéma d'authentification client 'Basic'.
L'en-tête d'authentification reçu du serveur était 'Digest qop="auth",algorithm=....
And on the terminal we get the error:
"Requeue of message failed after sequential message processor errors."
The Error message in the event viewer states clearly that the Authetification 'Basic' is not supported. This we know.
How can we put in the configuration file that it has to use another authetification type (...?)
Something like : <add key="ClientServicesCredentialType" value="Windows"/> (and this one doesn't work)
All ideas are welcome

Thx
Grtz
0
Comments
-
Extra information: We have to use Digest authentication to connect to the WebServices.
Regards,
TomGrtz0 -
Hi,
there are two points to take care of:
1. The service tier (where the web service is to be used) must have the property "Use NTLM Authentication" deactivated.
If the actual service tier has set the property, create a new separate service tier especially for the vt100
2. Be sure that the VT100 plugin service is running with admin rights (local account is not sufficient)
Oliver0 -
The default service on the ADCS is set as DynamicsNAV instead of your actual service name. Make sure it's set as your actual service name (i.e. if using NAV 2016, it should be DynamicsNAV90).
The default on this gets me every time.Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0
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