Bienvenido a Facturas y Respuestas.

Esperamos que encuentre la respuesta a su pregunta. Y si no, puede formularla para que los expertos de la comunidad la respondan.

Preguntar

Este blog es creado y administrado por:

Copyright - 2020

0 votos
por en Numeración

Saludos

Mediante la modalidad de 'Software Propio' recibí la aprobación del software en el ambiente de 'Habilitación' luego al pasar a 'Producción' recibo error 500 por parte de la DIAN.

 

DESCRIPCION DEL PROBLEMA

Error al consumir el servicio : GetNumberingRange

Ya verifiqué y creo haber completado todos los requisitos técnicos y legales para cambiar al ambiente de producción:

  • Software aprobado con 3 sets de pruebas completados.
  • Actualización del RUT con la responsabilidad 52 Facturador Electrónico.
  • Asociación de prefijos al software aprobado mediante el portal catálogo 'facturando electrónicamente' (ambiente producción).

 Captura:      https://prnt.sc/vz7d4j

PASO A PASO GetNumberingRange

  • Envio la siguiente petición mediante el software SOAP UI para consultar la CLAVE TECNICA

El REQUEST

  Captura: https://prnt.sc/vz7f3e

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:wcf="http://wcf.dian.colombia"><soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><wsu:Timestamp wsu:Id="TS-F0F4A6BFC74994DBCD16040899738146"><wsu:Created>2020-12-09T18:00:28Z</wsu:Created><wsu:Expires>2020-12-10T04:00:28Z</wsu:Expires></wsu:Timestamp><wsse:BinarySecurityToken EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="X509-88ADAA0F6F77CDDA24160419069226376">MIIIcjCCBlqgAwIBAgIId0nyD4phY6cwDQYJKoZIhvcNAQELBQAwgbYxIzAhBgkqhkiG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5P3gjG4ecFPIInFfDNplgpjizkPDSEumW+dXOeAsNALeYDe0Bi08sSpDKeLkEwvnXZI/OAuIW1UFhr7fTNyYx7T50MXJUdKmLDtQdVFrywhkhb4/Smz/fdQ/ciEw0C2xDu1yTc65dnbNzeJduUnWfhEYZPGUonaMJf5piA1f1mR/ih32iE3gPe2zbiYYzVWed2A10NY6wWaJNiIcfTW+V2ChOmhL+NLgCwRyYS9AcAHfutk47fBzpVDa+zsaYhrYT681s5evsnLwY8YSyVgmyCJdvpsMO7sRzpVwWa1SMB+XUbFK9QRdXH5n/QYI8uveEuyB4hF8gI+AifmQ/Pse/9q1+E+OTXsgaKQnqBgI9OCnJvb3CRDnoBYkaCNXhLKQHIbVfHalX8NlkE8dWYZySmakT9lBksUlUSuYOM4e5j45ExRbxRxmqa8xbhZHrecexUrZsnAYRyr60bPRvD4XDWhNPiUwr6yr4pJOTzfRSYHe1OBATMseoSu6MsmcjlV8aJ5xBjiKCJjsoNYPiP40lc2FokXw/oMS/5Bh+6JUx3eX4p5GzOeYgZQM4F8MFEPSRd9ymE95FpA1H71BP9gFiKLrq91X+b/snpTMWP5YCHz/ezpTFS2V5QCMa8JXz2Rla8gKnjkJdIf+HCf7CE+PoT1MBVGC/IHNJA</wsse:BinarySecurityToken><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="SIG-F0F4A6BFC74994DBCD16040899737625"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="wsa soap wcf"/></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/><ds:Reference URI="#id-88ADAA0F6F77CDDA24160419069226376"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="soap wcf"/></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><ds:DigestValue>wtSrp7MNI6T/6oUB2PbUca3gtWpTFEPGg5gxDCRV5hg=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>SXYdqXMAfx3YEVNKVTq8kN32dmHyXIy2fch78ib2KXPYk4Q7VYEbbnzzpZmfX9eRG46jcllBSe9PWco/BG3veQgiGE/DmNL/iHyo5CsrELPMr7gLAcoP7yDHjdrroVCOtCDUYHpZ8TkShLU2kMsd2kMItYxmj2o7jQ+X64g4R3tLq+DpBgwVhoZR++rc3rtErumZWbtNtZEahEUNCgYWaHnV2qGfq+w+N1iCAiJoJ7SGQ0nfZ37ybG3koGVCBFv4CaI83sjmmHeivUiFKXGkc0UhSINNZStl6DrwQVBUxsEJjOHuR9L+LJ8R9OvNAoRXuT4djs2oDxVthf1sB2ku/g==</ds:SignatureValue><ds:KeyInfo Id="KI-F0F4A6BFC74994DBCD16040899737242"><wsse:SecurityTokenReference wsu:Id="STR-F0F4A6BFC74994DBCD16040899737353"><wsse:Reference URI="#X509-88ADAA0F6F77CDDA24160419069226376" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"/></wsse:SecurityTokenReference></ds:KeyInfo></ds:Signature></wsse:Security><wsa:Action>http://wcf.dian.colombia/IWcfDianCustomerServices/GetNumberingRange</wsa:Action><wsa:To xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-88ADAA0F6F77CDDA24160419069226376">https://vpfe.dian.gov.co/WcfDianCustomerServices.svc</wsa:To></soap:Header><soap:Body><soap:Body><wcf:GetNumberingRange><wcf:accountCode>41895611</wcf:accountCode><wcf:accountCodeT>41895611</wcf:accountCodeT><wcf:softwareCode>762fbc50-af3c-4277-b972-370db9c13944</wcf:softwareCode></wcf:GetNumberingRange></soap:Body></soap:Body></soap:Envelope>

REPUESTA:

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:u="http://docs.oasisopen.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">

 <s:Header> <a:Action s:mustUnderstand="1">http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher/fault</a:Action> <o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <u:Timestamp u:Id="_0"> <u:Created>2020-12-09T18:01:42.388Z</u:Created> <u:Expires>2020-12-09T18:06:42.388Z</u:Expires> </u:Timestamp> </o:Security> </s:Header> <s:Body> <s:Fault> <s:Code> <s:Value>s:Receiver</s:Value> <s:Subcode> <s:Value xmlns:a="http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher">a:InternalServiceFault</s:Value> </s:Subcode> </s:Code> <s:Reason> <s:Text xml:lang="en-US">The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the &lt;serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.</s:Text> </s:Reason> </s:Fault> </s:Body> </s:Envelope>

1 Respuesta

0 votos
por
 
Mejor respuesta
Error encontrado Gracias.

https://prnt.sc/w03s1f
...