Last active
July 11, 2024 21:47
-
-
Save giansalex/34a8e854e873867144a89c09de494d43 to your computer and use it in GitHub Desktop.
Ejemplo de trama XML enviada por un cliente SOAP al consultar el estado del CDR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://service.sunat.gob.pe" xmlns:ns2="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> | |
<SOAP-ENV:Header> | |
<ns2:Security> | |
<ns2:UsernameToken> | |
<ns2:Username>20000000001MODDATOS</ns2:Username> | |
<ns2:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">moddatos</ns2:Password> | |
</ns2:UsernameToken> | |
</ns2:Security> | |
</SOAP-ENV:Header> | |
<SOAP-ENV:Body> | |
<ns1:getStatus> | |
<rucComprobante>20000000001</rucComprobante> | |
<tipoComprobante>01</tipoComprobante> | |
<serieComprobante>F001</serieComprobante> | |
<numeroComprobante>125</numeroComprobante> | |
</ns1:getStatus> | |
</SOAP-ENV:Body> | |
</SOAP-ENV:Envelope> |
buena me funciona tuve que cambiar la ruta de xmlns:ns2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
consulta es lo mismo para produccion?