GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV 2024
→
[WD26] Problem connecting to SOAP 1.2 webservice
[WD26] Problem connecting to SOAP 1.2 webservice
Iniciado por ERH, jan., 11 2022 10:02 PM - Sem resposta
Conecte-se…
ERH
#1
Publicado em janeiro, 11 2022 - 10:02 PM
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
Denunciar
0
0
→ Voltar para WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto