ORVE WS (Dynamic) (13) Defiining property files and strategy

0. Introduction

In order to customize an application, it is quite interesting having a property file.

In this post, the strategy to retrieve records from ORVE is defined

1. Property file

Here is the property file


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#========================================================================================
#  1. TERALCO PROPERTIES 
#========================================================================================
persistence.unit.gexflow=PostgressGexflowJPAPU

#Teralco Properties
teralco.wsdl=http://TERALCO_SERVER_IP/gexflow/ws/Registro_v2.0?wsdl
teralco.registro.entrada.operation=registrarAsientoEntrada
teralco.registro.entrada.input.class=gexflow.reges.RegistrarAsientoEntrada
teralco.registro.entrada.output.class=gexflow.reges.RegistroEntradaWSV2JB
teralco.destinosinternos.class=gexflow.reges.DestinoRegistroEntradaWSJB

teralco.registro.entrada.adjuntar.documento.operation=adjuntarDocumentoARegistro
teralco.registro.entrada.adjuntar.documento.input.class=gexflow.reges.AdjuntarDocumentoARegistro
teralco.registro.entrada.adjuntar.documento.output.class=gexflow.reges.AdjuntarDocumentoARegistroResponse


#----- REAL ------
teralco.id.entidad=1000
teralco.cod.unidad.registral=GENERAL
teralco.cod.oficina=OFXX
teralco.usuario=myTeralcoUser
teralco.id.tipus.document=98  



#========================================================================================
#  3. ORVE SPECIFIC PROPERTIES
#
#  a. for production -> orve.mode=orve
#  b. for demo       -> orve.mode=demoorve 
# 
#                                           https://ssweb.seap.minhap.es/orve/WSExportacion.wsdl
#  c. to construct the complete wsdl url -> orve.base + orve.mode + orve.wsdl
#========================================================================================
persistence.unit.orve=sicresh2


#orve.wsdl=https://ssweb.seap.minhap.es/orve/WSExportacion.wsdl

#DEMOORVE OR PRODUCTION
orve.username=myUser
orve.password=myPassword
orve.dir3.unidad=LAXXXXXXX
orve.dir3.oficina=OXXXXXXXX
orve.states=RPC,RC

orve.fictitious.nif=XXXXXXX
orve.fictitious.cp=99999             

#orve.mode=demoorve
orve.mode=orve

orve.base=https://ssweb.seap.minhap.es/
orve.wsdl=WSExportacion.wsdl

orve.security.class=Security
orve.filtros.identificadores.class=FiltrosIdentificadores

orve.obtener.identificadores.operation=obtenerIdentificadores
orve.obtener.registro.operation=obtenerRegistro

teralco.orve.clase.documento=ORVE
teralco.orve.cod.unidad.organizativa.remitente=AXXX

orve.log.file=/home/ximodante/ORVE/LOG/orve.log


All the data in red should be changed by the client of services. Take into account that both ORVE and Teralco web services are being used, so suitable data should be provided.

2. Strategy 



Comments

Popular posts from this blog

ORVE WS (Dynamic) (4) Jackson XML mapper

ENI (1) ENI Document OR the Spanish Electronic Administration Mafia

ORVE WS (Dynamic) (12) Defiining the control tables