afipws 1.0.4 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +5 -3
- data/afipws.gemspec +1 -1
- data/lib/afipws.rb +2 -0
- data/lib/afipws/client.rb +1 -0
- data/lib/afipws/persona_service_a100.rb +43 -0
- data/lib/afipws/persona_service_a4.rb +24 -0
- data/lib/afipws/version.rb +1 -1
- data/lib/afipws/ws_base.rb +7 -1
- data/lib/afipws/ws_constancia_inscripcion.rb +2 -11
- data/lib/afipws/wsaa.rb +1 -1
- data/lib/afipws/wsfe.rb +14 -4
- data/spec/afipws/persona_service_a100_spec.rb +37 -0
- data/spec/afipws/persona_service_a4_spec.rb +23 -0
- data/spec/afipws/ws_constancia_inscripcion_spec.rb +13 -4
- data/spec/afipws/wsaa_spec.rb +1 -1
- data/spec/afipws/wsfe_spec.rb +12 -2
- data/spec/fixtures/constancia_inscripcion_get_persona/fault.xml +8 -0
- data/spec/fixtures/fe_param_get_tipos_concepto/success.xml +17 -0
- data/spec/fixtures/fe_param_get_tipos_opcional/success.xml +16 -0
- data/spec/fixtures/ws_sr_padron_a100.wsdl +125 -0
- data/spec/fixtures/ws_sr_padron_a100/company_types/success.xml +23 -0
- data/spec/fixtures/ws_sr_padron_a100/dummy/success.xml +11 -0
- data/spec/fixtures/ws_sr_padron_a100/jurisdictions/success.xml +31 -0
- data/spec/fixtures/ws_sr_padron_a100/public_organisms/success.xml +23 -0
- data/spec/fixtures/ws_sr_padron_a4.wsdl +229 -0
- data/spec/fixtures/ws_sr_padron_a4/dummy/success.xml +11 -0
- data/spec/fixtures/ws_sr_padron_a4/get_persona/success.xml +133 -0
- metadata +33 -6
- data/lib/afipws/wsdl/wsfev1.wsdl +0 -1372
@@ -0,0 +1,125 @@
|
|
1
|
+
<wsdl:definitions name="ParameterServiceA100" targetNamespace="http://a100.soap.ws.server.pucParam.sr/" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://a100.soap.ws.server.pucParam.sr/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
2
|
+
<wsdl:types>
|
3
|
+
<xs:schema elementFormDefault="unqualified" targetNamespace="http://a100.soap.ws.server.pucParam.sr/" version="1.0" xmlns:tns="http://a100.soap.ws.server.pucParam.sr/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
4
|
+
<xs:element name="dummy" type="tns:dummy"/>
|
5
|
+
<xs:element name="dummyResponse" type="tns:dummyResponse"/>
|
6
|
+
<xs:element name="getParameterCollectionByName" type="tns:getParameterCollectionByName"/>
|
7
|
+
<xs:element name="getParameterCollectionByNameResponse" type="tns:getParameterCollectionByNameResponse"/>
|
8
|
+
<xs:complexType name="dummy">
|
9
|
+
<xs:sequence/>
|
10
|
+
</xs:complexType>
|
11
|
+
<xs:complexType name="dummyResponse">
|
12
|
+
<xs:sequence>
|
13
|
+
<xs:element minOccurs="0" name="return" type="tns:dummyReturn"/>
|
14
|
+
</xs:sequence>
|
15
|
+
</xs:complexType>
|
16
|
+
<xs:complexType name="dummyReturn">
|
17
|
+
<xs:sequence>
|
18
|
+
<xs:element minOccurs="0" name="appserver" type="xs:string"/>
|
19
|
+
<xs:element minOccurs="0" name="authserver" type="xs:string"/>
|
20
|
+
<xs:element minOccurs="0" name="dbserver" type="xs:string"/>
|
21
|
+
</xs:sequence>
|
22
|
+
</xs:complexType>
|
23
|
+
<xs:complexType name="getParameterCollectionByName">
|
24
|
+
<xs:sequence>
|
25
|
+
<xs:element name="token" type="xs:string"/>
|
26
|
+
<xs:element name="sign" type="xs:string"/>
|
27
|
+
<xs:element name="cuitRepresentada" type="xs:long"/>
|
28
|
+
<xs:element name="collectionName" type="xs:string"/>
|
29
|
+
</xs:sequence>
|
30
|
+
</xs:complexType>
|
31
|
+
<xs:complexType name="getParameterCollectionByNameResponse">
|
32
|
+
<xs:sequence>
|
33
|
+
<xs:element minOccurs="0" name="parameterCollectionReturn" type="tns:parameterCollectionReturn"/>
|
34
|
+
</xs:sequence>
|
35
|
+
</xs:complexType>
|
36
|
+
<xs:complexType name="parameterCollectionReturn">
|
37
|
+
<xs:sequence>
|
38
|
+
<xs:element minOccurs="0" name="metadata" type="tns:metadata"/>
|
39
|
+
<xs:element minOccurs="0" name="parameterCollection" type="tns:parameterCollection"/>
|
40
|
+
</xs:sequence>
|
41
|
+
</xs:complexType>
|
42
|
+
<xs:complexType name="metadata">
|
43
|
+
<xs:sequence>
|
44
|
+
<xs:element minOccurs="0" name="fechaHora" type="xs:dateTime"/>
|
45
|
+
<xs:element minOccurs="0" name="servidor" type="xs:string"/>
|
46
|
+
</xs:sequence>
|
47
|
+
</xs:complexType>
|
48
|
+
<xs:complexType name="parameterCollection">
|
49
|
+
<xs:sequence>
|
50
|
+
<xs:element minOccurs="0" name="name" type="xs:string"/>
|
51
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="parameterList" nillable="true" type="tns:parameter"/>
|
52
|
+
</xs:sequence>
|
53
|
+
</xs:complexType>
|
54
|
+
<xs:complexType name="parameter">
|
55
|
+
<xs:sequence>
|
56
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="attributeList" nillable="true" type="tns:parameterAttribute"/>
|
57
|
+
<xs:element minOccurs="0" name="description" type="xs:string"/>
|
58
|
+
<xs:element minOccurs="0" name="id" type="xs:string"/>
|
59
|
+
</xs:sequence>
|
60
|
+
</xs:complexType>
|
61
|
+
<xs:complexType name="parameterAttribute">
|
62
|
+
<xs:sequence>
|
63
|
+
<xs:element minOccurs="0" name="name" type="xs:string"/>
|
64
|
+
<xs:element minOccurs="0" name="value" type="xs:string"/>
|
65
|
+
</xs:sequence>
|
66
|
+
</xs:complexType>
|
67
|
+
</xs:schema>
|
68
|
+
</wsdl:types>
|
69
|
+
<wsdl:message name="getParameterCollectionByName">
|
70
|
+
<wsdl:part element="tns:getParameterCollectionByName" name="parameters">
|
71
|
+
</wsdl:part>
|
72
|
+
</wsdl:message>
|
73
|
+
<wsdl:message name="dummy">
|
74
|
+
<wsdl:part element="tns:dummy" name="parameters">
|
75
|
+
</wsdl:part>
|
76
|
+
</wsdl:message>
|
77
|
+
<wsdl:message name="getParameterCollectionByNameResponse">
|
78
|
+
<wsdl:part element="tns:getParameterCollectionByNameResponse" name="parameters">
|
79
|
+
</wsdl:part>
|
80
|
+
</wsdl:message>
|
81
|
+
<wsdl:message name="dummyResponse">
|
82
|
+
<wsdl:part element="tns:dummyResponse" name="parameters">
|
83
|
+
</wsdl:part>
|
84
|
+
</wsdl:message>
|
85
|
+
<wsdl:portType name="ParameterServiceA100">
|
86
|
+
<wsdl:operation name="dummy">
|
87
|
+
<wsdl:input message="tns:dummy" name="dummy">
|
88
|
+
</wsdl:input>
|
89
|
+
<wsdl:output message="tns:dummyResponse" name="dummyResponse">
|
90
|
+
</wsdl:output>
|
91
|
+
</wsdl:operation>
|
92
|
+
<wsdl:operation name="getParameterCollectionByName">
|
93
|
+
<wsdl:input message="tns:getParameterCollectionByName" name="getParameterCollectionByName">
|
94
|
+
</wsdl:input>
|
95
|
+
<wsdl:output message="tns:getParameterCollectionByNameResponse" name="getParameterCollectionByNameResponse">
|
96
|
+
</wsdl:output>
|
97
|
+
</wsdl:operation>
|
98
|
+
</wsdl:portType>
|
99
|
+
<wsdl:binding name="ParameterServiceA100SoapBinding" type="tns:ParameterServiceA100">
|
100
|
+
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
101
|
+
<wsdl:operation name="dummy">
|
102
|
+
<soap:operation soapAction="" style="document"/>
|
103
|
+
<wsdl:input name="dummy">
|
104
|
+
<soap:body use="literal"/>
|
105
|
+
</wsdl:input>
|
106
|
+
<wsdl:output name="dummyResponse">
|
107
|
+
<soap:body use="literal"/>
|
108
|
+
</wsdl:output>
|
109
|
+
</wsdl:operation>
|
110
|
+
<wsdl:operation name="getParameterCollectionByName">
|
111
|
+
<soap:operation soapAction="" style="document"/>
|
112
|
+
<wsdl:input name="getParameterCollectionByName">
|
113
|
+
<soap:body use="literal"/>
|
114
|
+
</wsdl:input>
|
115
|
+
<wsdl:output name="getParameterCollectionByNameResponse">
|
116
|
+
<soap:body use="literal"/>
|
117
|
+
</wsdl:output>
|
118
|
+
</wsdl:operation>
|
119
|
+
</wsdl:binding>
|
120
|
+
<wsdl:service name="ParameterServiceA100">
|
121
|
+
<wsdl:port binding="tns:ParameterServiceA100SoapBinding" name="ParameterServiceA100Port">
|
122
|
+
<soap:address location="https://awshomo.afip.gov.ar/sr-parametros/webservices/parameterServiceA100"/>
|
123
|
+
</wsdl:port>
|
124
|
+
</wsdl:service>
|
125
|
+
</wsdl:definitions>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
2
|
+
<soap:Body>
|
3
|
+
<ns2:getParameterCollectionByNameResponse xmlns:ns2="http://a100.soap.ws.server.pucParam.sr/">
|
4
|
+
<parameterCollectionReturn>
|
5
|
+
<metadata>
|
6
|
+
<fechaHora>2017-05-05T10:54:45.034-03:00</fechaHora>
|
7
|
+
<servidor>awshomo.afip.gov.ar</servidor>
|
8
|
+
</metadata>
|
9
|
+
<parameterCollection>
|
10
|
+
<name>SUPA.TIPO_EMPRESA_JURIDICA</name>
|
11
|
+
<parameterList>
|
12
|
+
<attributeList>
|
13
|
+
<name>NOMBRE</name>
|
14
|
+
<value>VALOR</value>
|
15
|
+
</attributeList>
|
16
|
+
<decription>ALGO</decription>
|
17
|
+
<id>1</id>
|
18
|
+
</parameterList>
|
19
|
+
</parameterCollection>
|
20
|
+
</parameterCollectionReturn>
|
21
|
+
</ns2:getParameterCollectionByNameResponse>
|
22
|
+
</soap:Body>
|
23
|
+
</soap:Envelope>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
2
|
+
<soap:Body>
|
3
|
+
<ns2:dummyResponse xmlns:ns2="http://a100.soap.ws.server.pucParam.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,31 @@
|
|
1
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
2
|
+
<soap:Body>
|
3
|
+
<ns2:getParameterCollectionByNameResponse xmlns:ns2="http://a100.soap.ws.server.pucParam.sr/">
|
4
|
+
<parameterCollectionReturn>
|
5
|
+
<metadata>
|
6
|
+
<fechaHora>2017-05-05T10:54:45.034-03:00</fechaHora>
|
7
|
+
<servidor>awshomo.afip.gov.ar</servidor>
|
8
|
+
</metadata>
|
9
|
+
<parameterCollection>
|
10
|
+
<name>SUPA.E_PROVINCIA</name>
|
11
|
+
<parameterList>
|
12
|
+
<attributeList>
|
13
|
+
<name>NOMBRE_PROVINCIA</name>
|
14
|
+
<value>MISIONES</value>
|
15
|
+
</attributeList>
|
16
|
+
<attributeList>
|
17
|
+
<name>COD_PROVINCIA</name>
|
18
|
+
<value>19</value>
|
19
|
+
</attributeList>
|
20
|
+
<attributeList>
|
21
|
+
<name>CODIGO_SIM_PROVINCIA</name>
|
22
|
+
<value>MI</value>
|
23
|
+
</attributeList>
|
24
|
+
<decription>MISIONES</decription>
|
25
|
+
<id>19</id>
|
26
|
+
</parameterList>
|
27
|
+
</parameterCollection>
|
28
|
+
</parameterCollectionReturn>
|
29
|
+
</ns2:getParameterCollectionByNameResponse>
|
30
|
+
</soap:Body>
|
31
|
+
</soap:Envelope>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
2
|
+
<soap:Body>
|
3
|
+
<ns2:getParameterCollectionByNameResponse xmlns:ns2="http://a100.soap.ws.server.pucParam.sr/">
|
4
|
+
<parameterCollectionReturn>
|
5
|
+
<metadata>
|
6
|
+
<fechaHora>2017-05-05T10:54:45.034-03:00</fechaHora>
|
7
|
+
<servidor>awshomo.afip.gov.ar</servidor>
|
8
|
+
</metadata>
|
9
|
+
<parameterCollection>
|
10
|
+
<name>SUPA.E_ORGANISMO_INFORMANTE</name>
|
11
|
+
<parameterList>
|
12
|
+
<attributeList>
|
13
|
+
<name>NOMBRE</name>
|
14
|
+
<value>VALOR</value>
|
15
|
+
</attributeList>
|
16
|
+
<decription>ALGO</decription>
|
17
|
+
<id>1</id>
|
18
|
+
</parameterList>
|
19
|
+
</parameterCollection>
|
20
|
+
</parameterCollectionReturn>
|
21
|
+
</ns2:getParameterCollectionByNameResponse>
|
22
|
+
</soap:Body>
|
23
|
+
</soap:Envelope>
|
@@ -0,0 +1,229 @@
|
|
1
|
+
<wsdl:definitions name="PersonaServiceA4" targetNamespace="http://a4.soap.ws.server.puc.sr/" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://a4.soap.ws.server.puc.sr/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
2
|
+
<wsdl:types>
|
3
|
+
<xs:schema elementFormDefault="unqualified" targetNamespace="http://a4.soap.ws.server.puc.sr/" version="1.0" xmlns:tns="http://a4.soap.ws.server.puc.sr/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
4
|
+
<xs:element name="dummy" type="tns:dummy"/>
|
5
|
+
<xs:element name="dummyResponse" type="tns:dummyResponse"/>
|
6
|
+
<xs:element name="getPersona" type="tns:getPersona"/>
|
7
|
+
<xs:element name="getPersonaResponse" type="tns:getPersonaResponse"/>
|
8
|
+
<xs:complexType name="dummy">
|
9
|
+
<xs:sequence/>
|
10
|
+
</xs:complexType>
|
11
|
+
<xs:complexType name="dummyResponse">
|
12
|
+
<xs:sequence>
|
13
|
+
<xs:element minOccurs="0" name="return" type="tns:dummyReturn"/>
|
14
|
+
</xs:sequence>
|
15
|
+
</xs:complexType>
|
16
|
+
<xs:complexType name="dummyReturn">
|
17
|
+
<xs:sequence>
|
18
|
+
<xs:element minOccurs="0" name="appserver" type="xs:string"/>
|
19
|
+
<xs:element minOccurs="0" name="authserver" type="xs:string"/>
|
20
|
+
<xs:element minOccurs="0" name="dbserver" type="xs:string"/>
|
21
|
+
</xs:sequence>
|
22
|
+
</xs:complexType>
|
23
|
+
<xs:complexType name="getPersona">
|
24
|
+
<xs:sequence>
|
25
|
+
<xs:element name="token" type="xs:string"/>
|
26
|
+
<xs:element name="sign" type="xs:string"/>
|
27
|
+
<xs:element name="cuitRepresentada" type="xs:long"/>
|
28
|
+
<xs:element name="idPersona" type="xs:long"/>
|
29
|
+
</xs:sequence>
|
30
|
+
</xs:complexType>
|
31
|
+
<xs:complexType name="getPersonaResponse">
|
32
|
+
<xs:sequence>
|
33
|
+
<xs:element minOccurs="0" name="personaReturn" type="tns:personaReturn"/>
|
34
|
+
</xs:sequence>
|
35
|
+
</xs:complexType>
|
36
|
+
<xs:complexType name="personaReturn">
|
37
|
+
<xs:sequence>
|
38
|
+
<xs:element minOccurs="0" name="metadata" type="tns:metadata"/>
|
39
|
+
<xs:element minOccurs="0" name="persona" type="tns:persona"/>
|
40
|
+
</xs:sequence>
|
41
|
+
</xs:complexType>
|
42
|
+
<xs:complexType name="metadata">
|
43
|
+
<xs:sequence>
|
44
|
+
<xs:element minOccurs="0" name="fechaHora" type="xs:dateTime"/>
|
45
|
+
<xs:element minOccurs="0" name="servidor" type="xs:string"/>
|
46
|
+
</xs:sequence>
|
47
|
+
</xs:complexType>
|
48
|
+
<xs:complexType name="persona">
|
49
|
+
<xs:sequence>
|
50
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="actividad" nillable="true" type="tns:actividad"/>
|
51
|
+
<xs:element minOccurs="0" name="apellido" type="xs:string"/>
|
52
|
+
<xs:element minOccurs="0" name="cantidadSociosEmpresaMono" type="xs:int"/>
|
53
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="categoria" nillable="true" type="tns:categoria"/>
|
54
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="claveInactivaAsociada" nillable="true" type="xs:long"/>
|
55
|
+
<xs:element minOccurs="0" name="dependencia" type="tns:dependencia"/>
|
56
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="domicilio" nillable="true" type="tns:domicilio"/>
|
57
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="email" nillable="true" type="tns:email"/>
|
58
|
+
<xs:element minOccurs="0" name="estadoClave" type="xs:string"/>
|
59
|
+
<xs:element minOccurs="0" name="fechaContratoSocial" type="xs:dateTime"/>
|
60
|
+
<xs:element minOccurs="0" name="fechaFallecimiento" type="xs:dateTime"/>
|
61
|
+
<xs:element minOccurs="0" name="fechaInscripcion" type="xs:dateTime"/>
|
62
|
+
<xs:element minOccurs="0" name="fechaJubilado" type="xs:dateTime"/>
|
63
|
+
<xs:element minOccurs="0" name="fechaNacimiento" type="xs:dateTime"/>
|
64
|
+
<xs:element minOccurs="0" name="fechaVencimientoMigracion" type="xs:dateTime"/>
|
65
|
+
<xs:element minOccurs="0" name="formaJuridica" type="xs:string"/>
|
66
|
+
<xs:element minOccurs="0" name="idPersona" type="xs:long"/>
|
67
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="impuesto" nillable="true" type="tns:impuesto"/>
|
68
|
+
<xs:element minOccurs="0" name="leyJubilacion" type="xs:int"/>
|
69
|
+
<xs:element minOccurs="0" name="localidadInscripcion" type="xs:string"/>
|
70
|
+
<xs:element minOccurs="0" name="mesCierre" type="xs:int"/>
|
71
|
+
<xs:element minOccurs="0" name="nombre" type="xs:string"/>
|
72
|
+
<xs:element minOccurs="0" name="numeroDocumento" type="xs:string"/>
|
73
|
+
<xs:element minOccurs="0" name="numeroInscripcion" type="xs:long"/>
|
74
|
+
<xs:element minOccurs="0" name="organismoInscripcion" type="xs:string"/>
|
75
|
+
<xs:element minOccurs="0" name="organismoOriginante" type="xs:string"/>
|
76
|
+
<xs:element minOccurs="0" name="porcentajeCapitalNacional" type="xs:double"/>
|
77
|
+
<xs:element minOccurs="0" name="provinciaInscripcion" type="xs:string"/>
|
78
|
+
<xs:element minOccurs="0" name="razonSocial" type="xs:string"/>
|
79
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="regimen" nillable="true" type="tns:regimen"/>
|
80
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="relacion" nillable="true" type="tns:relacion"/>
|
81
|
+
<xs:element minOccurs="0" name="sexo" type="xs:string"/>
|
82
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="telefono" nillable="true" type="tns:telefono"/>
|
83
|
+
<xs:element minOccurs="0" name="tipoClave" type="xs:string"/>
|
84
|
+
<xs:element minOccurs="0" name="tipoDocumento" type="xs:string"/>
|
85
|
+
<xs:element minOccurs="0" name="tipoOrganismoOriginante" type="xs:string"/>
|
86
|
+
<xs:element minOccurs="0" name="tipoPersona" type="xs:string"/>
|
87
|
+
<xs:element minOccurs="0" name="tipoResidencia" type="xs:string"/>
|
88
|
+
</xs:sequence>
|
89
|
+
</xs:complexType>
|
90
|
+
<xs:complexType name="actividad">
|
91
|
+
<xs:sequence>
|
92
|
+
<xs:element minOccurs="0" name="descripcionActividad" type="xs:string"/>
|
93
|
+
<xs:element minOccurs="0" name="idActividad" type="xs:long"/>
|
94
|
+
<xs:element minOccurs="0" name="nomenclador" type="xs:int"/>
|
95
|
+
<xs:element minOccurs="0" name="orden" type="xs:int"/>
|
96
|
+
<xs:element minOccurs="0" name="periodo" type="xs:int"/>
|
97
|
+
</xs:sequence>
|
98
|
+
</xs:complexType>
|
99
|
+
<xs:complexType name="categoria">
|
100
|
+
<xs:sequence>
|
101
|
+
<xs:element minOccurs="0" name="descripcionCategoria" type="xs:string"/>
|
102
|
+
<xs:element minOccurs="0" name="estado" type="xs:string"/>
|
103
|
+
<xs:element minOccurs="0" name="idCategoria" type="xs:int"/>
|
104
|
+
<xs:element minOccurs="0" name="idImpuesto" type="xs:int"/>
|
105
|
+
<xs:element minOccurs="0" name="periodo" type="xs:int"/>
|
106
|
+
</xs:sequence>
|
107
|
+
</xs:complexType>
|
108
|
+
<xs:complexType name="dependencia">
|
109
|
+
<xs:sequence>
|
110
|
+
<xs:element minOccurs="0" name="descripcionDependencia" type="xs:string"/>
|
111
|
+
<xs:element minOccurs="0" name="idDependencia" type="xs:int"/>
|
112
|
+
</xs:sequence>
|
113
|
+
</xs:complexType>
|
114
|
+
<xs:complexType name="domicilio">
|
115
|
+
<xs:sequence>
|
116
|
+
<xs:element minOccurs="0" name="codPostal" type="xs:string"/>
|
117
|
+
<xs:element minOccurs="0" name="datoAdicional" type="xs:string"/>
|
118
|
+
<xs:element minOccurs="0" name="descripcionProvincia" type="xs:string"/>
|
119
|
+
<xs:element minOccurs="0" name="direccion" type="xs:string"/>
|
120
|
+
<xs:element minOccurs="0" name="idProvincia" type="xs:int"/>
|
121
|
+
<xs:element minOccurs="0" name="localidad" type="xs:string"/>
|
122
|
+
<xs:element minOccurs="0" name="tipoDatoAdicional" type="xs:string"/>
|
123
|
+
<xs:element minOccurs="0" name="tipoDomicilio" type="xs:string"/>
|
124
|
+
</xs:sequence>
|
125
|
+
</xs:complexType>
|
126
|
+
<xs:complexType name="email">
|
127
|
+
<xs:sequence>
|
128
|
+
<xs:element minOccurs="0" name="direccion" type="xs:string"/>
|
129
|
+
<xs:element minOccurs="0" name="estado" type="xs:string"/>
|
130
|
+
<xs:element minOccurs="0" name="tipoEmail" type="xs:string"/>
|
131
|
+
</xs:sequence>
|
132
|
+
</xs:complexType>
|
133
|
+
<xs:complexType name="impuesto">
|
134
|
+
<xs:sequence>
|
135
|
+
<xs:element minOccurs="0" name="descripcionImpuesto" type="xs:string"/>
|
136
|
+
<xs:element minOccurs="0" name="diaPeriodo" type="xs:int"/>
|
137
|
+
<xs:element minOccurs="0" name="estado" type="xs:string"/>
|
138
|
+
<xs:element minOccurs="0" name="ffInscripcion" type="xs:dateTime"/>
|
139
|
+
<xs:element minOccurs="0" name="idImpuesto" type="xs:int"/>
|
140
|
+
<xs:element minOccurs="0" name="periodo" type="xs:int"/>
|
141
|
+
</xs:sequence>
|
142
|
+
</xs:complexType>
|
143
|
+
<xs:complexType name="regimen">
|
144
|
+
<xs:sequence>
|
145
|
+
<xs:element minOccurs="0" name="descripcionRegimen" type="xs:string"/>
|
146
|
+
<xs:element minOccurs="0" name="diaPeriodo" type="xs:int"/>
|
147
|
+
<xs:element minOccurs="0" name="estado" type="xs:string"/>
|
148
|
+
<xs:element minOccurs="0" name="idImpuesto" type="xs:int"/>
|
149
|
+
<xs:element minOccurs="0" name="idRegimen" type="xs:int"/>
|
150
|
+
<xs:element minOccurs="0" name="periodo" type="xs:int"/>
|
151
|
+
<xs:element minOccurs="0" name="tipoRegimen" type="xs:string"/>
|
152
|
+
</xs:sequence>
|
153
|
+
</xs:complexType>
|
154
|
+
<xs:complexType name="relacion">
|
155
|
+
<xs:sequence>
|
156
|
+
<xs:element minOccurs="0" name="ffRelacion" type="xs:dateTime"/>
|
157
|
+
<xs:element minOccurs="0" name="ffVencimiento" type="xs:dateTime"/>
|
158
|
+
<xs:element minOccurs="0" name="idPersona" type="xs:long"/>
|
159
|
+
<xs:element minOccurs="0" name="idPersonaAsociada" type="xs:long"/>
|
160
|
+
<xs:element minOccurs="0" name="subtipoRelacion" type="xs:string"/>
|
161
|
+
<xs:element minOccurs="0" name="tipoRelacion" type="xs:string"/>
|
162
|
+
</xs:sequence>
|
163
|
+
</xs:complexType>
|
164
|
+
<xs:complexType name="telefono">
|
165
|
+
<xs:sequence>
|
166
|
+
<xs:element minOccurs="0" name="numero" type="xs:long"/>
|
167
|
+
<xs:element minOccurs="0" name="tipoLinea" type="xs:string"/>
|
168
|
+
<xs:element minOccurs="0" name="tipoTelefono" type="xs:string"/>
|
169
|
+
</xs:sequence>
|
170
|
+
</xs:complexType>
|
171
|
+
</xs:schema>
|
172
|
+
</wsdl:types>
|
173
|
+
<wsdl:message name="getPersonaResponse">
|
174
|
+
<wsdl:part element="tns:getPersonaResponse" name="parameters">
|
175
|
+
</wsdl:part>
|
176
|
+
</wsdl:message>
|
177
|
+
<wsdl:message name="getPersona">
|
178
|
+
<wsdl:part element="tns:getPersona" name="parameters">
|
179
|
+
</wsdl:part>
|
180
|
+
</wsdl:message>
|
181
|
+
<wsdl:message name="dummyResponse">
|
182
|
+
<wsdl:part element="tns:dummyResponse" name="parameters">
|
183
|
+
</wsdl:part>
|
184
|
+
</wsdl:message>
|
185
|
+
<wsdl:message name="dummy">
|
186
|
+
<wsdl:part element="tns:dummy" name="parameters">
|
187
|
+
</wsdl:part>
|
188
|
+
</wsdl:message>
|
189
|
+
<wsdl:portType name="PersonaServiceA4">
|
190
|
+
<wsdl:operation name="dummy">
|
191
|
+
<wsdl:input message="tns:dummy" name="dummy">
|
192
|
+
</wsdl:input>
|
193
|
+
<wsdl:output message="tns:dummyResponse" name="dummyResponse">
|
194
|
+
</wsdl:output>
|
195
|
+
</wsdl:operation>
|
196
|
+
<wsdl:operation name="getPersona">
|
197
|
+
<wsdl:input message="tns:getPersona" name="getPersona">
|
198
|
+
</wsdl:input>
|
199
|
+
<wsdl:output message="tns:getPersonaResponse" name="getPersonaResponse">
|
200
|
+
</wsdl:output>
|
201
|
+
</wsdl:operation>
|
202
|
+
</wsdl:portType>
|
203
|
+
<wsdl:binding name="PersonaServiceA4SoapBinding" type="tns:PersonaServiceA4">
|
204
|
+
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
205
|
+
<wsdl:operation name="dummy">
|
206
|
+
<soap:operation soapAction="" style="document"/>
|
207
|
+
<wsdl:input name="dummy">
|
208
|
+
<soap:body use="literal"/>
|
209
|
+
</wsdl:input>
|
210
|
+
<wsdl:output name="dummyResponse">
|
211
|
+
<soap:body use="literal"/>
|
212
|
+
</wsdl:output>
|
213
|
+
</wsdl:operation>
|
214
|
+
<wsdl:operation name="getPersona">
|
215
|
+
<soap:operation soapAction="" style="document"/>
|
216
|
+
<wsdl:input name="getPersona">
|
217
|
+
<soap:body use="literal"/>
|
218
|
+
</wsdl:input>
|
219
|
+
<wsdl:output name="getPersonaResponse">
|
220
|
+
<soap:body use="literal"/>
|
221
|
+
</wsdl:output>
|
222
|
+
</wsdl:operation>
|
223
|
+
</wsdl:binding>
|
224
|
+
<wsdl:service name="PersonaServiceA4">
|
225
|
+
<wsdl:port binding="tns:PersonaServiceA4SoapBinding" name="PersonaServiceA4Port">
|
226
|
+
<soap:address location="https://awshomo.afip.gov.ar/sr-padron/webservices/personaServiceA4"/>
|
227
|
+
</wsdl:port>
|
228
|
+
</wsdl:service>
|
229
|
+
</wsdl:definitions>
|