FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
Consuming Webservice from Navision 2013R2
Consuming Webservice from Navision 2013R2
Débuté par Sarono Handoyo, 29 aoû. 2014 14:09 - 3 réponses
Connectez-vous…
Sarono Handoyo
#1
Posté le 29 août 2014 - 14:09
Hi all,
I try to consume a Navision 2013 R2 webservice to a webdev project.
The consuming process has no problem but when I call the webservice, it returns error.
Here is my webservice:
<a class="ExternalLink" rel="nofollow" target="_blank" href="http://dynamicsdossier.cloudapp.net:7147/DD_NAV2013R2_CD/WS/Dynamics%20Dossier%20Demo/Codeunit/SicknessLeave?WSDL">http://dynamicsdossier.cloudapp.net:7147/DD_NAV2013R2_CD/WS/Dynamics%20Dossier%20Demo/Codeunit/SicknessLeave…</a> User and password is : LG and LG2014!
Here is my code:
tmpPar is SicknessLeave.AddSicknessLeaveLine tmpPar.textLine = "test webservice from here" SicknessLeave.User = "LG" SicknessLeave.Password = "LG2014!" tmpStr is SicknessLeave.AddSicknessLeaveLine_Result = SicknessLeave.AddSicknessLeaveLine(tmpPar) Info(tmpStr.return_value) CASE ERROR: Info("error happen",ErrorInfo(),SOAPError(SOAPErrDetails)) CASE EXCEPTION: Info("exception happen",ErrorInfo()) When I run this code, here is what I get:
error happen The following error was returned by the server:
How to solve this problem?
I really appreciate for answers.
Regards,
Sarono
Signaler
0
0
Danny Lauwers
#2
Posté le 02 septembre 2014 - 16:48
Hi,
Have you set the following settings before you call the webservice ?
HTTPParameter(httpParameterMode, 1)
I had todo that for NAV2009 Webservices
Danny
Signaler
0
0
Sarono Handoyo
#3
Posté le 03 septembre 2014 - 04:52
Quote
Danny Lauwers
Hi,
Have you set the following settings before you call the webservice ?
HTTPParameter(httpParameterMode, 1)
I had todo that for NAV2009 Webservices
Danny
Hi Danny,
Thanks a lot.
My code works well. I got a return from webservice.
Signaler
0
0
Sarono Handoyo
#4
Posté le 04 septembre 2014 - 08:06
Hi All,
The function HTTPParameter(httpParameterMode, 1) is not available in windev mobile.
This is a problem for me as the webservice is inaccessible without this function.
Do someone know how to solve this for mobile application?
Thanks before.
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte