FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
[WD26] Problem connecting to SOAP 1.2 webservice
[WD26] Problem connecting to SOAP 1.2 webservice
Débuté par ERH, 11 jan. 2022 22:02 - Aucune réponse
Connectez-vous…
ERH
#1
Posté le 11 janvier 2022 - 22:02
Hi,
Anyone successful in connecting to a SOAP 1.2 webservice in WD26?
First I used the SOAPRunXML command.
However in SOAP 1.2 the payload content-Type must be set to application/soap+xml. Apparently in WD26 the content type is automatically set to text/xml, resulting in an error. Unsupported Content-Type: text/xml Supported ones are: [application/soap+xml]).
I reported this to PC Soft support, and they handed me two workarounds.
Workaround 1. User HTTPSend (of HTTPRequest)
This solves the application/soap+xml issue. But now I have to specify the soap action (operation) and that is not documented in WD26. The SOAP 1.2 requires the action to be in de contenttype, e.g. "application/soap+xml;action="Givemesomesoap"". I've tried the parameter as action, soapaction and operation, all of them didn't give the result.
I contacted the provider of the SOAP webservice for some help in this.
Workaround 2. Use the methods of the imported function
This is my prefered method. However, the webservice requires an additionital security header (password digest, nonce). I tried the SOAPAddHeader function, but this function requires a type (structure) only available in the wsdl. Since the security header is not available in the provided wsdl, I'm not able to insert sucha header.
Any input or ideas are welcome, thanks.
regards, Edwin
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