Published on InterSystems Developer Community (https://community.intersystems.com)

Inicio > ContentType inexperado al llamar a un WS Soap

Pregunta
Kurro Lopez · 23 sep, 2021

ContentType inexperado al llamar a un WS Soap

Hola comunidad,

Tengo una clase cliente SOAP que conecta con un WS Service. Esta estructura y configuracion es la misma para varios proveedores que están integerados con mi solución.

Si llamo a un proveedor, devuelve el XML esperado. Pero hay un proveedor que lanza un error:

ERROR #6243: HTTP request to SOAP WebService returned response with unexpected CONTENT-TYPE: application/wsdl+xml

He intentado asignar el ContentType al adapter.%Client con este valor, pero no funciona.

Si lo invoco usando SOAP UI, con el mismo Soap Envelop, funciona correctamente y el Content-Type es text/xml

¿Puede ayudarme alguien?

Saludos,
Kurro Lopez

#SOAP #Caché #Ensemble
Product version: Ensemble 2017.1
$ZV: Cache for Windows (x86-64) 2017.2.1 (Build 801_3U) Thu Apr 12 2018 10:02:23 EDT

URL de fuente:https://es.community.intersystems.com/post/contenttype-inexperado-al-llamar-un-ws-soap