afipws 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. data/.gitignore +5 -0
  2. data/.rspec +1 -0
  3. data/.rvmrc +1 -0
  4. data/Gemfile +4 -0
  5. data/Gemfile.lock +69 -0
  6. data/README.rdoc +32 -0
  7. data/Rakefile +7 -0
  8. data/afipws.gemspec +29 -0
  9. data/autotest/discover.rb +1 -0
  10. data/lib/afipws.rb +23 -0
  11. data/lib/afipws/client.rb +48 -0
  12. data/lib/afipws/excepciones.rb +13 -0
  13. data/lib/afipws/type_conversions.rb +38 -0
  14. data/lib/afipws/version.rb +3 -0
  15. data/lib/afipws/wsaa.rb +77 -0
  16. data/lib/afipws/wsfe.rb +88 -0
  17. data/lib/core_ext/hash.rb +21 -0
  18. data/lib/core_ext/string.rb +9 -0
  19. data/spec/afipws/test.crt +17 -0
  20. data/spec/afipws/test.key +15 -0
  21. data/spec/afipws/type_conversions_spec.rb +30 -0
  22. data/spec/afipws/wsaa_spec.rb +68 -0
  23. data/spec/afipws/wsfe_spec.rb +163 -0
  24. data/spec/core_ext/hash_spec.rb +44 -0
  25. data/spec/fixtures/fe_comp_consultar/success.xml +41 -0
  26. data/spec/fixtures/fe_comp_tot_x_request/success.xml +9 -0
  27. data/spec/fixtures/fe_comp_ultimo_autorizado/success.xml +11 -0
  28. data/spec/fixtures/fe_dummy/success.xml +11 -0
  29. data/spec/fixtures/fe_param_get_cotizacion/dolar.xml +13 -0
  30. data/spec/fixtures/fe_param_get_cotizacion/inexistente.xml +14 -0
  31. data/spec/fixtures/fe_param_get_tipos_cbte/failure_1_error.xml +14 -0
  32. data/spec/fixtures/fe_param_get_tipos_cbte/failure_2_errors.xml +18 -0
  33. data/spec/fixtures/fe_param_get_tipos_cbte/success.xml +22 -0
  34. data/spec/fixtures/fe_param_get_tipos_doc/success.xml +16 -0
  35. data/spec/fixtures/fe_param_get_tipos_iva/success.xml +16 -0
  36. data/spec/fixtures/fe_param_get_tipos_monedas/success.xml +22 -0
  37. data/spec/fixtures/fe_param_get_tipos_tributos/success.xml +16 -0
  38. data/spec/fixtures/fecae_solicitar/autorizacion_1_cbte.xml +30 -0
  39. data/spec/fixtures/fecae_solicitar/autorizacion_2_cbtes.xml +41 -0
  40. data/spec/fixtures/fecae_solicitar/observaciones.xml +40 -0
  41. data/spec/fixtures/login_cms/fault.xml +12 -0
  42. data/spec/fixtures/login_cms/success.xml +16 -0
  43. data/spec/fixtures/login_cms/token_expirado.xml +14 -0
  44. data/spec/fixtures/wsaa.wsdl +103 -0
  45. data/spec/fixtures/wsfe.wsdl +1372 -0
  46. data/spec/manual/autorizar_comprobante.rb +22 -0
  47. data/spec/manual/generar_keys.txt +8 -0
  48. data/spec/manual/obtener_ta.rb +18 -0
  49. data/spec/spec_helper.rb +12 -0
  50. data/spec/support/matchers.rb +37 -0
  51. metadata +237 -0
@@ -0,0 +1,11 @@
1
+ <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
+ <soap:Body>
3
+ <FEDummyResponse xmlns="http://ar.gov.afip.dif.FEV1/">
4
+ <FEDummyResult>
5
+ <AppServer>OK</AppServer>
6
+ <DbServer>OK</DbServer>
7
+ <AuthServer>OK</AuthServer>
8
+ </FEDummyResult>
9
+ </FEDummyResponse>
10
+ </soap:Body>
11
+ </soap:Envelope>
@@ -0,0 +1,13 @@
1
+ <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
+ <soap:Body>
3
+ <FEParamGetCotizacionResponse xmlns="http://ar.gov.afip.dif.FEV1/">
4
+ <FEParamGetCotizacionResult>
5
+ <ResultGet>
6
+ <MonId>DOL</MonId>
7
+ <MonCotiz>3.976</MonCotiz>
8
+ <FchCotiz>20110112</FchCotiz>
9
+ </ResultGet>
10
+ </FEParamGetCotizacionResult>
11
+ </FEParamGetCotizacionResponse>
12
+ </soap:Body>
13
+ </soap:Envelope>
@@ -0,0 +1,14 @@
1
+ <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
+ <soap:Body>
3
+ <FEParamGetCotizacionResponse xmlns="http://ar.gov.afip.dif.FEV1/">
4
+ <FEParamGetCotizacionResult>
5
+ <Errors>
6
+ <Err>
7
+ <Code>602</Code>
8
+ <Msg>Sin Resultados: - Metodo FEParamGetCotizacion.Codigo de moneda (PES) inexistente o SIN cotización</Msg>
9
+ </Err>
10
+ </Errors>
11
+ </FEParamGetCotizacionResult>
12
+ </FEParamGetCotizacionResponse>
13
+ </soap:Body>
14
+ </soap:Envelope>
@@ -0,0 +1,14 @@
1
+ <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
+ <soap:Body>
3
+ <FEParamGetTiposCbteResponse xmlns="http://ar.gov.afip.dif.FEV1/">
4
+ <FEParamGetTiposCbteResult>
5
+ <Errors>
6
+ <Err>
7
+ <Code>600</Code>
8
+ <Msg>No se corresponden token con firma</Msg>
9
+ </Err>
10
+ </Errors>
11
+ </FEParamGetTiposCbteResult>
12
+ </FEParamGetTiposCbteResponse>
13
+ </soap:Body>
14
+ </soap:Envelope>
@@ -0,0 +1,18 @@
1
+ <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
+ <soap:Body>
3
+ <FEParamGetTiposCbteResponse xmlns="http://ar.gov.afip.dif.FEV1/">
4
+ <FEParamGetTiposCbteResult>
5
+ <Errors>
6
+ <Err>
7
+ <Code>600</Code>
8
+ <Msg>No se corresponden token con firma</Msg>
9
+ </Err>
10
+ <Err>
11
+ <Code>601</Code>
12
+ <Msg>CUIT representada no incluida en token</Msg>
13
+ </Err>
14
+ </Errors>
15
+ </FEParamGetTiposCbteResult>
16
+ </FEParamGetTiposCbteResponse>
17
+ </soap:Body>
18
+ </soap:Envelope>
@@ -0,0 +1,22 @@
1
+ <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
+ <soap:Body>
3
+ <FEParamGetTiposCbteResponse xmlns="http://ar.gov.afip.dif.FEV1/">
4
+ <FEParamGetTiposCbteResult>
5
+ <ResultGet>
6
+ <CbteTipo>
7
+ <Id>1</Id>
8
+ <Desc>Factura A</Desc>
9
+ <FchDesde>20100917</FchDesde>
10
+ <FchHasta>NULL</FchHasta>
11
+ </CbteTipo>
12
+ <CbteTipo>
13
+ <Id>2</Id>
14
+ <Desc>Nota de Débito A</Desc>
15
+ <FchDesde>20100918</FchDesde>
16
+ <FchHasta>20110918</FchHasta>
17
+ </CbteTipo>
18
+ </ResultGet>
19
+ </FEParamGetTiposCbteResult>
20
+ </FEParamGetTiposCbteResponse>
21
+ </soap:Body>
22
+ </soap:Envelope>
@@ -0,0 +1,16 @@
1
+ <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
+ <soap:Body>
3
+ <FEParamGetTiposDocResponse xmlns="http://ar.gov.afip.dif.FEV1/">
4
+ <FEParamGetTiposDocResult>
5
+ <ResultGet>
6
+ <DocTipo>
7
+ <Id>80</Id>
8
+ <Desc>CUIT</Desc>
9
+ <FchDesde>20080725</FchDesde>
10
+ <FchHasta>NULL</FchHasta>
11
+ </DocTipo>
12
+ </ResultGet>
13
+ </FEParamGetTiposDocResult>
14
+ </FEParamGetTiposDocResponse>
15
+ </soap:Body>
16
+ </soap:Envelope>
@@ -0,0 +1,16 @@
1
+ <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
+ <soap:Body>
3
+ <FEParamGetTiposIvaResponse xmlns="http://ar.gov.afip.dif.FEV1/">
4
+ <FEParamGetTiposIvaResult>
5
+ <ResultGet>
6
+ <IvaTipo>
7
+ <Id>5</Id>
8
+ <Desc>21%</Desc>
9
+ <FchDesde>20090220</FchDesde>
10
+ <FchHasta>NULL</FchHasta>
11
+ </IvaTipo>
12
+ </ResultGet>
13
+ </FEParamGetTiposIvaResult>
14
+ </FEParamGetTiposIvaResponse>
15
+ </soap:Body>
16
+ </soap:Envelope>
@@ -0,0 +1,22 @@
1
+ <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
+ <soap:Body>
3
+ <FEParamGetTiposMonedasResponse xmlns="http://ar.gov.afip.dif.FEV1/">
4
+ <FEParamGetTiposMonedasResult>
5
+ <ResultGet>
6
+ <Moneda>
7
+ <Id>PES</Id>
8
+ <Desc>Pesos Argentinos</Desc>
9
+ <FchDesde>20090403</FchDesde>
10
+ <FchHasta>NULL</FchHasta>
11
+ </Moneda>
12
+ <Moneda>
13
+ <Id>002</Id>
14
+ <Desc>Dólar Libre EEUU</Desc>
15
+ <FchDesde>20090416</FchDesde>
16
+ <FchHasta>NULL</FchHasta>
17
+ </Moneda>
18
+ </ResultGet>
19
+ </FEParamGetTiposMonedasResult>
20
+ </FEParamGetTiposMonedasResponse>
21
+ </soap:Body>
22
+ </soap:Envelope>
@@ -0,0 +1,16 @@
1
+ <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
+ <soap:Body>
3
+ <FEParamGetTiposTributosResponse xmlns="http://ar.gov.afip.dif.FEV1/">
4
+ <FEParamGetTiposTributosResult>
5
+ <ResultGet>
6
+ <TributoTipo>
7
+ <Id>2</Id>
8
+ <Desc>Impuestos provinciales</Desc>
9
+ <FchDesde>20100917</FchDesde>
10
+ <FchHasta>NULL</FchHasta>
11
+ </TributoTipo>
12
+ </ResultGet>
13
+ </FEParamGetTiposTributosResult>
14
+ </FEParamGetTiposTributosResponse>
15
+ </soap:Body>
16
+ </soap:Envelope>
@@ -0,0 +1,30 @@
1
+ <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
+ <soap:Body>
3
+ <FECAESolicitarResponse xmlns="http://ar.gov.afip.dif.FEV1/">
4
+ <FECAESolicitarResult>
5
+ <FeCabResp>
6
+ <Cuit>20300032673</Cuit>
7
+ <PtoVta>1</PtoVta>
8
+ <CbteTipo>1</CbteTipo>
9
+ <FchProceso>20110113</FchProceso>
10
+ <CantReg>1</CantReg>
11
+ <Resultado>A</Resultado>
12
+ <Reproceso>N</Reproceso>
13
+ </FeCabResp>
14
+ <FeDetResp>
15
+ <FECAEDetResponse>
16
+ <Concepto>1</Concepto>
17
+ <DocTipo>80</DocTipo>
18
+ <DocNro>30521189203</DocNro>
19
+ <CbteDesde>1</CbteDesde>
20
+ <CbteHasta>1</CbteHasta>
21
+ <CbteFch>20110113</CbteFch>
22
+ <Resultado>A</Resultado>
23
+ <CAE>61023008595705</CAE>
24
+ <CAEFchVto>20110123</CAEFchVto>
25
+ </FECAEDetResponse>
26
+ </FeDetResp>
27
+ </FECAESolicitarResult>
28
+ </FECAESolicitarResponse>
29
+ </soap:Body>
30
+ </soap:Envelope>
@@ -0,0 +1,41 @@
1
+ <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
+ <soap:Body>
3
+ <FECAESolicitarResponse xmlns="http://ar.gov.afip.dif.FEV1/">
4
+ <FECAESolicitarResult>
5
+ <FeCabResp>
6
+ <Cuit>20300032673</Cuit>
7
+ <PtoVta>1</PtoVta>
8
+ <CbteTipo>1</CbteTipo>
9
+ <FchProceso>20110115</FchProceso>
10
+ <CantReg>2</CantReg>
11
+ <Resultado>A</Resultado>
12
+ <Reproceso>N</Reproceso>
13
+ </FeCabResp>
14
+ <FeDetResp>
15
+ <FECAEDetResponse>
16
+ <Concepto>1</Concepto>
17
+ <DocTipo>80</DocTipo>
18
+ <DocNro>30521189203</DocNro>
19
+ <CbteDesde>5</CbteDesde>
20
+ <CbteHasta>5</CbteHasta>
21
+ <CbteFch>20110113</CbteFch>
22
+ <Resultado>A</Resultado>
23
+ <CAE>61033008894096</CAE>
24
+ <CAEFchVto>20110123</CAEFchVto>
25
+ </FECAEDetResponse>
26
+ <FECAEDetResponse>
27
+ <Concepto>1</Concepto>
28
+ <DocTipo>80</DocTipo>
29
+ <DocNro>30521189203</DocNro>
30
+ <CbteDesde>6</CbteDesde>
31
+ <CbteHasta>6</CbteHasta>
32
+ <CbteFch>20110113</CbteFch>
33
+ <Resultado>A</Resultado>
34
+ <CAE>61033008894101</CAE>
35
+ <CAEFchVto>20110123</CAEFchVto>
36
+ </FECAEDetResponse>
37
+ </FeDetResp>
38
+ </FECAESolicitarResult>
39
+ </FECAESolicitarResponse>
40
+ </soap:Body>
41
+ </soap:Envelope>
@@ -0,0 +1,40 @@
1
+ <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
+ <soap:Body>
3
+ <FECAESolicitarResponse xmlns="http://ar.gov.afip.dif.FEV1/">
4
+ <FECAESolicitarResult>
5
+ <FeCabResp>
6
+ <Cuit>20300032673</Cuit>
7
+ <PtoVta>1</PtoVta>
8
+ <CbteTipo>1</CbteTipo>
9
+ <FchProceso>20110114</FchProceso>
10
+ <CantReg>1</CantReg>
11
+ <Resultado>R</Resultado>
12
+ <Reproceso>N</Reproceso>
13
+ </FeCabResp>
14
+ <FeDetResp>
15
+ <FECAEDetResponse>
16
+ <Concepto>1</Concepto>
17
+ <DocTipo>80</DocTipo>
18
+ <DocNro>30521189203</DocNro>
19
+ <CbteDesde>3</CbteDesde>
20
+ <CbteHasta>3</CbteHasta>
21
+ <CbteFch>20110113</CbteFch>
22
+ <Resultado>R</Resultado>
23
+ <Observaciones>
24
+ <Obs>
25
+ <Code>10048</Code>
26
+ <Msg>Msg 1</Msg>
27
+ </Obs>
28
+ <Obs>
29
+ <Code>10018</Code>
30
+ <Msg>Msg 2</Msg>
31
+ </Obs>
32
+ </Observaciones>
33
+ <CAE/>
34
+ <CAEFchVto/>
35
+ </FECAEDetResponse>
36
+ </FeDetResp>
37
+ </FECAESolicitarResult>
38
+ </FECAESolicitarResponse>
39
+ </soap:Body>
40
+ </soap:Envelope>
@@ -0,0 +1,12 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2
+ <soapenv:Body>
3
+ <soapenv:Fault>
4
+ <faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:cms.bad</faultcode>
5
+ <faultstring>El CMS no es valido</faultstring>
6
+ <detail>
7
+ <ns2:exceptionName xmlns:ns2="http://xml.apache.org/axis/">gov.afip.desein.dvadac.sua.view.wsaa.LoginFault</ns2:exceptionName>
8
+ <ns3:hostname xmlns:ns3="http://xml.apache.org/axis/">avaricia.afip.gov.ar</ns3:hostname>
9
+ </detail>
10
+ </soapenv:Fault>
11
+ </soapenv:Body>
12
+ </soapenv:Envelope>
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><loginCmsResponse xmlns=""><ns1:loginCmsReturn xmlns:ns1="https://wsaahomo.afip.gov.ar/ws/services/LoginCms">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;
2
+ &lt;loginTicketResponse version=&quot;1&quot;&gt;
3
+ &lt;header&gt;
4
+ &lt;source&gt;CN=wsaahomo, O=AFIP, C=AR, SERIALNUMBER=CUIT 33693450239&lt;/source&gt;
5
+ &lt;destination&gt;C=ar, O=nicolau emmanuel, SERIALNUMBER=CUIT 20300032673, CN=vitolendev&lt;/destination&gt;
6
+ &lt;uniqueId&gt;1318562072&lt;/uniqueId&gt;
7
+ &lt;generationTime&gt;2011-01-12T18:57:04.0-03:00&lt;/generationTime&gt;
8
+ &lt;expirationTime&gt;2011-01-13T06:57:04.0-03:00&lt;/expirationTime&gt;
9
+ &lt;/header&gt;
10
+ &lt;credentials&gt;
11
+ &lt;token&gt;PD94=&lt;/token&gt;
12
+ &lt;sign&gt;i9xDN=&lt;/sign&gt;
13
+ &lt;/credentials&gt;
14
+ &lt;/loginTicketResponse&gt;
15
+
16
+ </ns1:loginCmsReturn></loginCmsResponse></soapenv:Body></soapenv:Envelope>
@@ -0,0 +1,14 @@
1
+ <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
+ <soap:Body>
3
+ <FEParamGetTiposIvaResponse xmlns="http://ar.gov.afip.dif.FEV1/">
4
+ <FEParamGetTiposIvaResult>
5
+ <Errors>
6
+ <Err>
7
+ <Code>600</Code>
8
+ <Msg>ValidacionDeToken: No validaron las fechas del token GenTime, ExpTime, NowUTC: 1294931263 (1/13/2011 3:07:13 PM), 1294974523 (1/14/2011 3:08:43 AM), 1/14/2011 2:31:22 PM</Msg>
9
+ </Err>
10
+ </Errors>
11
+ </FEParamGetTiposIvaResult>
12
+ </FEParamGetTiposIvaResponse>
13
+ </soap:Body>
14
+ </soap:Envelope>
@@ -0,0 +1,103 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <wsdl:definitions targetNamespace="https://wsaahomo.afip.gov.ar/ws/services/LoginCms" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="https://wsaahomo.afip.gov.ar/ws/services/LoginCms" xmlns:intf="https://wsaahomo.afip.gov.ar/ws/services/LoginCms" xmlns:tns1="http://wsaa.view.sua.dvadac.desein.afip.gov" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3
+ <!--WSDL created by Apache Axis version: 1.4
4
+ Built on Apr 22, 2006 (06:55:48 PDT)-->
5
+ <wsdl:types>
6
+ <schema elementFormDefault="qualified" targetNamespace="http://wsaa.view.sua.dvadac.desein.afip.gov" xmlns="http://www.w3.org/2001/XMLSchema">
7
+ <import namespace="https://wsaahomo.afip.gov.ar/ws/services/LoginCms"/>
8
+ <element name="loginCms">
9
+ <complexType>
10
+ <sequence>
11
+ <element name="in0" type="xsd:string"/>
12
+ </sequence>
13
+ </complexType>
14
+ </element>
15
+ <element name="loginCmsResponse">
16
+ <complexType>
17
+ <sequence>
18
+ <element name="loginCmsReturn" type="xsd:string"/>
19
+ </sequence>
20
+ </complexType>
21
+ </element>
22
+ </schema>
23
+ <schema elementFormDefault="qualified" targetNamespace="https://wsaahomo.afip.gov.ar/ws/services/LoginCms" xmlns="http://www.w3.org/2001/XMLSchema">
24
+ <complexType name="LoginFault">
25
+ <sequence/>
26
+ </complexType>
27
+ <element name="fault" type="impl:LoginFault"/>
28
+ </schema>
29
+ </wsdl:types>
30
+
31
+ <wsdl:message name="loginCmsResponse">
32
+
33
+ <wsdl:part element="tns1:loginCmsResponse" name="parameters"/>
34
+
35
+ </wsdl:message>
36
+
37
+ <wsdl:message name="LoginFault">
38
+
39
+ <wsdl:part element="impl:fault" name="fault"/>
40
+
41
+ </wsdl:message>
42
+
43
+ <wsdl:message name="loginCmsRequest">
44
+
45
+ <wsdl:part element="tns1:loginCms" name="parameters"/>
46
+
47
+ </wsdl:message>
48
+
49
+ <wsdl:portType name="LoginCMS">
50
+
51
+ <wsdl:operation name="loginCms">
52
+
53
+ <wsdl:input message="impl:loginCmsRequest" name="loginCmsRequest"/>
54
+
55
+ <wsdl:output message="impl:loginCmsResponse" name="loginCmsResponse"/>
56
+
57
+ <wsdl:fault message="impl:LoginFault" name="LoginFault"/>
58
+
59
+ </wsdl:operation>
60
+
61
+ </wsdl:portType>
62
+
63
+ <wsdl:binding name="LoginCmsSoapBinding" type="impl:LoginCMS">
64
+
65
+ <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
66
+
67
+ <wsdl:operation name="loginCms">
68
+
69
+ <wsdlsoap:operation soapAction=""/>
70
+
71
+ <wsdl:input name="loginCmsRequest">
72
+
73
+ <wsdlsoap:body use="literal"/>
74
+
75
+ </wsdl:input>
76
+
77
+ <wsdl:output name="loginCmsResponse">
78
+
79
+ <wsdlsoap:body use="literal"/>
80
+
81
+ </wsdl:output>
82
+
83
+ <wsdl:fault name="LoginFault">
84
+
85
+ <wsdlsoap:fault name="LoginFault" use="literal"/>
86
+
87
+ </wsdl:fault>
88
+
89
+ </wsdl:operation>
90
+
91
+ </wsdl:binding>
92
+
93
+ <wsdl:service name="LoginCMSService">
94
+
95
+ <wsdl:port binding="impl:LoginCmsSoapBinding" name="LoginCms">
96
+
97
+ <wsdlsoap:address location="https://wsaahomo.afip.gov.ar/ws/services/LoginCms"/>
98
+
99
+ </wsdl:port>
100
+
101
+ </wsdl:service>
102
+
103
+ </wsdl:definitions>