afipws 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +102 -0
- data/.travis.yml +1 -0
- data/Gemfile.lock +22 -4
- data/LICENSE.txt +22 -0
- data/README.md +11 -5
- data/afipws.gemspec +1 -0
- data/lib/afipws.rb +2 -0
- data/lib/afipws/client.rb +4 -17
- data/lib/afipws/core_ext/hash.rb +2 -2
- data/lib/afipws/excepciones.rb +1 -1
- data/lib/afipws/type_conversions.rb +19 -16
- data/lib/afipws/version.rb +1 -1
- data/lib/afipws/ws_base.rb +12 -0
- data/lib/afipws/ws_constancia_inscripcion.rb +33 -0
- data/lib/afipws/wsaa.rb +9 -13
- data/lib/afipws/{wsfev1.wsdl → wsdl/wsfev1.wsdl} +1371 -1371
- data/lib/afipws/wsfe.rb +57 -38
- data/spec/afipws/core_ext/hash_spec.rb +6 -6
- data/spec/afipws/type_conversions_spec.rb +11 -12
- data/spec/afipws/ws_constancia_inscripcion_spec.rb +65 -0
- data/spec/afipws/wsaa_spec.rb +66 -58
- data/spec/afipws/wsfe_spec.rb +272 -259
- data/spec/fixtures/constancia_inscripcion_dummy/success.xml +11 -0
- data/spec/fixtures/constancia_inscripcion_get_persona/failure.xml +35 -0
- data/spec/fixtures/constancia_inscripcion_get_persona/success.xml +53 -0
- data/spec/fixtures/ws_constancia_inscripcion.wsdl +230 -0
- metadata +31 -5
- data/.autotest +0 -2
- data/autotest/discover.rb +0 -1
@@ -0,0 +1,11 @@
|
|
1
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
2
|
+
<soap:Body>
|
3
|
+
<ns2:dummyResponse xmlns:ns2="http://a5.soap.ws.server.puc.sr/">
|
4
|
+
<return>
|
5
|
+
<appserver>OK</appserver>
|
6
|
+
<authserver>OK</authserver>
|
7
|
+
<dbserver>OK</dbserver>
|
8
|
+
</return>
|
9
|
+
</ns2:dummyResponse>
|
10
|
+
</soap:Body>
|
11
|
+
</soap:Envelope>
|
@@ -0,0 +1,35 @@
|
|
1
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
2
|
+
<soap:Body>
|
3
|
+
<ns2:getPersonaResponse xmlns:ns2="http://a5.soap.ws.server.puc.sr/">
|
4
|
+
<personaReturn>
|
5
|
+
<datosGenerales>
|
6
|
+
<apellido>ROMA</apellido>
|
7
|
+
<domicilioFiscal>
|
8
|
+
<codPostal>9410</codPostal>
|
9
|
+
<datoAdicional>NO DETERMINADO</datoAdicional>
|
10
|
+
<descripcionProvincia>TIERRA DEL FUEGO</descripcionProvincia>
|
11
|
+
<direccion>ROSAS 456</direccion>
|
12
|
+
<idProvincia>24</idProvincia>
|
13
|
+
<localidad>USHUAIA</localidad>
|
14
|
+
<tipoDatoAdicional>NO DETERMINADO</tipoDatoAdicional>
|
15
|
+
<tipoDomicilio>FISCAL</tipoDomicilio>
|
16
|
+
</domicilioFiscal>
|
17
|
+
<estadoClave>ACTIVO</estadoClave>
|
18
|
+
<idPersona>20123456782</idPersona>
|
19
|
+
<mesCierre>12</mesCierre>
|
20
|
+
<nombre>LUIS GARMENDIA</nombre>
|
21
|
+
<tipoClave>CUIT</tipoClave>
|
22
|
+
<tipoPersona>FISICA</tipoPersona>
|
23
|
+
</datosGenerales>
|
24
|
+
<errorRegimenGeneral>
|
25
|
+
<error>El contribuyente cuenta con impuestos con baja de oficio por Decreto 1299/98</error>
|
26
|
+
<mensaje>No cumple con las condiciones para enviar datos del regimen general</mensaje>
|
27
|
+
</errorRegimenGeneral>
|
28
|
+
<metadata>
|
29
|
+
<fechaHora>2019-01-03T15:41:42.636-03:00</fechaHora>
|
30
|
+
<servidor>aws.afip.gov.ar</servidor>
|
31
|
+
</metadata>
|
32
|
+
</personaReturn>
|
33
|
+
</ns2:getPersonaResponse>
|
34
|
+
</soap:Body>
|
35
|
+
</soap:Envelope>
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
2
|
+
<soap:Body>
|
3
|
+
<ns2:getPersonaResponse xmlns:ns2="http://a5.soap.ws.server.puc.sr/">
|
4
|
+
<personaReturn>
|
5
|
+
<datosGenerales>
|
6
|
+
<domicilioFiscal>
|
7
|
+
<codPostal>2300</codPostal>
|
8
|
+
<descripcionProvincia>SANTA FE</descripcionProvincia>
|
9
|
+
<direccion>AV SIEMPRE VIVA 123</direccion>
|
10
|
+
<idProvincia>12</idProvincia>
|
11
|
+
<localidad>NUEVA YORK</localidad>
|
12
|
+
<tipoDomicilio>FISCAL</tipoDomicilio>
|
13
|
+
</domicilioFiscal>
|
14
|
+
<estadoClave>ACTIVO</estadoClave>
|
15
|
+
<fechaContratoSocial>1996-07-31T12:00:00-03:00</fechaContratoSocial>
|
16
|
+
<idPersona>30123456784</idPersona>
|
17
|
+
<mesCierre>6</mesCierre>
|
18
|
+
<razonSocial>LA REGALERIA S A</razonSocial>
|
19
|
+
<tipoClave>CUIT</tipoClave>
|
20
|
+
<tipoPersona>JURIDICA</tipoPersona>
|
21
|
+
</datosGenerales>
|
22
|
+
<datosRegimenGeneral>
|
23
|
+
<actividad>
|
24
|
+
<descripcionActividad>VENTA AL POR MENOR DE INSTRUMENTAL MÉDICO Y ODONTOLÓGICO Y ARTÍCULOS ORTOPÉDICOS</descripcionActividad>
|
25
|
+
<idActividad>477330</idActividad>
|
26
|
+
<nomenclador>883</nomenclador>
|
27
|
+
<orden>2</orden>
|
28
|
+
<periodo>201311</periodo>
|
29
|
+
</actividad>
|
30
|
+
<impuesto>
|
31
|
+
<descripcionImpuesto>GANANCIAS SOCIEDADES</descripcionImpuesto>
|
32
|
+
<idImpuesto>10</idImpuesto>
|
33
|
+
<periodo>199907</periodo>
|
34
|
+
</impuesto>
|
35
|
+
<impuesto>
|
36
|
+
<descripcionImpuesto>IVA</descripcionImpuesto>
|
37
|
+
<idImpuesto>30</idImpuesto>
|
38
|
+
<periodo>198903</periodo>
|
39
|
+
</impuesto>
|
40
|
+
<regimen>
|
41
|
+
<idImpuesto>208</idImpuesto>
|
42
|
+
<idRegimen>159</idRegimen>
|
43
|
+
<periodo>199403</periodo>
|
44
|
+
</regimen>
|
45
|
+
</datosRegimenGeneral>
|
46
|
+
<metadata>
|
47
|
+
<fechaHora>2018-12-18T13:28:41.714-03:00</fechaHora>
|
48
|
+
<servidor>aws.afip.gov.ar</servidor>
|
49
|
+
</metadata>
|
50
|
+
</personaReturn>
|
51
|
+
</ns2:getPersonaResponse>
|
52
|
+
</soap:Body>
|
53
|
+
</soap:Envelope>
|
@@ -0,0 +1,230 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<wsdl:definitions name="PersonaServiceA5" targetNamespace="http://a5.soap.ws.server.puc.sr/" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://a5.soap.ws.server.puc.sr/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
3
|
+
<wsdl:types>
|
4
|
+
<xs:schema elementFormDefault="unqualified" targetNamespace="http://a5.soap.ws.server.puc.sr/" version="1.0" xmlns:tns="http://a5.soap.ws.server.puc.sr/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
5
|
+
<xs:element name="dummy" type="tns:dummy"/>
|
6
|
+
<xs:element name="dummyResponse" type="tns:dummyResponse"/>
|
7
|
+
<xs:element name="getPersona" type="tns:getPersona"/>
|
8
|
+
<xs:element name="getPersonaResponse" type="tns:getPersonaResponse"/>
|
9
|
+
<xs:complexType name="getPersona">
|
10
|
+
<xs:sequence>
|
11
|
+
<xs:element name="token" type="xs:string"/>
|
12
|
+
<xs:element name="sign" type="xs:string"/>
|
13
|
+
<xs:element name="cuitRepresentada" type="xs:long"/>
|
14
|
+
<xs:element name="idPersona" type="xs:long"/>
|
15
|
+
</xs:sequence>
|
16
|
+
</xs:complexType>
|
17
|
+
<xs:complexType name="getPersonaResponse">
|
18
|
+
<xs:sequence>
|
19
|
+
<xs:element minOccurs="0" name="personaReturn" type="tns:personaReturn"/>
|
20
|
+
</xs:sequence>
|
21
|
+
</xs:complexType>
|
22
|
+
<xs:complexType name="personaReturn">
|
23
|
+
<xs:sequence>
|
24
|
+
<xs:element minOccurs="0" name="datosGenerales" type="tns:datosGenerales"/>
|
25
|
+
<xs:element minOccurs="0" name="datosMonotributo" type="tns:datosMonotributo"/>
|
26
|
+
<xs:element minOccurs="0" name="datosRegimenGeneral" type="tns:datosRegimenGeneral"/>
|
27
|
+
<xs:element minOccurs="0" name="errorConstancia" type="tns:errorConstancia"/>
|
28
|
+
<xs:element minOccurs="0" name="errorMonotributo" type="tns:errorMonotributo"/>
|
29
|
+
<xs:element minOccurs="0" name="errorRegimenGeneral" type="tns:errorRegimenGeneral"/>
|
30
|
+
<xs:element minOccurs="0" name="metadata" type="tns:metadata"/>
|
31
|
+
</xs:sequence>
|
32
|
+
</xs:complexType>
|
33
|
+
<xs:complexType name="datosGenerales">
|
34
|
+
<xs:sequence>
|
35
|
+
<xs:element minOccurs="0" name="apellido" type="xs:string"/>
|
36
|
+
<xs:element minOccurs="0" name="dependencia" type="tns:dependencia"/>
|
37
|
+
<xs:element minOccurs="0" name="domicilioFiscal" type="tns:domicilio"/>
|
38
|
+
<xs:element minOccurs="0" name="estadoClave" type="xs:string"/>
|
39
|
+
<xs:element minOccurs="0" name="fechaContratoSocial" type="xs:dateTime"/>
|
40
|
+
<xs:element minOccurs="0" name="idPersona" type="xs:long"/>
|
41
|
+
<xs:element minOccurs="0" name="mesCierre" type="xs:int"/>
|
42
|
+
<xs:element minOccurs="0" name="nombre" type="xs:string"/>
|
43
|
+
<xs:element minOccurs="0" name="razonSocial" type="xs:string"/>
|
44
|
+
<xs:element minOccurs="0" name="tipoClave" type="xs:string"/>
|
45
|
+
<xs:element minOccurs="0" name="tipoPersona" type="xs:string"/>
|
46
|
+
</xs:sequence>
|
47
|
+
</xs:complexType>
|
48
|
+
<xs:complexType name="dependencia">
|
49
|
+
<xs:sequence>
|
50
|
+
<xs:element minOccurs="0" name="codPostal" type="xs:string"/>
|
51
|
+
<xs:element minOccurs="0" name="descripcionDependencia" type="xs:string"/>
|
52
|
+
<xs:element minOccurs="0" name="descripcionProvincia" type="xs:string"/>
|
53
|
+
<xs:element minOccurs="0" name="direccion" type="xs:string"/>
|
54
|
+
<xs:element minOccurs="0" name="idDependencia" type="xs:int"/>
|
55
|
+
<xs:element minOccurs="0" name="idProvincia" type="xs:int"/>
|
56
|
+
<xs:element minOccurs="0" name="localidad" type="xs:string"/>
|
57
|
+
</xs:sequence>
|
58
|
+
</xs:complexType>
|
59
|
+
<xs:complexType name="domicilio">
|
60
|
+
<xs:sequence>
|
61
|
+
<xs:element minOccurs="0" name="codPostal" type="xs:string"/>
|
62
|
+
<xs:element minOccurs="0" name="datoAdicional" type="xs:string"/>
|
63
|
+
<xs:element minOccurs="0" name="descripcionProvincia" type="xs:string"/>
|
64
|
+
<xs:element minOccurs="0" name="direccion" type="xs:string"/>
|
65
|
+
<xs:element minOccurs="0" name="idProvincia" type="xs:int"/>
|
66
|
+
<xs:element minOccurs="0" name="localidad" type="xs:string"/>
|
67
|
+
<xs:element minOccurs="0" name="tipoDatoAdicional" type="xs:string"/>
|
68
|
+
<xs:element minOccurs="0" name="tipoDomicilio" type="xs:string"/>
|
69
|
+
</xs:sequence>
|
70
|
+
</xs:complexType>
|
71
|
+
<xs:complexType name="datosMonotributo">
|
72
|
+
<xs:sequence>
|
73
|
+
<xs:element minOccurs="0" name="actividadMonotributista" type="tns:actividad"/>
|
74
|
+
<xs:element minOccurs="0" name="categoriaMonotributo" type="tns:categoria"/>
|
75
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="componenteDeSociedad" nillable="true" type="tns:relacion"/>
|
76
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="impuesto" nillable="true" type="tns:impuesto"/>
|
77
|
+
</xs:sequence>
|
78
|
+
</xs:complexType>
|
79
|
+
<xs:complexType name="actividad">
|
80
|
+
<xs:sequence>
|
81
|
+
<xs:element minOccurs="0" name="descripcionActividad" type="xs:string"/>
|
82
|
+
<xs:element minOccurs="0" name="idActividad" type="xs:long"/>
|
83
|
+
<xs:element minOccurs="0" name="nomenclador" type="xs:int"/>
|
84
|
+
<xs:element minOccurs="0" name="orden" type="xs:int"/>
|
85
|
+
<xs:element minOccurs="0" name="periodo" type="xs:int"/>
|
86
|
+
</xs:sequence>
|
87
|
+
</xs:complexType>
|
88
|
+
<xs:complexType name="categoria">
|
89
|
+
<xs:sequence>
|
90
|
+
<xs:element minOccurs="0" name="descripcionCategoria" type="xs:string"/>
|
91
|
+
<xs:element minOccurs="0" name="idCategoria" type="xs:int"/>
|
92
|
+
<xs:element minOccurs="0" name="idImpuesto" type="xs:int"/>
|
93
|
+
<xs:element minOccurs="0" name="periodo" type="xs:int"/>
|
94
|
+
</xs:sequence>
|
95
|
+
</xs:complexType>
|
96
|
+
<xs:complexType name="relacion">
|
97
|
+
<xs:sequence>
|
98
|
+
<xs:element minOccurs="0" name="apellidoPersonaAsociada" type="xs:string"/>
|
99
|
+
<xs:element minOccurs="0" name="ffRelacion" type="xs:dateTime"/>
|
100
|
+
<xs:element minOccurs="0" name="ffVencimiento" type="xs:dateTime"/>
|
101
|
+
<xs:element minOccurs="0" name="idPersonaAsociada" type="xs:long"/>
|
102
|
+
<xs:element minOccurs="0" name="nombrePersonaAsociada" type="xs:string"/>
|
103
|
+
<xs:element minOccurs="0" name="razonSocialPersonaAsociada" type="xs:string"/>
|
104
|
+
<xs:element minOccurs="0" name="tipoComponente" type="xs:string"/>
|
105
|
+
</xs:sequence>
|
106
|
+
</xs:complexType>
|
107
|
+
<xs:complexType name="impuesto">
|
108
|
+
<xs:sequence>
|
109
|
+
<xs:element minOccurs="0" name="descripcionImpuesto" type="xs:string"/>
|
110
|
+
<xs:element minOccurs="0" name="idImpuesto" type="xs:int"/>
|
111
|
+
<xs:element minOccurs="0" name="periodo" type="xs:int"/>
|
112
|
+
</xs:sequence>
|
113
|
+
</xs:complexType>
|
114
|
+
<xs:complexType name="datosRegimenGeneral">
|
115
|
+
<xs:sequence>
|
116
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="actividad" nillable="true" type="tns:actividad"/>
|
117
|
+
<xs:element minOccurs="0" name="categoriaAutonomo" type="tns:categoria"/>
|
118
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="impuesto" nillable="true" type="tns:impuesto"/>
|
119
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="regimen" nillable="true" type="tns:regimen"/>
|
120
|
+
</xs:sequence>
|
121
|
+
</xs:complexType>
|
122
|
+
<xs:complexType name="regimen">
|
123
|
+
<xs:sequence>
|
124
|
+
<xs:element minOccurs="0" name="descripcionRegimen" type="xs:string"/>
|
125
|
+
<xs:element minOccurs="0" name="idImpuesto" type="xs:int"/>
|
126
|
+
<xs:element minOccurs="0" name="idRegimen" type="xs:int"/>
|
127
|
+
<xs:element minOccurs="0" name="periodo" type="xs:int"/>
|
128
|
+
<xs:element minOccurs="0" name="tipoRegimen" type="xs:string"/>
|
129
|
+
</xs:sequence>
|
130
|
+
</xs:complexType>
|
131
|
+
<xs:complexType name="errorConstancia">
|
132
|
+
<xs:sequence>
|
133
|
+
<xs:element minOccurs="0" name="apellido" type="xs:string"/>
|
134
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="error" nillable="true" type="xs:string"/>
|
135
|
+
<xs:element minOccurs="0" name="idPersona" type="xs:long"/>
|
136
|
+
<xs:element minOccurs="0" name="nombre" type="xs:string"/>
|
137
|
+
</xs:sequence>
|
138
|
+
</xs:complexType>
|
139
|
+
<xs:complexType name="errorMonotributo">
|
140
|
+
<xs:sequence>
|
141
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="error" nillable="true" type="xs:string"/>
|
142
|
+
<xs:element minOccurs="0" name="mensaje" type="xs:string"/>
|
143
|
+
</xs:sequence>
|
144
|
+
</xs:complexType>
|
145
|
+
<xs:complexType name="errorRegimenGeneral">
|
146
|
+
<xs:sequence>
|
147
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="error" nillable="true" type="xs:string"/>
|
148
|
+
<xs:element minOccurs="0" name="mensaje" type="xs:string"/>
|
149
|
+
</xs:sequence>
|
150
|
+
</xs:complexType>
|
151
|
+
<xs:complexType name="metadata">
|
152
|
+
<xs:sequence>
|
153
|
+
<xs:element minOccurs="0" name="fechaHora" type="xs:dateTime"/>
|
154
|
+
<xs:element minOccurs="0" name="servidor" type="xs:string"/>
|
155
|
+
</xs:sequence>
|
156
|
+
</xs:complexType>
|
157
|
+
<xs:complexType name="dummy">
|
158
|
+
<xs:sequence/>
|
159
|
+
</xs:complexType>
|
160
|
+
<xs:complexType name="dummyResponse">
|
161
|
+
<xs:sequence>
|
162
|
+
<xs:element minOccurs="0" name="return" type="tns:dummyReturn"/>
|
163
|
+
</xs:sequence>
|
164
|
+
</xs:complexType>
|
165
|
+
<xs:complexType name="dummyReturn">
|
166
|
+
<xs:sequence>
|
167
|
+
<xs:element minOccurs="0" name="appserver" type="xs:string"/>
|
168
|
+
<xs:element minOccurs="0" name="authserver" type="xs:string"/>
|
169
|
+
<xs:element minOccurs="0" name="dbserver" type="xs:string"/>
|
170
|
+
</xs:sequence>
|
171
|
+
</xs:complexType>
|
172
|
+
</xs:schema>
|
173
|
+
</wsdl:types>
|
174
|
+
<wsdl:message name="dummyResponse">
|
175
|
+
<wsdl:part element="tns:dummyResponse" name="parameters">
|
176
|
+
</wsdl:part>
|
177
|
+
</wsdl:message>
|
178
|
+
<wsdl:message name="getPersona">
|
179
|
+
<wsdl:part element="tns:getPersona" name="parameters">
|
180
|
+
</wsdl:part>
|
181
|
+
</wsdl:message>
|
182
|
+
<wsdl:message name="getPersonaResponse">
|
183
|
+
<wsdl:part element="tns:getPersonaResponse" name="parameters">
|
184
|
+
</wsdl:part>
|
185
|
+
</wsdl:message>
|
186
|
+
<wsdl:message name="dummy">
|
187
|
+
<wsdl:part element="tns:dummy" name="parameters">
|
188
|
+
</wsdl:part>
|
189
|
+
</wsdl:message>
|
190
|
+
<wsdl:portType name="PersonaServiceA5">
|
191
|
+
<wsdl:operation name="getPersona">
|
192
|
+
<wsdl:input message="tns:getPersona" name="getPersona">
|
193
|
+
</wsdl:input>
|
194
|
+
<wsdl:output message="tns:getPersonaResponse" name="getPersonaResponse">
|
195
|
+
</wsdl:output>
|
196
|
+
</wsdl:operation>
|
197
|
+
<wsdl:operation name="dummy">
|
198
|
+
<wsdl:input message="tns:dummy" name="dummy">
|
199
|
+
</wsdl:input>
|
200
|
+
<wsdl:output message="tns:dummyResponse" name="dummyResponse">
|
201
|
+
</wsdl:output>
|
202
|
+
</wsdl:operation>
|
203
|
+
</wsdl:portType>
|
204
|
+
<wsdl:binding name="PersonaServiceA5SoapBinding" type="tns:PersonaServiceA5">
|
205
|
+
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
206
|
+
<wsdl:operation name="getPersona">
|
207
|
+
<soap:operation soapAction="" style="document"/>
|
208
|
+
<wsdl:input name="getPersona">
|
209
|
+
<soap:body use="literal"/>
|
210
|
+
</wsdl:input>
|
211
|
+
<wsdl:output name="getPersonaResponse">
|
212
|
+
<soap:body use="literal"/>
|
213
|
+
</wsdl:output>
|
214
|
+
</wsdl:operation>
|
215
|
+
<wsdl:operation name="dummy">
|
216
|
+
<soap:operation soapAction="" style="document"/>
|
217
|
+
<wsdl:input name="dummy">
|
218
|
+
<soap:body use="literal"/>
|
219
|
+
</wsdl:input>
|
220
|
+
<wsdl:output name="dummyResponse">
|
221
|
+
<soap:body use="literal"/>
|
222
|
+
</wsdl:output>
|
223
|
+
</wsdl:operation>
|
224
|
+
</wsdl:binding>
|
225
|
+
<wsdl:service name="PersonaServiceA5">
|
226
|
+
<wsdl:port binding="tns:PersonaServiceA5SoapBinding" name="PersonaServiceA5Port">
|
227
|
+
<soap:address location="https://aws.afip.gov.ar/sr-padron/webservices/personaServiceA5"/>
|
228
|
+
</wsdl:port>
|
229
|
+
</wsdl:service>
|
230
|
+
</wsdl:definitions>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: afipws
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emmanuel Nicolau
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rubocop
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: builder
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -129,33 +143,39 @@ executables: []
|
|
129
143
|
extensions: []
|
130
144
|
extra_rdoc_files: []
|
131
145
|
files:
|
132
|
-
- ".autotest"
|
133
146
|
- ".gitignore"
|
134
147
|
- ".rspec"
|
148
|
+
- ".rubocop.yml"
|
135
149
|
- ".ruby-version"
|
136
150
|
- ".travis.yml"
|
137
151
|
- Gemfile
|
138
152
|
- Gemfile.lock
|
139
153
|
- Guardfile
|
154
|
+
- LICENSE.txt
|
140
155
|
- README.md
|
141
156
|
- Rakefile
|
142
157
|
- afipws.gemspec
|
143
|
-
- autotest/discover.rb
|
144
158
|
- lib/afipws.rb
|
145
159
|
- lib/afipws/client.rb
|
146
160
|
- lib/afipws/core_ext/hash.rb
|
147
161
|
- lib/afipws/excepciones.rb
|
148
162
|
- lib/afipws/type_conversions.rb
|
149
163
|
- lib/afipws/version.rb
|
164
|
+
- lib/afipws/ws_base.rb
|
165
|
+
- lib/afipws/ws_constancia_inscripcion.rb
|
150
166
|
- lib/afipws/wsaa.rb
|
167
|
+
- lib/afipws/wsdl/wsfev1.wsdl
|
151
168
|
- lib/afipws/wsfe.rb
|
152
|
-
- lib/afipws/wsfev1.wsdl
|
153
169
|
- spec/afipws/core_ext/hash_spec.rb
|
154
170
|
- spec/afipws/test.crt
|
155
171
|
- spec/afipws/test.key
|
156
172
|
- spec/afipws/type_conversions_spec.rb
|
173
|
+
- spec/afipws/ws_constancia_inscripcion_spec.rb
|
157
174
|
- spec/afipws/wsaa_spec.rb
|
158
175
|
- spec/afipws/wsfe_spec.rb
|
176
|
+
- spec/fixtures/constancia_inscripcion_dummy/success.xml
|
177
|
+
- spec/fixtures/constancia_inscripcion_get_persona/failure.xml
|
178
|
+
- spec/fixtures/constancia_inscripcion_get_persona/success.xml
|
159
179
|
- spec/fixtures/fe_comp_consultar/success.xml
|
160
180
|
- spec/fixtures/fe_comp_tot_x_request/success.xml
|
161
181
|
- spec/fixtures/fe_comp_ultimo_autorizado/success.xml
|
@@ -183,6 +203,7 @@ files:
|
|
183
203
|
- spec/fixtures/login_cms/fault.xml
|
184
204
|
- spec/fixtures/login_cms/success.xml
|
185
205
|
- spec/fixtures/login_cms/token_expirado.xml
|
206
|
+
- spec/fixtures/ws_constancia_inscripcion.wsdl
|
186
207
|
- spec/fixtures/wsaa.wsdl
|
187
208
|
- spec/fixtures/wsfe.wsdl
|
188
209
|
- spec/manual/generar_keys.txt
|
@@ -218,8 +239,12 @@ test_files:
|
|
218
239
|
- spec/afipws/test.crt
|
219
240
|
- spec/afipws/test.key
|
220
241
|
- spec/afipws/type_conversions_spec.rb
|
242
|
+
- spec/afipws/ws_constancia_inscripcion_spec.rb
|
221
243
|
- spec/afipws/wsaa_spec.rb
|
222
244
|
- spec/afipws/wsfe_spec.rb
|
245
|
+
- spec/fixtures/constancia_inscripcion_dummy/success.xml
|
246
|
+
- spec/fixtures/constancia_inscripcion_get_persona/failure.xml
|
247
|
+
- spec/fixtures/constancia_inscripcion_get_persona/success.xml
|
223
248
|
- spec/fixtures/fe_comp_consultar/success.xml
|
224
249
|
- spec/fixtures/fe_comp_tot_x_request/success.xml
|
225
250
|
- spec/fixtures/fe_comp_ultimo_autorizado/success.xml
|
@@ -247,6 +272,7 @@ test_files:
|
|
247
272
|
- spec/fixtures/login_cms/fault.xml
|
248
273
|
- spec/fixtures/login_cms/success.xml
|
249
274
|
- spec/fixtures/login_cms/token_expirado.xml
|
275
|
+
- spec/fixtures/ws_constancia_inscripcion.wsdl
|
250
276
|
- spec/fixtures/wsaa.wsdl
|
251
277
|
- spec/fixtures/wsfe.wsdl
|
252
278
|
- spec/manual/generar_keys.txt
|
data/.autotest
DELETED
data/autotest/discover.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
Autotest.add_discovery { "rspec2" }
|