C sharp - Consulta de Pedimentos

 
Vista:
sin imagen de perfil
Val: 93
Bronce
Ha mantenido su posición en C sharp (en relación al último mes)
Gráfica de C sharp

Consulta de Pedimentos

Publicado por Manuel (72 intervenciones) el 25/06/2019 03:05:34
Hola comunidad.
Alguno de ustedes tiene el consumo del WebService de Consulta de pedimentos:
https://www.ventanillaunica.gob.mx/ventanilla-ws-pedimentos/ConsultarPedimentoCompletoService

Me regresa el mensaje: No se tiene permiso de consulta

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8"?>
-<soapenv:Envelope xmlns:com="http://www.ventanillaunica.gob.mx/pedimentos/ws/oxml/comunes" xmlns:con="http://www.ventanillaunica.gob.mx/pedimentos/ws/oxml/consultarpedimentocompleto" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
-<soapenv:Header>
-<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
-<wsse:UsernameToken>
<wsse:Username>xxxxxxxxxx</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
-<soapenv:Body>
-<con:consultarPedimentoCompletoPeticion>
-<con:peticion>
<com:aduana>400</com:aduana>
<com:patente>xxxx</com:patente>
<com:pedimento>xxxxxxx</com:pedimento>
</con:peticion>
</con:consultarPedimentoCompletoPeticion>
</soapenv:Body>
</soapenv:Envelope>

y el xml que me retorna es:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
   <S:Header>
      <wsse:Security S:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
         <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
            <wsu:Created>2019-06-25T00:58:02Z</wsu:Created>
            <wsu:Expires>2019-06-25T00:59:02Z</wsu:Expires>
         </wsu:Timestamp>
      </wsse:Security>
   </S:Header>
   <S:Body>
      <ns2:consultarPedimentoCompletoRespuesta xmlns="http://www.ventanillaunica.gob.mx/pedimentos/ws/oxml/comunes" xmlns:ns2="http://www.ventanillaunica.gob.mx/pedimentos/ws/oxml/consultarpedimentocompleto" xmlns:ns3="http://www.ventanillaunica.gob.mx/common/ws/oxml/respuesta" xmlns:ns4="http://www.ventanillaunica.gob.mx/common/ws/oxml/resolucion" xmlns:ns5="http://www.ventanillaunica.gob.mx/common/ws/oxml/respuestatra" xmlns:ns6="http://www.ventanillaunica.gob.mx/common/ws/oxml/dictamen" xmlns:ns7="http://www.ventanillaunica.gob.mx/common/ws/oxml/observacion" xmlns:ns8="http://www.ventanillaunica.gob.mx/common/ws/oxml/requisito" xmlns:ns9="http://www.ventanillaunica.gob.mx/common/ws/oxml/opinion">
         <ns3:tieneError>true</ns3:tieneError>
         <ns3:error>
            <ns3:mensaje>No se tiene permiso de consulta</ns3:mensaje>
         </ns3:error>
      </ns2:consultarPedimentoCompletoRespuesta>
   </S:Body>
</S:Envelope>

Alguien tiene un idea?, el usuario y el password están correctos, porque uso los mismos para COVE, DODA, PITA, Digitalización de Documentos, y todos funcionan bien.

saludos.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder