FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
|
#1
|
|||
|
|||
Prueba a cambiar en las cabeceras el "=" por ": " (dos puntos)
-H "Content-Encoding=gzip" -> -H "Content-Encoding: gzip" ... y posiblemente esto así: -H "eus-bizkaia-n3-data: {\"con\":\"LROE\",\"apa\":\"1.1\",\"inte\":{\"nif\":\"A48190839\",\"nrs\":\"TECNICAS_DE_REFRACTARIOS _SAU\"},\"drs\":{\"mode\":\"240\",\"ejer\":\"2021\"}}" o asi: -H 'eus-bizkaia-n3-data: {"con":"LROE","apa":"1.1","inte":{"nif":"A48190839","nrs":"TECNICAS_DE_REFRACTARIOS_SAU"},"drs ":{"mode":"240","ejer":"2021"}}' Cita:
Última edición por sline fecha: 01-06-2021 a las 17:59:31. |
#2
|
|||
|
|||
A alguien que se le ocurra algo, se queda colgado en este punto * upload completely sent off: 23 out of 23 bytes
100 23 0 0 0 23 0 0 --:--:-- 0:03:51 --:--:-- 0 He descargado el certificado de pruebas/producción, pero aún así nada. Si se utiliza este certificado hay que cambiar el CIF/Razón social en la llamada? C:\tmp>curl --cert-type P12 --cert c:\amis\exes\sello_entidad_act.p12:IZProd2021 -H "Content-Type:application/json" -H "Accept-Encoding:gzip" -H "Content-Encoding:gzip" -H "Content-Length:534" -H "Content-Type:application/octet-stream" -H "eus-bizkaia-n3-version:1.0" -H "eus-bizkaia-n3-content-type:application/xml" -H "eus-bizkaia-n3-data:{\"con\":\"LROE\",\"apa\":\"1.1\",\"inte\":{\"nif\":\"A48190839\",\"nrs\":\"TECNICAS DE REFRACTARIOS S.A.U\"},\"drs\":{\"mode\":\"240\",\"ejer\":\"2021\"}}" -v https://pruesarrerak.bizkaia.eus/N3B4001M/kontsulta -d data:c:\tmp\consulta.gz --output c:\tmp\respuesta.xml % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 80.245.2.232... * TCP_NODELAY set * Connected to pruesarrerak.bizkaia.eus (80.245.2.232) port 443 (#0) * schannel: SSL/TLS connection with pruesarrerak.bizkaia.eus port 443 (step 1/3) * schannel: checking server certificate revocation * schannel: sending initial handshake data: sending 195 bytes... * schannel: sent initial handshake data: sent 195 bytes * schannel: SSL/TLS connection with pruesarrerak.bizkaia.eus port 443 (step 2/3) * schannel: failed to receive handshake, need more data 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* schannel: SSL/TLS connection with pruesarrerak.bizkaia.eus port 443 (step 2/3) * schannel: encrypted data got 4096 * schannel: encrypted data buffer: offset 4096 length 4096 * schannel: encrypted data length: 4010 * schannel: encrypted data buffer: offset 4010 length 4096 * schannel: received incomplete message, need more data * schannel: SSL/TLS connection with pruesarrerak.bizkaia.eus port 443 (step 2/3) * schannel: encrypted data got 1024 * schannel: encrypted data buffer: offset 5034 length 5034 * schannel: encrypted data length: 6 * schannel: encrypted data buffer: offset 6 length 5034 * schannel: received incomplete message, need more data * schannel: SSL/TLS connection with pruesarrerak.bizkaia.eus port 443 (step 2/3) * schannel: encrypted data got 3 * schannel: encrypted data buffer: offset 9 length 5034 * schannel: sending next handshake data: sending 4433 bytes... * schannel: SSL/TLS connection with pruesarrerak.bizkaia.eus port 443 (step 2/3) * schannel: encrypted data got 51 * schannel: encrypted data buffer: offset 51 length 5034 * schannel: SSL/TLS handshake complete * schannel: SSL/TLS connection with pruesarrerak.bizkaia.eus port 443 (step 3/3) * schannel: stored credential handle in session cache > POST /N3B4001M/kontsulta HTTP/1.1 > Host: pruesarrerak.bizkaia.eus > User-Agent: curl/7.55.1 > Accept: */* > Content-Type:application/json > Accept-Encoding:gzip > Content-Encoding:gzip > Content-Length:534 > Content-Type:application/octet-stream > eus-bizkaia-n3-version:1.0 > eus-bizkaia-n3-content-type:application/xml > eus-bizkaia-n3-data:{"con":"LROE","apa":"1.1","inte":{"nif":"A48190839","nrs":"TECNICAS DE REFRACTARIOS S.A.U"},"drs":{"mode":"240","ejer":"2021"}} > } [23 bytes data] * upload completely sent off: 23 out of 23 bytes 100 23 0 0 0 23 0 0 --:--:-- 0:03:51 --:--:-- 0 Graciassssss |
|
|
Temas Similares | ||||
Tema | Autor | Foro | Respuestas | Último mensaje |
SII -Nuevo sistema de la Agencia Tributaria española de envío de datos vía Webservice | newtron | Internet | 3565 | Hace 1 Semana 11:04:13 |
Como utilizar la ayuda del nuevo Sistema Operativo | gluglu | Humor | 3 | 24-09-2007 09:39:05 |
Aplicacion Agencia De Viajes | ArdiIIa | Varios | 9 | 20-01-2007 16:49:53 |
El Vasco Aguirre | Al González | La Taberna | 5 | 26-05-2006 09:22:28 |
Microsoft ha lanzado su nuevo sistema operativo | DarkByte | Humor | 0 | 25-01-2004 09:21:14 |
|