Posts

WS Payroll (Nóminas)

 1. URLS  These are the useful URLs https://rrhh- town .grupocastilla.es/epsilonnetws/WSEmpleado.asmx https://rrhh- town .grupocastilla.es/epsilonnetws/WSEmpleado.asmx?WSDL where "town" is the first representative word of the town name. For instance for Villamar de Arriba, the word "villamar" will be used. 2. Getting java classes Follow the instructions of a previous post . 3. Security The security consists of using a supplied token and a unique IP client. An id for the enterprise should also be provided

ENI (7) ENI Expedient for Sedipualba: Signing content

Image
0. Introduction In a previous post  we saw how to create the "Expediente" in ENI format. But the signature of the content was not accepted by Valide   After analyzing the ENI format of the "Expedient" generated in Sedipualba that has no problem with  Valide   there are some differences in the signature: Sedipualba uses the TF03 signatures format (XAdES Enveloped) Sedipualba does not use the binary FirmaBase64 field. Sedipualba uses ds:Signature field instead. So our steps are: Marshall the content(" indice.indiceContenido " attribute) of the "Expedient" into an XML file (for instance contenidoYEAR.xml where YEAR is the year of the resolutions for instance 2022). Use Autofirma  and sign the previous XML file in XAdES Enveloped format Get the "xadesEnveloped.xsd" schema from this URL from Liquid Technologies   and adapt the schema Get the class eni.xades.enveloped.IndiceContenido Unmarshall the signature obtained by Autofirma into t...