![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Buscar | Temas de Hoy | Marcar Foros Como Leídos |
![]() |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
|
|
#1
|
||||
|
||||
|
Cita:
Cita:
|
|
#2
|
|||
|
|||
|
Cita:
1- Certificado no operativo para interactuar con la Aeat 2.- Contraseña incorrecta del certificado 3.- Nif del emisor en la cabecera no registrado en la Aeat |
|
#3
|
||||
|
||||
|
Hola, gracias por responder, de primeras tengo que solucionar que me esta serial izando el html en utf-16 y no utf-8, lo he cambiado a pelo en el string y se lo traga,pero como no esta codificado como soap, pues falla.
|
|
#4
|
||||
|
||||
|
Añadiendo al xml las cabeceras soap a pelo, meresponde esto.
Código PHP:
|
|
#5
|
|||
|
|||
|
Cita:
Código:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Body xmlns:NS1="https://www2.agenciatributaria.gob.es/static_files/common/internet/dep/aplicaciones/es/aeat/tike/cont/ws/SuministroLR.xsd"> Código:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Body> |
|
#6
|
|||
|
|||
|
Cita:
¿Cómo hiciste para general la cabecera de la 2ª manera que quiero entender que si te funcionó? EDITO PARA INDICAR SOLUCION: Añadida línea tras importar el WSDL tal y como indican en este hilo: https://clubdelphi.com/foros/showpos...postcount=2536 O sea, para que funcione bien, tras importar el wsdl tuve que hacer dos "retoques" manuales: - Cambiar línea: InvRegistry.RegisterInvokeOptions(TypeInfo(sfPortTypeVerifactu), ioSOAP12) por InvRegistry.RegisterInvokeOptions(TypeInfo(sfPortTypeVerifactu), ioDocument); - Meter línea justo a continuación: InvRegistry.RegisterInvokeOptions(TypeInfo(sfPortTypeVerifactu), ioLiteral); Última edición por nincillo fecha: 08-10-2024 a las 21:00:34. |
|
#7
|
|||
|
|||
|
Cita:
Importe el wdsl del soap con la version 1.2 y a continuacion hice lo que comentas, o sea sustitui Código:
InvRegistry.RegisterInvokeOptions(TypeInfo(sfPortTypeVerifactu), ioSOAP12); Código:
InvRegistry.RegisterInvokeOptions(TypeInfo(sfPortTypeVerifactu), ioDocument); InvRegistry.RegisterInvokeOptions(TypeInfo(sfPortTypeVerifactu), ioLiteral); |
|
#8
|
||||
|
||||
|
Cita:
Código PHP:
Código:
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Order=24)]
public System.DateTime FechaHoraHusoGenRegistro {
get {
return this.fechaHoraHusoGenRegistroField;
}
set {
this.fechaHoraHusoGenRegistroField = value;
this.RaisePropertyChanged("FechaHoraHusoGenRegistro");
}
}
|
![]() |
| Herramientas | Buscar en Tema |
| Desplegado | |
|
|
Temas Similares
|
||||
| Tema | Autor | Foro | Respuestas | Último mensaje |
| Hijo de Informáticos | gluglu | Humor | 3 | 13-03-2007 11:05:35 |
| Adictos informaticos ... | Trigger | Humor | 2 | 11-10-2004 12:18:32 |
| Nosotros los Informáticos | Trigger | Humor | 1 | 10-10-2004 14:58:09 |
| Patrón de los Informáticos. | obiwuan | Varios | 20 | 10-09-2003 14:44:54 |
| Chistes Informaticos | jhonny | Humor | 2 | 11-08-2003 21:59:09 |
|