#1
|
|||
|
|||
Transformación a xml no mantiene la cabecera
Hola:
Estoy intentando crear un fichero xml con una cabecera como la siguiente: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:tem="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <soap:Body> <tem:mygesttem> <tem:mytem> ... Para ello he escrito el siguiente código a través de la transacción STRANS: <?sap.transform simple?> <tt:transform xmlns:tt="http://www.sap.com/transformation-templates"> <tt:root name="ROOT"/> <tt:template> <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:tem="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <soap:Body> <tem:mygestem> <tem:mytem> ... Sin embargo, cuando lanzo el programa que ejecuta mi CALL TRANSFORMATION la cabecera del fichero xml es muy diferente a lo que esperaría: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"> <soap:Body> <tem:mygestem xmlns="http://tempuri.org/"> <tem:mytem> ... ¿Alguien que haya trabajado con transformaciones a xml podría decirme por qué SAP no crea la cabecera del xml tal y como se le envía? Muchas gracias, Oscar
__________________
Óscar |
Herramientas | Buscar en Tema |
Desplegado | |
|
|